• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP html_textarea函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中html_textarea函数的典型用法代码示例。如果您正苦于以下问题:PHP html_textarea函数的具体用法?PHP html_textarea怎么用?PHP html_textarea使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了html_textarea函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: testFaqmod

 function testFaqmod()
 {
     global $sess, $t, $bx;
     $db_config = new mock_db_configure(1);
     $d = $this->_generate_records(array('question', 'answer', 'faqid'), 1);
     $db_config->add_query('fubar', 0);
     $db_config->add_record($d[0], 0);
     $db = new DB_SourceAgency();
     $db->query('fubar');
     $db->next_record();
     $bx = $this->_create_default_box();
     $this->capture_call('faqmod', 2356 + strlen($sess->self_url()), array(&$db));
     $this->_checkFor_a_box('Modify a Frequently Asked Question');
     $this->_checkFor_a_form('PHP_SELF');
     $this->_checkFor_columns(2);
     $v = array('Question' => html_textarea('question', 40, 4, 'virtual', 255, $d[0]['question']), 'Answer' => html_textarea('answer', 40, 7, 'virtual', 255, $d[0]['answer']));
     while (list($key, $val) = each($v)) {
         $this->push_msg("Test {$key}");
         $this->_checkFor_column_titles(array($key), 'right', '30%', '', "<b>%s</b> (*): ");
         $this->_checkFor_column_values(array($val));
         $this->pop_msg();
     }
     $this->_testFor_html_form_hidden('modify', 2);
     $this->_testFor_html_form_hidden('faqid', $d[0]['faqid']);
     $this->_testFor_html_form_submit($t->translate('Modify'));
     $this->_check_db($db_config);
 }
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:27,代码来源:TestFaqlib.php


示例2: displayEditor

    public function displayEditor($field_id, $content = '')
    {
        $lang = cmsConfig::get('language');
        $user = cmsUser::getInstance();
        cmsTemplate::getInstance()->addJS('wysiwyg/tinymce/tinymce.min.js');
        $dom_id = str_replace(array('[', ']'), array('_', ''), $field_id);
        echo html_textarea($field_id, $content, array('id' => $dom_id));
        ?>
<script type="text/javascript" >
$(document).ready(function(){
 	tinymce.init({mode : "exact", 
	              elements : "<?php 
        echo $field_id;
        ?>
",
				  language : "ru",
				 plugins: [
         "link image lists media responsivefilemanager "
   ],
    relative_urls: false,
   
    filemanager_title:"Responsive Filemanager",
    external_filemanager_path:"/filemanager/",
    external_plugins: { "filemanager" : "/filemanager/plugin.min.js"},
    
				  image_advtab: true,
   toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
   toolbar2: "| responsivefilemanager | image | media | link unlink anchor | "
	   			  
				  });
				  });
</script>
<?php 
    }
开发者ID:comaw,项目名称:hashtag,代码行数:34,代码来源:wysiwyg.class.php


示例3: testSponsoring_form

 function testSponsoring_form()
 {
     global $sponsoring_text, $budget, $valid_day, $valid_month, $valid_year, $begin_day, $begin_month, $begin_year, $finish_day, $finish_month, $finish_year, $sess, $bx, $t;
     $sponsoring_text = "this is the sponsoring text";
     $budget = "this is the budget";
     $valid_day = 3;
     $begin_day = 4;
     $finish_day = 5;
     $valid_month = 4;
     $begin_month = 5;
     $finish_month = 6;
     $valid_year = 2001;
     $begin_year = 2002;
     $finish_year = 2003;
     $proid = 'proid';
     $bx = $this->_create_default_box();
     $this->capture_call('sponsoring_form', 8389 + strlen($sess->self_url()), array(&$proid));
     $this->set_msg('test 1');
     $this->_checkFor_a_box('Sponsoring involvement');
     $this->_checkFor_a_form('PHP_SELF', array('proid' => $proid));
     $this->_checkFor_columns(2);
     $this->_checkFor_column_titles(array("Valid until", "Begin", "Finish", "Budget (in euro)", "Sponsoring Comment"));
     foreach (array(select_date('valid', $valid_day, $valid_month, $valid_year), select_date('begin', $begin_day, $begin_month, $begin_year), select_date('finish', $finish_day, $finish_month, $finish_year), html_input_text('budget', 12, 12, $budget), html_textarea('sponsoring_text', 40, 7, 'virtual', 255, $sponsoring_text), html_form_submit($t->translate('Preview'), 'preview') . html_form_submit($t->translate('Submit'), 'submit')) as $val) {
         $this->_testFor_box_column('left', '70%', '', $val);
     }
 }
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:26,代码来源:TestSponsoringlib.php


