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

PHP html_titleline_checkbox函数代码示例

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

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



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

示例1: gettext

}
?>
									</td>
						    </tr>
							</table>
							<span class="vexpl"><?php 
echo gettext("Add additional scheduled self-test.");
?>
</span>
						</td>
					</tr>
					<?php 
html_separator();
?>
					<?php 
html_titleline_checkbox("email_enable", gettext("Email report"), !empty($pconfig['email_enable']) ? true : false, gettext("Activate"), "enable_change(this)");
?>
					<?php 
html_inputbox("email_to", gettext("To email"), !empty($pconfig['email_to']) ? $pconfig['email_to'] : "", sprintf("%s %s", gettext("Destination email address."), gettext("Separate email addresses by semi-colon.")), true, 40);
?>
					<?php 
html_checkbox("email_testemail", gettext("Test email"), !empty($pconfig['email_testemail']) ? true : false, gettext("Send a TEST warning email on startup."));
?>
				</table>
				<div id="submit">
					<input name="Submit" type="submit" class="formbtn" value="<?php 
echo gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
				</div>
				<div id="remarks">
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_manage_smart.php


示例2: print_input_errors

	<tr>
		<td class="tabcont">
			<form action="services_nfs.php" method="post" name="iform" id="iform">
				<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
				<?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Network File System"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_inputbox("numproc", gettext("Number of servers"), $pconfig['numproc'], gettext("Specifies how many servers to create.") . " " . gettext("There should be enough to handle the maximum level of concurrency from its clients, typically four to six."), false, 2);
?>
					<?php 
html_checkbox("v4enable", gettext("NFSv4"), !empty($pconfig['v4enable']) ? true : false, gettext("Enable NFSv4 server."), "", 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 
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_nfs.php


示例3: print_input_errors

    print_input_errors($input_errors);
}
?>
				<?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
				<?php 
if (updatenotify_exists("websrvauth")) {
    print_config_change_box();
}
?>
			  <table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Webserver"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_combobox("protocol", gettext("Protocol"), $pconfig['protocol'], array("http" => "HTTP", "https" => "HTTPS"), "", true, false, "protocol_change()");
?>
					<?php 
html_inputbox("port", gettext("Port"), $pconfig['port'], gettext("TCP port to bind the server to."), true, 5);
?>
					<?php 
html_combobox("runasuser", gettext("Run as"), $pconfig['runasuser'], array("server.username = \"www\"" => "www", "" => "root"), gettext("Set what user the service will run as (www by default). <br><b><font color='red'>NOTE</font>: Running as root is <u>not recommended</u> for security reasons, use it on your own risk!</b></br>"), true);
?>
	
					<?php 
html_textarea("certificate", gettext("Certificate"), $pconfig['certificate'], gettext("Paste a signed certificate in X.509 PEM format here."), true, 76, 7, false, false);
?>
					<?php 
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_websrv.php


示例4: print_error_box

    print_error_box($errormsg);
}
?>
	<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
	<?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
	<table width="100%" border="0" cellpadding="6" cellspacing="0">
	<?php 
html_titleline_checkbox("enable", gettext("HAST (Highly Available Storage)"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "");
?>
	<?php 
echo html_text("nodeid", gettext("Node ID"), htmlspecialchars($nodeid));
?>
	<?php 
echo html_text("nodename", gettext("Node Name"), htmlspecialchars($nodename));
?>
	<?php 
$a_vipaddrs = array();
foreach ($a_carp as $carp) {
    $ifinfo = get_carp_info($carp['if']);
    //$a_vipaddrs[] = $carp['vipaddr']." ({$ifinfo['state']},{$ifinfo['advskew']})";
    $a_vipaddrs[] = $carp['vipaddr'] . " ({$ifinfo['state']})";
}
?>
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_hast.php


示例5: print_input_errors

	<tr>
		<td class="tabcont">
			<form action="services_tftp.php" method="post" name="iform" id="iform">
				<?php 
if ($input_errors) {
    print_input_errors($input_errors);
}
?>
				<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Trivial File Transfer Protocol"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_filechooser("dir", gettext("Directory"), $pconfig['dir'], gettext("The directory containing the files you want to publish. The remote host does not need to pass along the directory as part of the transfer."), $g['media_path'], true, 60);
?>
					<?php 
html_checkbox("allowfilecreation", gettext("Allow new files"), $pconfig['allowfilecreation'] ? true : false, gettext("Allow new files to be created."), gettext("By default, only already existing files can be uploaded."), false);
?>
					<?php 
html_separator();
?>
					<?php 
html_titleline(gettext("Advanced settings"));
?>
					<?php 
html_inputbox("port", gettext("Port"), $pconfig['port'], gettext("The port to listen to. The default is to listen to the tftp port specified in /etc/services."), false, 5);
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_tftp.php


示例6: html_inputbox

html_inputbox("maxconnections", gettext("Max. connections"), $pconfig['maxconnections'], sprintf(gettext("Maximum number of connections in each session (%d by default)."), 8), true, 30, false);
?>
		      <?php 
html_inputbox("firstburstlength", gettext("FirstBurstLength"), $pconfig['firstburstlength'], sprintf(gettext("iSCSI initial parameter (%d by default)."), 65536), true, 30, false);
?>
		      <?php 
html_inputbox("maxburstlength", gettext("MaxBurstLength"), $pconfig['maxburstlength'], sprintf(gettext("iSCSI initial parameter (%d by default)."), 262144), true, 30, false);
?>
		      <?php 
html_inputbox("maxrecvdatasegmentlength", gettext("MaxRecvDataSegmentLength"), $pconfig['maxrecvdatasegmentlength'], sprintf(gettext("iSCSI initial parameter (%d by default)."), 262144), true, 30, false);
?>
		      <?php 
html_separator();
?>
		      <?php 
html_titleline_checkbox("uctlenable", gettext("iSCSI Target Logical Unit Controller"), $pconfig['uctlenable'] ? true : false, gettext("Enable"), "uctlenable_change(false)");
?>
		      <?php 
html_inputbox("uctladdress", gettext("Controller IP address"), $pconfig['uctladdress'], sprintf(gettext("Logical Unit Controller IP address (%s by default)"), "127.0.0.1(localhost)"), true, 30, false);
?>
		      <?php 
html_inputbox("uctlport", gettext("Controller TCP Port"), $pconfig['uctlport'], sprintf(gettext("Logical Unit Controller TCP port (%d by default)"), 3261), true, 15, false);
?>
		      <?php 
html_inputbox("uctlnetmask", gettext("Controller Authorised network"), $pconfig['uctlnetmask'], sprintf(gettext("Logical Unit Controller Authorised network (%s by default)"), "127.0.0.1/8"), true, 30, false);
?>
		      <?php 
html_combobox("uctlauthmethod", gettext("Controller Auth Method"), $pconfig['uctlauthmethod'], array("CHAP" => gettext("CHAP"), "CHAP mutual" => gettext("Mutual CHAP")), gettext("The method can be accepted in the controller."), true);
?>
		      <?php 
$ag_list = array();
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_iscsitarget.php


示例7: print_input_errors

	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
	    <td class="tabcont">
	    	<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
				<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Active Directory"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
			    <tr>
			      <td width="22%" valign="top" class="vncellreq"><?php 
echo gettext("Domain controller name");
?>
</td>
			      <td width="78%" class="vtable">
			        <input name="domaincontrollername" type="text" class="formfld" id="domaincontrollername" size="20" value="<?php 
echo htmlspecialchars($pconfig['domaincontrollername']);
?>
" />
			      	<br /><span class="vexpl"><?php 
echo gettext("AD or PDC name.");
?>
</span>
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:access_ad.php


示例8: tblrow

            tblrow('[' . $i . '] Apparent power (VA)', $ups['outlet.' . $i . '.power'], 'VA');
        }
        html_separator();
        html_titleline(gettext('NUT Internal Driver Information'));
        tblrow(gettext('Driver used'), $ups['driver.name']);
        tblrow(gettext('Driver version'), $ups['driver.version']);
        tblrow(gettext('Driver version internal'), $ups['driver.version.internal']);
        tblrow(gettext('Parameter xxx (ups.conf or cmdline -x) setting'), $ups['driver.parameter.xxx']);
        tblrow(gettext('Flag xxx (ups.conf or cmdline -x) status'), $ups['driver.flag.xxx']);
        html_separator();
        html_titleline(gettext('Internal Server Information'));
        tblrow(gettext('Server information'), $ups['server.info']);
        tblrow(gettext('Server version'), $ups['server.version']);
        html_separator();
        html_separator();
        html_titleline_checkbox('raw_upsc_enable', 'NUT', $upsc_enable ? true : false, gettext('Show RAW UPS Info'), 'upsc_enable_change()');
        tblrow('RAW info', htmlspecialchars($read), 'pre', 'upsc_raw_command');
        unset($handle);
        unset($read);
        unset($lines);
        unset($status);
        unset($disp_status);
        unset($ups);
    }
    unset($cmd);
    ?>
			  <?php 
}
?>
    	<!-- </table> -->
		<?php 
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:diag_infos_ups.php


示例9: print_input_errors

	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td class="tabcont">
				<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
				<?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", sprintf("%s (%s)", gettext("Lightweight Directory Access Protocol"), gettext("Client")), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_inputbox("hostname", gettext("URI"), $pconfig['hostname'], gettext("The space-separated list of URIs for the LDAP server."), true, 60);
?>
					<?php 
html_inputbox("base", gettext("Base DN"), $pconfig['base'], sprintf(gettext("The default base distinguished name (DN) to use for searches, e.g. %s"), "dc=test,dc=org"), true, 40);
?>
					<?php 
html_checkbox("anonymousbind", gettext("Anonymous bind"), !empty($pconfig['anonymousbind']) ? true : false, gettext("Enable anonymous bind."), "", true, "anonymousbind_change()");
?>
					<?php 
html_inputbox("binddn", gettext("Bind DN"), $pconfig['binddn'], sprintf(gettext("The distinguished name to bind to the directory server, e.g. %s"), "cn=admin,dc=test,dc=org"), true, 40);
?>
					<?php 
html_passwordconfbox("bindpw", "bindpw2", gettext("Bind password"), $pconfig['bindpw'], $pconfig['bindpw2'], gettext("The cleartext credentials with which to bind."), true);
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:access_ldap.php


示例10: html_inputbox

html_inputbox("http_port", gettext("Port"), $pconfig['http_port'], "", true, 10);
?>
					<?php 
html_checkbox("http_auth", gettext("Authentication"), !empty($pconfig['http_auth']) ? true : false, gettext("Enable proxy authentication."), "", false, "proxy_auth_change()");
?>
          <?php 
html_inputbox("http_username", gettext("User"), $pconfig['http_username'], "", true, 20);
?>
			    <?php 
html_inputbox("http_password", gettext("Password"), $pconfig['http_password'], "", true, 20);
?>
					<?php 
html_separator();
?>
					<?php 
html_titleline_checkbox("ftp_enable", gettext("FTP Proxy"), !empty($pconfig['ftp_enable']) ? true : false, gettext("Enable"), "enable_change(this)");
?>
          <?php 
html_inputbox("ftp_address", gettext("Address"), $pconfig['ftp_address'], "", true, 40);
?>
          <?php 
html_inputbox("ftp_port", gettext("Port"), $pconfig['ftp_port'], "", true, 10);
?>
          <?php 
html_checkbox("ftp_auth", gettext("Authentication"), !empty($pconfig['ftp_auth']) ? true : false, gettext("Enable proxy authentication."), "", false, "proxy_auth_change()");
?>
          <?php 
html_inputbox("ftp_username", gettext("User"), $pconfig['ftp_username'], "", true, 20);
?>
			    <?php 
html_inputbox("ftp_password", gettext("Password"), $pconfig['ftp_password'], "", true, 20);
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_proxy.php


示例11: print_input_errors

  <tr>
    <td class="tabcont">
      <form action="services_samba.php" method="post" name="iform" id="iform">
				<?php 
if ($input_errors) {
    print_input_errors($input_errors);
}
?>
				<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Common Internet File System"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_combobox("security", gettext("Authentication"), $pconfig['security'], array("share" => gettext("Anonymous"), "user" => gettext("Local User"), "domain" => gettext("Domain")), "", true, false, "authentication_change()");
?>
          <tr>
            <td width="22%" valign="top" class="vncellreq"><?php 
echo gettext("NetBIOS name");
?>
</td>
            <td width="78%" class="vtable">
              <input name="netbiosname" type="text" class="formfld" id="netbiosname" size="30" value="<?php 
echo htmlspecialchars($pconfig['netbiosname']);
?>
" />
            </td>
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_samba.php


示例12: print_input_errors

    print_input_errors($input_errors);
}
?>
				<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
				<?php 
if (!isset($config['system']['zeroconf'])) {
    print_error_box(sprintf(gettext("You have to activate <a href='%s'>Zeroconf/Bonjour</a> to advertise this service to clients."), "system_advanced.php"));
}
?>
				<table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Digital Audio Access Protocol"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<?php 
html_inputbox("servername", gettext("Server name"), $pconfig['servername'], gettext("This is both the name of the server as advertised via Zeroconf/Bonjour/Rendezvous, and the name of the database exported via DAAP."), true, 20);
?>
					<?php 
html_inputbox("port", gettext("Port"), $pconfig['port'], gettext("Port to listen on. Default iTunes port is 3689."), true, 5);
?>
					<?php 
html_filechooser("dbdir", gettext("Database directory"), $pconfig['dbdir'], gettext("Location where the content database file will be stored."), $g['media_path'], true, 60);
?>
					<?php 
html_folderbox("content", gettext("Content"), $pconfig['content'], gettext("Location of the files to share."), $g['media_path'], true);
?>
					<?php 
html_inputbox("rescaninterval", gettext("Rescan interval"), $pconfig['rescaninterval'], gettext("Scan file system every N seconds to see if any files have been added or removed. Set to 0 to disable background scanning. If background rescanning is disabled, a scan can still be forced from the status page of the administrative web interface."), false, 5);
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_daap.php


示例13: print_info_box

}
?>
			<?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
			<?php 
if (updatenotify_exists("vm")) {
    print_config_change_box();
}
?>
			<table width="100%" border="0" cellpadding="6" cellspacing="0">
			
				<?php 
html_titleline_checkbox("enable", "Bhyve virtual machines", $pconfig['enable'], gettext("Enable"), "clickfix()");
?>
				
				<tr id='machines_tr'><td colspan='2' valign='top' class='vtable'>
					<?php 
//if( isset( $config['thebrig']['rootfolder'])==false):
?>
						<!--	<a title=<?php 
echo gettext("Configure TheBrig please first");
?>
 -->
					<?php 
// elseif( isset( $config['thebrig']['content'])==false):
?>
						<!--	<a title=<?php 
echo gettext("Configure at least one jail first");
开发者ID:alexey1234,项目名称:vmbhyve_nas4free,代码行数:31,代码来源:extensions_bhyve.php


示例14: array_merge

            $enabled = 1;
        }
    }
    ?>
      <?php 
    if (!(isset($uuid) && FALSE !== $cnid)) {
        $a_storage_opt = array_merge(array("-" => gettext("None")), $a_storage_add);
    } else {
        $a_storage_opt = array_merge(array("-" => gettext("None")), $a_storage_edit);
    }
    ?>
      <?php 
    html_separator();
    ?>
			<?php 
    html_titleline_checkbox("{$lenable}", sprintf("%s%d", gettext("LUN"), $i), $enabled ? true : false, gettext("Enable"), "lun_change({$i})");
    ?>
      <?php 
    $index = array_search_ex("{$i}", $pconfig['lunmap'], "lun");
    if (false !== $index) {
        html_combobox("{$lstorage}", gettext("Storage"), $pconfig['lunmap'][$index]['extentname'], $a_storage_opt, sprintf(gettext("The storage area mapped to LUN%d."), $i), true);
    } else {
        html_combobox("{$lstorage}", gettext("Storage"), "-", $a_storage_opt_add, sprintf(gettext("The storage area mapped to LUN%d."), $i), true);
    }
    ?>
      <?php 
}
?>
      <?php 
html_separator();
?>
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_iscsitarget_target_edit.php


示例15: print_input_errors

		</ul>
	</td></tr>
    <tr><td class="tabcont">
        <?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
        <?php 
if (!empty($savemsg)) {
    print_info_box($savemsg);
}
?>
        <table width="100%" border="0" cellpadding="6" cellspacing="0">
            <?php 
html_titleline_checkbox("enable", gettext("OneButtonInstaller"), $pconfig['enable'], gettext("Enable"), "enable_change(false)");
?>
            <?php 
html_text("installation_directory", gettext("Installation directory"), sprintf(gettext("The extension is installed in %s"), $config['onebuttoninstaller']['rootfolder']));
?>
			<?php 
html_filechooser("storage_path", gettext("Common directory"), $pconfig['storage_path'], gettext("Common directory for all extensions (a persistant place where all extensions are/should be - a directory below <b>/mnt/</b>)."), $pconfig['storage_path'], true, 60);
?>
            <?php 
html_checkbox("path_check", gettext("Path check"), $pconfig['path_check'], gettext("If this option is selected no examination of the common directory path will be carried out (whether it was set to a directory below /mnt/)."), "<b><font color='red'>" . gettext("Please use this option only if you know what you are doing!") . "</font></b>", false);
?>
            <?php 
html_checkbox("re_install", gettext("Re-install"), $pconfig['re_install'], gettext("If enabled it is possible to install extensions even if they are already installed."), "<b><font color='red'>" . gettext("Please use this option only if you know what you are doing!") . "</font></b>", false);
?>
            <?php 
html_checkbox("auto_update", gettext("Update"), $pconfig['auto_update'], gettext("Update extensions list automatically."), "", false);
开发者ID:crestAT,项目名称:nas4free-onebuttoninstaller,代码行数:31,代码来源:onebuttoninstaller-config.php


示例16: print_input_errors

?>
</span></a></li>
      </ul>
    </td>
  </tr>
  <tr>
    <td class="tabcont">
      <form action="shutdown_sched.php" method="post" name="iform" id="iform">
      	<?php 
if ($input_errors) {
    print_input_errors($input_errors);
}
?>
        <table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Scheduled shutdown"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)");
?>
          <tr>
						<td width="22%" valign="top" class="vncellreq"><?php 
echo gettext("Time");
?>
</td>
						<td width="78%" class="vtable">
							<table width="100%" border="0" cellpadding="5" cellspacing="0">
								<tr>
									<td class="listhdrlr"><?php 
echo gettext("Minutes");
?>
</td>
									<td class="listhdrr"><?php 
echo gettext("Hours");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:shutdown_sched.php


示例17: html_separator

    }
    if (!isset($pconfig["{$lmuser}"])) {
        $pconfig["{$lmuser}"] = "";
    }
    if (!isset($pconfig["{$lmsecret}"])) {
        $pconfig["{$lmsecret}"] = "";
    }
    if (!isset($pconfig["{$lmsecret2}"])) {
        $pconfig["{$lmsecret2}"] = "";
    }
    ?>
	      <?php 
    html_separator();
    ?>
	      <?php 
    html_titleline_checkbox("{$ldelete}", sprintf("%s%d", gettext("User"), $i), false, gettext("Delete"), false);
    ?>
	      <?php 
    html_inputbox("{$luser}", gettext("User"), $pconfig["{$luser}"], gettext("Target side user name. It is usually the initiator name by default."), false, 60);
    ?>
	      <tr>
	        <td width="22%" valign="top" class="vncell"><?php 
    echo gettext("Secret");
    ?>
</td>
	        <td width="78%" class="vtable">
	          <input name="<?php 
    echo $lsecret;
    ?>
" type="password" class="formfld" id="<?php 
    echo $lsecret;
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_iscsitarget_ag_edit.php


示例18: html_titleline_checkbox

    html_titleline_checkbox("enable", gettext("IPv4 Configuration"), !empty($pconfig['enable']) ? true : false, gettext("Activate"), "enable_change(false)");
    ?>
											<?php 
    html_combobox("type", gettext("Type"), $pconfig['type'], array("Static" => gettext("Static"), "DHCP" => gettext("DHCP")), "", true, false, "type_change()");
    ?>
											<?php 
    html_inputbox("descr", gettext("Description"), $pconfig['descr'], gettext("You may enter a description here for your reference."), true, 20);
    ?>
											<?php 
    html_ipv4addrbox("ipaddr", "subnet", gettext("IP address"), !empty($pconfig['ipaddr']) ? $pconfig['ipaddr'] : "", !empty($pconfig['subnet']) ? $pconfig['subnet'] : "", "", true);
    ?>
											<?php 
    html_separator();
    ?>
											<?php 
    html_titleline_checkbox("ipv6_enable", gettext("IPv6 Configuration"), !empty($pconfig['ipv6_enable']) ? true : false, gettext("Activate"), "enable_change(this)");
    ?>
											<?php 
    html_combobox("ipv6type", gettext("Type"), $pconfig['ipv6type'], array("Static" => gettext("Static"), "Auto" => gettext("Auto")), "", true, false, "ipv6_type_change()");
    ?>
											<?php 
    html_ipv6addrbox("ipv6addr", "ipv6subnet", gettext("IP address"), !empty($pconfig['ipv6addr']) ? $pconfig['ipv6addr'] : "", !empty($pconfig['ipv6subnet']) ? $pconfig['ipv6subnet'] : "", "", true);
    ?>
											<?php 
    html_separator();
    ?>
											<?php 
    html_titleline(gettext("Advanced Configuration"));
    ?>
											<?php 
    html_inputbox("mtu", gettext("MTU"), $pconfig['mtu'], gettext("Set the maximum transmission unit of the interface to n, default is interface specific. The MTU is used to limit the size of packets that are transmitted on an interface. Not all interfaces support setting the MTU, and some interfaces have range restrictions."), false, 5);
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:interfaces_opt.php


示例19: print_input_errors

    print_input_errors($input_errors);
}
?>
				<?php 
if ($savemsg) {
    print_info_box($savemsg);
}
?>
				<?php 
if ($failmsg) {
    print_error_box($failmsg);
}
?>
			  <table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Email Report"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)");
?>
					<tr>
						<td width="22%" valign="top" class="vncellreq"><?php 
echo gettext("To email");
?>
</td>
						<td width="78%" class="vtable">
							<input name="to" type="text" class="formfld" id="to" size="40" value="<?php 
echo htmlspecialchars($pconfig['to']);
?>
" /><br />
							<span class="vexpl"><?php 
echo gettext("Destination email address.");
?>
 <?php 
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:status_report.php


示例20: print_input_errors

?>
</span></a></li>
      </ul>
    </td>
  </tr>
  <tr>
    <td class="tabcont">
      <form action="reboot_sched.php" method="post" name="iform" id="iform">
      	<?php 
if (!empty($input_errors)) {
    print_input_errors($input_errors);
}
?>
        <table width="100%" border="0" cellpadding="6" cellspacing="0">
					<?php 
html_titleline_checkbox("enable", gettext("Scheduled reboot"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
          <tr>
						<td width="22%" valign="top" class="vncellreq"><?php 
echo gettext("Time");
?>
</td>
						<td width="78%" class="vtable">
							<table width="100%" border="0" cellpadding="6" cellspacing="0">
								<tr>
									<td class="listhdrlr"><?php 
echo gettext("Minutes");
?>
</td>
									<td class="listhdrr"><?php 
echo gettext("Hours");
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:reboot_sched.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP html_to_bbc函数代码示例发布时间:2022-05-15
下一篇:
PHP html_titleline函数代码示例发布时间: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