示例4: displayEditor

    public function displayEditor($field_id, $content = '')
    {
        $lang = cmsConfig::get('language');
        $user = cmsUser::getInstance();
        cmsTemplate::getInstance()->addCSS('wysiwyg/ckeditor/samples/sample.css');
        cmsTemplate::getInstance()->addJS('wysiwyg/ckeditor/ckeditor.js');
        $dom_id = str_replace(array('[', ']'), array('_', ''), $field_id);
        echo html_textarea($field_id, $content, array('id' => $dom_id));
        ?>
<script type="text/javascript" >

            <?php 
        if ($user->is_admin) {
            ?>

            $(document).ready(function(){
                CKEDITOR.replace('<?php 
            echo $dom_id;
            ?>
',{
                });
            });

            <?php 
        }
        ?>
        </script>
    <?php 
    }
开发者ID:vityapro,项目名称:cms,代码行数:29,代码来源:ckeditor.wysiwyg.class.php


示例5: displayEditor

    public function displayEditor($field_id, $content = '')
    {
        $lang = cmsConfig::get('language');
        $user = cmsUser::getInstance();
        $template = cmsTemplate::getInstance();
        $template->addCSSFromContext('wysiwyg/redactor/css/redactor.css');
        $template->addJSFromContext('wysiwyg/redactor/js/redactor.js');
        $template->addJSFromContext('wysiwyg/redactor/js/video.js');
        $template->addJSFromContext('wysiwyg/redactor/js/fullscreen.js');
        $template->addJSFromContext('wysiwyg/redactor/js/fontsize.js');
        $template->addJSFromContext('wysiwyg/redactor/js/fontfamily.js');
        $template->addJSFromContext('wysiwyg/redactor/js/fontcolor.js');
        $template->addJSFromContext("wysiwyg/redactor/lang/{$lang}.js");
        $dom_id = str_replace(array('[', ']'), array('_', ''), $field_id);
        echo html_textarea($field_id, $content, array('id' => $dom_id));
        ?>

            <script type="text/javascript">
                $(document).ready(function(){
                    $('#<?php 
        echo $dom_id;
        ?>
').redactor({
                        lang: '<?php 
        echo $lang;
        ?>
',
                        plugins: ['video', 'fontfamily', 'fontsize', 'fontcolor', 'fullscreen'],
                        imageUpload: '<?php 
        echo href_to('redactor/upload');
        ?>
',
						minHeight: 250,
						<?php 
        if ($user->is_admin) {
            ?>
                            buttonSource: true
						<?php 
        }
        ?>
                    });
                });
            </script>

        <?php 
    }
开发者ID:roman-burachenko,项目名称:icms2,代码行数:46,代码来源:wysiwyg.class.php


示例6: testNews_modify_form

 function testNews_modify_form()
 {
     global $text, $subject, $creation, $sess, $bx, $t;
     $text = "this is the text";
     $subject = "this is the subject";
     $creation = "asdasd";
     $proid = 'proid';
     $bx = $this->_create_default_box();
     capture_reset_and_start();
     news_modify_form($proid);
     $this->set_text(capture_stop_and_get());
     $this->_checkFor_a_box('Modifying News');
     $this->_checkFor_a_form('PHP_SELF', array('proid' => $proid));
     $this->_testFor_html_form_hidden('creation', $creation);
     $this->_checkFor_columns(2);
     $this->_checkFor_column_titles(array('Subject', 'Body'));
     $this->_checkFor_column_values(array(html_textarea('text', 40, 7, 'virtual', 255, $text), html_input_text('subject', 40, 128, $subject)));
     $this->_checkFor_submit_preview_buttons();
     $this->_testFor_string_length(2366 + strlen($sess->self_url()));
 }
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:20,代码来源:TestNewslib.php


示例7: view_customer

 private function view_customer()
 {
     $id = $_GET['id'];
     if ($_POST) {
         $update = $this->customer->update_blocked_status_customer($id);
         if ($update) {
             redirect($this->base_link);
         } else {
             parent::alert('error', 'Gagal !', 'Gagal merubah status pelanggan !');
         }
     }
     $customer = $this->customer->get_customer('', $id);
     $detail = $this->customer->get_customer('detail', $id);
     if ($customer['blocked'] == 'N') {
         $status = $this->radio_config('blocked', 'checked', '');
     } else {
         $status = $this->radio_config('blocked', '', 'checked');
     }
     $customer_data = array(array('label' => '<img src="' . $this->img_dir . 'no_image.jpg" />', 'input' => ''), array('label' => 'Tgl registrasi', 'input' => html_input('text', array('value="' . $customer['reg_date'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Nama lengkap', 'input' => html_input('text', array('value="' . $detail['fullname'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Status', 'input' => $status), array('label' => 'Jenis kelamin', 'input' => html_input('text', array('value="' . $detail['sex'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Alamat', 'input' => html_textarea(array('class="span6"', 'disabled'), $detail['address'])), array('label' => 'Provinsi', 'input' => html_input('text', array('value="' . $detail['state'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Kota', 'input' => html_input('text', array('value="' . $detail['city'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Kode pos', 'input' => html_input('text', array('value="' . $detail['postal_code'] . '"', 'class="span3"', 'disabled'))), array('label' => 'No.Telp', 'input' => html_input('text', array('value="' . $detail['phone_number'] . '"', 'class="span3"', 'disabled'))), array('label' => 'Email', 'input' => html_input('text', array('value="' . $detail['email'] . '"', 'class="span3"', 'disabled'))));
     $button = array(html_input('submit', array('value="Simpan"', 'class="btn btn-success"')), html_input('button', array('value="Kirim Pesan"', 'onClick="window.location.go(-1)"', 'class="btn btn-success"')));
     parent::form_config('', '', $customer_data, 'Data pelanggan', $button);
 }
开发者ID:asmari,项目名称:zcosp,代码行数:22,代码来源:admin.php


示例8: testDoco_mod

 function testDoco_mod()
 {
     global $sess, $t, $bx;
     $d = $this->_generate_records(array('page', 'header', 'doco', 'docoid'), 1);
     $db_config = new mock_db_configure(1);
     $db_config->add_query('fubar', 0);
     $db_config->add_record($d[0], 0);
     $db = new DB_SourceAgency();
     $db->query('fubar');
     $db->next_record();
     $bx = $this->_create_default_box();
     $this->capture_call('doco_mod', 2811 + strlen($sess->self_url()), array(&$db));
     $v = array('Page (without extension)' => html_input_text('page', 40, 64, $d[0]['page']), 'Header' => html_input_text('header', 40, 64, $d[0]['header']), 'doco' => html_textarea('doco', 40, 7, 'virtual', 255, $d[0]['doco']));
     while (list($key, $val) = each($v)) {
         $this->push_msg("Test {$key}");
         $this->_checkFor_column_titles(array($key));
         $this->_checkFor_column_values(array($val));
         $this->pop_msg();
     }
     $this->_testFor_html_form_hidden('docoid', $d[0]['docoid']);
     $this->_testFor_html_form_hidden('modify', 2);
     $this->_testFor_html_form_submit($t->translate('Modify'));
     $this->_check_db($db_config);
 }
开发者ID:BackupTheBerlios,项目名称:sourceagency,代码行数:24,代码来源:TestDocolib.php


示例9: html_separator

	<?php 
html_separator();
?>
	<?php 
html_titleline(gettext("Advanced settings"));
?>
	<?php 
html_checkbox("alertemail", gettext("Alert email"), isset($pconfig['alertemail']) ? true : false, gettext("Send email if error"));
?>
				
	<?php 
html_inputbox("alertemailto", gettext("Email to"), $pconfig['alertemailto'], gettext("Where email alert will be send."), true, 40);
?>
					
	<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("These parameters are added to %s."), "hast.conf") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-hast.html"), false, 65, 5, false, false);
?>
	</table>
	<div id="submit">
	  <input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save and Restart");
?>
" />
	</div>
	<div id="remarks">
	  <?php 
html_remark("note", gettext("Note"), sprintf("<div id='enumeration'><ul><li>%s</li><li>%s</li><li>%s</li></ul></div>", gettext("When HAST is enabled, the local devices, the local services and the additional packages which do not support HAST volume cannot be used."), gettext("The HAST volumes can not be accessed until HAST node becomes Primary."), gettext("Dynamic IP (DHCP) can not be used for HAST resources.")));
?>
	</div>
	<?php 
include "formend.inc";
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_hast.php


示例10: html_textarea

<?php

if ($field->title) {
    ?>
<label for="<?php 
    echo $field->id;
    ?>
"><?php 
    echo $field->title;
    ?>
</label><?php 
}
echo html_textarea($field->element_name, $value, array('rows' => $field->getOption('size'), 'id' => $field->id, 'required' => array_search(array('required'), $field->getRules()) !== false));
if ($field->getOption('show_symbol_count')) {
    ?>
<script type="text/javascript">
$(function(){
    icms.forms.initSymbolCount('<?php 
    echo $field->id;
    ?>
', <?php 
    echo $field->getOption('max_length') ? (int) $field->getOption('max_length') : 0;
    ?>
, <?php 
    echo $field->getOption('min_length') ? (int) $field->getOption('min_length') : 0;
    ?>
);
});
</script>
<?php 
}
开发者ID:Val-Git,项目名称:icms2,代码行数:31,代码来源:text.tpl.php


示例11: gettext

?>
 />
			        <?php 
echo gettext("Enable compression.");
?>
<br />
			        <span class="vexpl"><?php 
echo gettext("Compression is worth using if your connection is slow. The efficiency of the compression depends on the type of the file, and varies widely. Useful for internet transfer only.");
?>
</span></td>
			    </tr>
					<?php 
html_textarea("key", gettext("Private Key"), $pconfig['key'], gettext("Paste a DSA PRIVATE KEY in PEM format here."), false, 65, 7, false, false);
?>
			    <?php 
html_textarea("auxparam", gettext("Extra options"), $pconfig['auxparam'], gettext("Extra options to /etc/ssh/sshd_config (usually empty). Note, incorrect entered options prevent SSH service to be started.") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://www.freebsd.org/cgi/man.cgi?query=sshd_config&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+{$os_release}-RELEASE&amp;format=html"), false, 65, 5, false, false);
?>
			  </table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
				</div>
			</td>
		</tr>
	</table>
	<?php 
include "formend.inc";
?>
</form>
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_sshd.php


示例12: gettext

			      <td width="22%" valign="top" class="vncell"><?php 
echo gettext("Volume Size Limit");
?>
</td>
			      <td width="78%" class="vtable">
			        <input name='volsizelimit' type='text' class='formfld' id='volsizelimit' size='10' value="<?php 
echo htmlspecialchars($pconfig['volsizelimit']);
?>
" /> <?php 
echo gettext("MiB");
?>
			      </td>
			    </tr>
				<tr>
					<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("add any supplemental parameters")) . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://netatalk.sourceforge.net/3.1/htmldocs/afp.conf.5.html"), false, 65, 5, false, false);
?>
                                        </tr>
			  </table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo isset($uuid) && FALSE !== $cnid ? gettext("Save") : gettext("Add");
?>
" />
					<input name="Cancel" type="submit" class="formbtn" value="<?php 
echo gettext("Cancel");
?>
" />
					<input name="uuid" type="hidden" value="<?php 
echo $pconfig['uuid'];
?>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_afp_share_edit.php


示例13: html_combobox

						</td>
					</tr>
				<?php 
html_combobox("type", gettext("Type"), $pconfig['type'], $type, '', true, false, 'toggle_type($(this).val())');
?>
				<?php 
html_inputbox("ldaphostname", gettext("URI"), $pconfig['ldaphostname'], gettext("The space-separated list of URIs for the LDAP server."), true, 60);
?>
				<?php 
html_inputbox("ldapbase", gettext("Base DN"), $pconfig['ldapbase'], sprintf(gettext("The default base distinguished name (DN) to use for searches, e.g. %s"), "dc=test,dc=org"), true, 40);
?>
				<?php 
html_textarea("ldapauxparam", gettext("Ldap auxiliary parameters"), $pconfig['ldapauxparam'], sprintf(gettext("These parameters are added to %s."), "ldap.conf"), false, 65, 5, false, false);
?>
				<?php 
html_textarea("sssdauxparam", gettext("Sss auxiliary parameters"), $pconfig['sssdauxparam'], sprintf(gettext("These parameters are added to %s."), "sssd.conf"), false, 65, 5, false, false);
?>
				<?php 
html_checkbox("sssclearcache", gettext("Clear sss cache"), !empty($pconfig['sssclearcache']) ? true : false, gettext("Clear sss cache on each restart"));
?>
				</table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save");
?>
" onclick="enable_change(true)" />
				</div>
			</td>
		</tr>
	</table>
	<?php 
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:access_kerberos.php


示例14: gettext

?>
" /></a>
									</td>
								</tr>
							</table>
							<span class="vexpl"><?php 
echo gettext("Define directories/URL's that require authentication.");
?>
</span>
						</td>
					</tr>
					<?php 
html_checkbox("dirlisting", gettext("Directory listing"), !empty($pconfig['dirlisting']) ? true : false, gettext("Enable directory listing."), gettext("A directory listing is generated if a directory is requested and no index-file (index.php, index.html, index.htm or default.htm) was found in that directory."), false);
?>
					<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), !empty($pconfig['auxparam']) ? $pconfig['auxparam'] : "", sprintf(gettext("These parameters will be added to %s."), "websrv.conf") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://redmine.lighttpd.net/projects/lighttpd/wiki"), false, 85, 7, false, false);
?>
			  </table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
				</div>
				<?php 
include "formend.inc";
?>
			</form>
		</td>
	</tr>
</table>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_websrv.php


示例15: html_text

?>

<h3>Company Details</h3>
<?php 
html_text("Company Name", "co_name", $_POST['co_name']);
if (!isset($_POST['custid'])) {
    $_POST['custid'] = $_GET['custid'];
}
customer_select("Or", "custid", $_POST['custid']);
if (!isset($_POST['suppid'])) {
    $_POST['suppid'] = $_GET['suppid'];
}
supplier_select("Or", "suppid", $_POST['suppid']);
html_text("Role", "role", $_POST['role']);
include "/srv/athenace/lib/shared/adds.add.form.php";
html_textarea("Notes", "notes", $_POST['notes'], "body");
?>

	</fieldset>

	<fieldset class="buttons">

		<?php 
html_button("Save changes");
?>

		or <a href="/contacts/" class="cancel" title="Cancel">Cancel</a>

	</fieldset>

</form>
开发者ID:athenasystems,项目名称:athena,代码行数:31,代码来源:add.php


示例16: html_inputbox

html_inputbox("username", gettext("Username"), $pconfig['username'], "", true, 20);
?>
					<?php 
html_passwordbox("password", gettext("Password"), $pconfig['password'], "", true, 20);
?>
					<?php 
html_inputbox("updateperiod", gettext("Update period"), $pconfig['updateperiod'], gettext("How often the IP is checked. The period is in seconds (max. is 10 days)."), false, 20);
?>
					<?php 
html_inputbox("forcedupdateperiod", gettext("Forced update period"), $pconfig['forcedupdateperiod'], gettext("How often the IP is updated even if it is not changed. The period is in seconds (max. is 10 days)."), false, 20);
?>
					<?php 
html_checkbox("wildcard", gettext("Wildcard"), !empty($pconfig['wildcard']) ? true : false, gettext("Enable domain wildcarding."), "", false);
?>
					<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), !empty($pconfig['auxparam']) ? $pconfig['auxparam'] : "", sprintf(gettext("These parameters will be added to global settings in %s."), "inadyn.conf"), false, 65, 3, false, false);
?>
			  </table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
				</div>
			</td>
		</tr>
	</table>
	<?php 
include "formend.inc";
?>
</form>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_dynamicdns.php


示例17: html_inputbox

html_inputbox("read", gettext("Community"), $pconfig['read'], gettext("In most cases, 'public' is used here."), true, 40);
?>
					<?php 
html_checkbox("trapenable", gettext("Traps"), $pconfig['trapenable'] ? true : false, gettext("Enable traps."), "", false, "trapenable_change()");
?>
					<?php 
html_inputbox("traphost", gettext("Trap host"), $pconfig['traphost'], gettext("Enter trap host name."), true, 40);
?>
					<?php 
html_inputbox("trapport", gettext("Trap port"), $pconfig['trapport'], gettext("Enter the port to send the traps to (default 162)."), true, 5);
?>
					<?php 
html_inputbox("trap", gettext("Trap string"), $pconfig['trap'], gettext("Trap string."), true, 40);
?>
					<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("These parameters will be added to %s."), "snmpd.config") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://www.freebsd.org/cgi/man.cgi?query=bsnmpd&amp;apropos=0&amp;sektion=0&amp;manpath=FreeBSD+{$os_release}-RELEASE&amp;format=html"), false, 65, 5, false, false);
?>
					<?php 
html_separator();
?>
					<?php 
html_titleline(gettext("Modules"));
?>
					<tr>
						<td width="22%" valign="top" class="vncell"><?php 
echo gettext("SNMP Modules");
?>
</td>
						<td width="78%" class="vtable">
							<input name="mibii" type="checkbox" id="mibii" value="yes" <?php 
if ($pconfig['mibii']) {
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_snmp.php


示例18: print_input_errors

	      </ul>
	    </td>
	  </tr>
	  <tr>
	    <td class="tabcont">
				<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
				<?php 
html_inputbox("tag", gettext("Tag number"), $pconfig['tag'], gettext("Numeric identifier of the group."), true, 10, isset($uuid) && FALSE !== $cnid);
?>
				<?php 
html_textarea("portals", gettext("Portals"), $pconfig['portals'], gettext("The portal takes the form of 'address:port'. for example '192.168.1.1:3260' for IPv4, '[2001:db8:1:1::1]:3260' for IPv6. the port 3260 is standard iSCSI port number. For any IPs (wildcard address), use '0.0.0.0:3260' and/or '[::]:3260'. Do not mix wildcard and other IPs at same address family."), true, 65, 7, false, false);
?>
				<?php 
html_inputbox("comment", gettext("Comment"), $pconfig['comment'], gettext("You may enter a description here for your reference."), false, 40);
?>
				</table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo isset($uuid) && FALSE !== $cnid ? gettext("Save") : gettext("Add");
?>
" />
					<input name="Cancel" type="submit" class="formbtn" value="<?php 
echo gettext("Cancel");
?>
" />
					<input name="uuid" type="hidden" value="<?php 
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_iscsitarget_pg_edit.php


示例19: html_combobox

html_combobox("pam_password", gettext("Password encryption"), $pconfig['pam_password'], array("clear" => "clear", "crypt" => "crypt", "md5" => "md5", "nds" => "nds", "racf" => "racf", "ad" => "ad", "exop" => "exop"), gettext("The password encryption protocol to use."), true);
?>
					<?php 
html_inputbox("user_suffix", gettext("User suffix"), $pconfig['user_suffix'], sprintf(gettext("This parameter specifies the suffix that is used for users when these are added to the LDAP directory, e.g. %s"), "ou=Users"), true, 20);
?>
					<?php 
html_inputbox("group_suffix", gettext("Group suffix"), $pconfig['group_suffix'], sprintf(gettext("This parameter specifies the suffix that is used for groups when these are added to the LDAP directory, e.g. %s"), "ou=Groups"), true, 20);
?>
					<?php 
html_inputbox("password_suffix", gettext("Password suffix"), $pconfig['password_suffix'], sprintf(gettext("This parameter specifies the suffix that is used for passwords when these are added to the LDAP directory, e.g. %s"), "ou=Users"), true, 20);
?>
					<?php 
html_inputbox("machine_suffix", gettext("Machine suffix"), $pconfig['machine_suffix'], sprintf(gettext("This parameter specifies the suffix that is used for machines when these are added to the LDAP directory, e.g. %s"), "ou=Computers"), true, 20);
?>
					<?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("These parameters are added to %s."), "ldap.conf"), false, 65, 5, false, false);
?>
				</table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save");
?>
" onclick="enable_change(true)" />
				</div>
			</td>
		</tr>
	</table>
	<?php 
include "formend.inc";
?>
</form>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:access_ldap.php


示例20: gettext

echo gettext("Hosts deny");
?>
</td>
			      <td width="78%" class="vtable">
			        <input name="hostsdeny" type="text" class="formfld" id="hostsdeny" size="60" value="<?php 
echo htmlspecialchars($pconfig['hostsdeny']);
?>
" /><br />
			        <span class="vexpl"><?php 
echo gettext("This option is a comma, space, or tab delimited set of host which are NOT permitted to access this share. Where the lists conflict, the allow list takes precedence. In the event that it is necessary to deny all by default, use the keyword ALL (or the netmask 0.0.0.0/0) and then explicitly specify to the hosts allow parameter those hosts that should be permitted access. Leave this field empty to use default settings.");
?>
</span>
			      </td>
			    </tr>
			    <?php 
html_textarea("auxparam", gettext("Auxiliary parameters"), !empty($pconfig['auxparam']) ? $pconfig['auxparam'] : "", sprintf(gettext("These parameters are added to [Share] section of %s."), "smb.conf") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html"), false, 65, 5, false, false);
?>
			  </table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo isset($uuid) && FALSE !== $cnid ? gettext("Save") : gettext("Add");
?>
" />
					<input name="Cancel" type="submit" class="formbtn" value="<?php 
echo gettext("Cancel");
?>
" />
					<input name="uuid" type="hidden" value="<?php 
echo $pconfig['uuid'];
?>
" />
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_samba_share_edit.php



注:本文中的html_textarea函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP html_textarea_field函数代码示例发布时间:2022-05-15
下一篇:
PHP html_text函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap