本文整理汇总了PHP中html_inputbox函数的典型用法代码示例。如果您正苦于以下问题:PHP html_inputbox函数的具体用法?PHP html_inputbox怎么用?PHP html_inputbox使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_inputbox函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: html_combobox
html_combobox("digest", gettext("Initial Digest"), $pconfig['digest'], array("Auto" => gettext("Auto"), "Header" => gettext("Header digest"), "Data" => gettext("Data digest"), "Header Data" => gettext("Header and Data digest")), gettext("The initial digest mode negotiated with the initiator."), false);
?>
<?php
html_inputbox("queuedepth", gettext("Queue Depth"), $pconfig['queuedepth'], gettext("0=disabled, 1-255=enabled command queuing with specified depth.") . " " . sprintf(gettext("The recommended queue depth is %d."), 32), false, 10);
?>
<?php
html_inputbox("inqvendor", gettext("Inquiry Vendor"), $pconfig['inqvendor'], sprintf(gettext("You may specify as SCSI INQUIRY data. Empty as default. (up to %d ASCII chars)"), 8), false, 20);
?>
<?php
html_inputbox("inqproduct", gettext("Inquiry Product"), $pconfig['inqproduct'], sprintf(gettext("You may specify as SCSI INQUIRY data. Empty as default. (up to %d ASCII chars)"), 16), false, 20);
?>
<?php
html_inputbox("inqrevision", gettext("Inquiry Revision"), $pconfig['inqrevision'], sprintf(gettext("You may specify as SCSI INQUIRY data. Empty as default. (up to %d ASCII chars)"), 4), false, 20);
?>
<?php
html_inputbox("inqserial", gettext("Inquiry Serial"), $pconfig['inqserial'], sprintf(gettext("You may specify as SCSI INQUIRY data. Empty as default. (up to %d ASCII chars)"), 16), false, 20);
?>
</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:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_iscsitarget_target_edit.php
示例2: print_input_errors
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="diag_ping.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_inputbox("host", gettext("Host"), $host, gettext("Destination host name or IP number."), true, 20);
?>
<?php
html_interfacecombobox("interface", gettext("Interface"), !empty($interface) ? $interface : "", gettext("Use the following IP address as the source address in outgoing packets."), true);
?>
<?php
$a_count = array();
for ($i = 1; $i <= 10; $i++) {
$a_count[$i] = $i;
}
?>
<?php
html_combobox("count", gettext("Count"), $count, $a_count, gettext("Stop after sending (and receiving) N packets."), true);
?>
</table>
<div id="submit">
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:diag_ping.php
示例3: print_input_errors
print_input_errors($input_errors);
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
html_inputbox("name", gettext("Name"), $pconfig['name'], gettext("This is for information only (not using during iSCSI negotiation)."), true, 20);
?>
<?php
html_inputbox("initiatorname", gettext("Initiator name"), $pconfig['initiatorname'], gettext("This name is for example: iqn.2005-01.il.ac.huji.cs:somebody."), true, 60);
?>
<?php
html_inputbox("targetname", gettext("Target name"), $pconfig['targetname'], sprintf(gettext("This name is for example: %s."), $ex_iscsitarget), true, 60);
?>
<?php
html_inputbox("targetaddress", gettext("Target address"), $pconfig['targetaddress'], gettext("This the IP address or DNS name of the iSCSI target."), true, 20);
?>
</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,代码来源:disks_manage_iscsi_edit.php
示例4: print_input_errors
<td class="tabcont">
<form action="system_hosts_edit.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_inputbox("name", gettext("Hostname"), $pconfig['name'], gettext("The host name may only consist of the characters a-z, A-Z and 0-9, - , _ and ."), true, 40);
?>
<?php
html_inputbox("address", gettext("IP address"), $pconfig['address'], gettext("The IP address that this hostname represents."), true, 20);
?>
<?php
html_inputbox("descr", gettext("Description"), $pconfig['descr'], gettext("You may enter a description here for your reference."), false, 20);
?>
</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:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_hosts_edit.php
示例5: print_input_errors
<td class="tabcont">
<form action="access_users_groups_edit.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_inputbox("name", gettext("Name"), $pconfig['name'], gettext("Group name."), true, 20, isset($uuid) && FALSE !== $cnid);
?>
<?php
html_inputbox("groupid", gettext("Group ID"), $pconfig['groupid'], gettext("Group numeric id."), true, 20, isset($uuid) && FALSE !== $cnid);
?>
<?php
html_inputbox("desc", gettext("Description"), $pconfig['desc'], gettext("Group description."), true, 20);
?>
</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,代码来源:access_users_groups_edit.php
示例6: gettext
}
?>
/> <?php
echo gettext("Suppress non-error messages.");
?>
<br />
</td>
</tr>
<?php
html_checkbox("perms", gettext("Preserve permissions"), $pconfig['perms'] ? true : false, gettext("This option causes the receiving rsync to set the destination permissions to be the same as the source permissions."), "", false);
?>
<?php
html_checkbox("xattrs", gettext("Preserve extended attributes"), $pconfig['xattrs'] ? true : false, gettext("This option causes rsync to update the remote extended attributes to be the same as the local ones."), "", false);
?>
<?php
html_inputbox("extraoptions", gettext("Extra options"), $pconfig['extraoptions'], gettext("Extra options to rsync (usually empty).") . " " . sprintf(gettext("Please check the <a href='%s' target='_blank'>documentation</a>."), "http://rsync.samba.org/ftp/rsync/rsync.html"), 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="uuid" type="hidden" value="<?php
echo $pconfig['uuid'];
?>
" />
<?php
if (isset($uuid) && FALSE !== $cnid) {
?>
<input name="Submit" id="execnow" type="submit" class="formbtn" value="<?php
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_rsyncd_client_edit.php
示例7: html_combobox
}
?>
<?php
html_combobox("username", gettext("Username"), $pconfig['username'], $a_user, gettext("Specifies the username which the service will run as."), false);
?>
<?php
html_inputbox("umask", gettext("umask"), $pconfig['umask'], gettext("Sets the umask for newly created files to the specified value. The default is zero (anyone can read or write)."), false, 4);
?>
<?php
html_inputbox("timeout", gettext("Timeout"), $pconfig['timeout'], gettext("Determine the default timeout, in microseconds, before the first packet is retransmitted. The default is 1000000 (1 second)."), false, 10);
?>
<?php
html_inputbox("maxblocksize", gettext("Max. block size"), $pconfig['maxblocksize'], gettext("Specifies the maximum permitted block size. The permitted range for this parameter is from 512 to 65464."), false, 5);
?>
<?php
html_inputbox("extraoptions", gettext("Extra options"), $pconfig['extraoptions'], gettext("Extra options (usually empty)."), false, 40);
?>
</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:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_tftp.php
示例8: gettext
}
?>
/>
<?php
echo gettext("Allow client access to accounts that have null passwords.");
?>
</td>
</tr>
<?php
html_checkbox("aio", gettext("Asynchronous I/O (AIO)"), $pconfig['aio'] ? true : false, gettext("Enable Asynchronous I/O (AIO)"), "", false, "aio_change()");
?>
<?php
html_inputbox("aiorsize", gettext("AIO read size"), $pconfig['aiorsize'], sprintf(gettext("Samba will read from file asynchronously when size of request is bigger than this value. (%d by default)"), 1), true, 30);
?>
<?php
html_inputbox("aiowsize", gettext("AIO write size"), $pconfig['aiowsize'], sprintf(gettext("Samba will write to file asynchronously when size of request is bigger than this value. (%d by default)"), 1), true, 30);
?>
<?php
/*html_inputbox("aiowbehind", gettext("AIO write behind"), $pconfig['aiowbehind'], "", false, 60);*/
?>
<?php
html_textarea("auxparam", gettext("Auxiliary parameters"), $pconfig['auxparam'], sprintf(gettext("These parameters are added to [Global] 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 gettext("Save and Restart");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_samba.php
示例9: html_passwordconfbox
html_passwordconfbox("rootbindpw", "rootbindpw2", gettext("Root bind password"), $pconfig['rootbindpw'], $pconfig['rootbindpw2'], gettext("The credentials with which to bind."), true);
?>
<?php
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
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:access_ldap.php
示例10: html_titleline_checkbox
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);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" onclick="enable_change(true)" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("If the server is behind a proxy set these parameters to give local services access to the internet via proxy."));
?>
</div>
<?php
include "formend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_proxy.php
示例11: array
$a_freq = array();
if (!empty($clocks)) {
$a_tmp = preg_split("/\\s/", $clocks);
foreach ($a_tmp as $val) {
list($freq, $tmp) = preg_split("/\\//", $val);
if (!empty($freq)) {
$a_freq[] = $freq;
}
}
}
?>
<?php
html_inputbox("pwmax", gettext("Maximum frequency"), $pconfig['pwmax'], sprintf("%s %s", gettext("CPU frequency:"), join(", ", $a_freq)) . "<br />" . gettext("Empty as default."), false, 5);
?>
<?php
html_inputbox("pwmin", gettext("Minimum frequency"), $pconfig['pwmin'], gettext("Empty as default."), false, 5);
?>
<?php
html_checkbox("zeroconf", gettext("Zeroconf/Bonjour"), !empty($pconfig['zeroconf']) ? true : false, gettext("Enable Zeroconf/Bonjour to advertise services of this device"));
?>
<?php
html_textarea("motd", gettext("MOTD"), $pconfig['motd'], gettext("Message of the day."), false, 65, 7, false, false);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" />
</div>
<?php
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_advanced.php
示例12: html_titleline_checkbox
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);
?>
<?php
html_checkbox("alwaysscan", gettext("Always scan"), $pconfig['alwaysscan'] ? true : false, "", gettext("Whether scans should be skipped if there are no users connected. This allows the drive to spin down when no users are connected."), false);
?>
<?php
html_combobox("scantype", gettext("Scan type"), $pconfig['scantype'], array("0" => gettext("Normal"), "1" => gettext("Aggressive"), "2" => gettext("Painfully aggressive")), "", false);
?>
<?php
html_separator();
?>
<?php
html_titleline(gettext("Administrative WebGUI"));
?>
<?php
html_passwordbox("admin_pw", gettext("Password"), $pconfig['admin_pw'], sprintf("%s %s", gettext("Password for the administrative pages."), gettext("Default user name is 'admin'.")), true, 20);
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_daap.php
示例13: html_separator
?>
<?php
html_separator();
?>
<?php
foreach ($pconfig['device'] as $id => $device) {
?>
<?php
$device_nb = $id + 1;
?>
<?php
html_titleline("Device {$device_nb}");
?>
<?php
html_inputbox("device[{$id}][name]", gettext("Name"), $pconfig['device'][$id]['name'], sprintf(gettext("Default is %s."), "OPENNAS-DEVICE-default"), true, 40);
?>
<?php
html_combobox("device[{$id}][mediatype]", gettext("Media type"), $pconfig['device'][$id]['mediatype'], array_combine($bacula_type, $bacula_type), sprintf(gettext("Default is %s."), "File"), true);
?>
<?php
html_filechooser("device_" . $id . "_archivepath", gettext("Archive device"), $pconfig['device'][$id]['archivepath'], '', '/mnt', true);
?>
<?php
html_checkbox("device[{$id}][labelmedia]", gettext("Label media"), !empty($pconfig['device'][$id]['labelmedia']), gettext("Labeled the media"));
?>
<?php
html_checkbox("device[{$id}][randomaccess]", gettext("Random access"), !empty($pconfig['device'][$id]['randomaccess']), gettext("The Storage daemon will submit a Mount Command before attempting to open the device"));
?>
<?php
html_checkbox("device[{$id}][removablemedia]", gettext("Removable media"), !empty($pconfig['device'][$id]['removablemedia']), gettext("This device supports removable media"));
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_bacula_storage_daemon.php
示例14: html_checkbox
} else {
?>
<input name="ocs_cacert" type="hidden" value="<?php
echo $config['ocsinventory_agent']['ocs_cacert'];
?>
" /><br />
<?php
html_checkbox("delete_cacert", gettext("Delete previous CA Certificate"), false, "", "", true);
?>
<?php
}
?>
</td>
</tr>
<?php
html_inputbox("tag", gettext("Tag"), $pconfig['tag'], gettext("Mark the machine with the TAG"), false, 40);
?>
<?php
html_checkbox("nosoftware", gettext("No software"), !empty($pconfig['nosoftware']) ? true : false, gettext("Do not inventory the software installed on the machine"), 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>
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_ocs_inventory_agent.php
示例15: print_input_errors
if (!empty($input_errors)) {
print_input_errors($input_errors);
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
html_titleline_checkbox("enable", "", $pconfig['enable'] ? true : false, gettext("Enable"));
?>
<?php
html_inputbox("name", gettext("Name"), $pconfig['name'], gettext("Name of the variable."), true, 40);
?>
<?php
html_inputbox("value", gettext("Value"), $pconfig['value'], gettext("The value of the variable."), true);
?>
<?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
echo $pconfig['uuid'];
?>
" />
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_rcconf_edit.php
示例16: html_combobox
html_combobox("provider", gettext("Provider"), $pconfig['provider'], array("dyndns.org" => "dyndns.org", "freedns.afraid.org" => "freedns.afraid.org", "zoneedit.com" => "zoneedit.com", "no-ip.com" => "no-ip.com", "3322.org" => "3322.org", "easydns.com" => "easydns.com", "dnsdynamic.org" => "dnsdynamic.org", "dhis.org" => "dhis.org", "dnsexit.com" => "dnsexit.com", "ipv6tb.he.net" => "ipv6tb.he.net", "tzo.com" => "tzo.com", "dnsexit.com" => "dnsexit.com", "dynsip.org" => "dynsip.org", "custom" => gettext("Custom")), "", true, false, "provider_change()");
?>
<?php
html_inputbox("domainname", gettext("Domain name"), $pconfig['domainname'], gettext("A host name alias. This option can appear multiple times, for each domain that has the same IP. Use a space to separate multiple alias names."), true, 40);
?>
<?php
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>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_dynamicdns.php
示例17: html_separator
}
?>
</td>
</tr>
<?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.")));
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:services_hast.php
示例18: print_info_box
if (file_exists($d_sysrebootreqd_path)) {
print_info_box(get_std_save_message(0));
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
$a_pathlist = array();
foreach ($a_path as $pathv) {
$a_pathlist[$pathv['path']] = htmlspecialchars($pathv['path']);
}
?>
<?php
html_combobox("path", gettext("Path"), $pconfig['path'], $a_pathlist, "", true);
?>
<?php
html_inputbox("name", gettext("Name"), $pconfig['name'], "", true, 20);
?>
<?php
html_checkbox("recursive", gettext("Recursive"), !empty($pconfig['recursive']) ? true : false, gettext("Creates the recursive snapshot."), "", false);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Add");
?>
" onclick="enable_change(true)" />
<input name="Cancel" type="submit" class="formbtn" value="<?php
echo gettext("Cancel");
?>
" />
<input name="uuid" type="hidden" value="<?php
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:disks_zfs_snapshot_add.php
示例19: print_info_box
if ($savemsg) {
print_info_box($savemsg);
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
html_checkbox("disableconsolemenu", gettext("Console menu"), $pconfig['disableconsolemenu'] ? true : false, gettext("Disable console menu"), gettext("Changes to this option will take effect after a reboot."));
?>
<?php
html_checkbox("enableserialconsole", gettext("Serial Console"), $pconfig['enableserialconsole'] ? true : false, gettext("Enable serial console"), sprintf("<span class='red'><strong>%s</strong></span><br />%s", gettext("The COM port in BIOS has to be enabled before enabling this option."), gettext("Changes to this option will take effect after a reboot.")));
?>
<?php
html_checkbox("sysconsaver", gettext("Console screensaver"), $pconfig['sysconsaver'] ? true : false, gettext("Enable console screensaver"), "", false, "sysconsaver_change()");
?>
<?php
html_inputbox("sysconsaverblanktime", gettext("Blank time"), $pconfig['sysconsaverblanktime'], gettext("Turn the monitor to standby after N seconds."), true, 5);
?>
<?php
if ("full" !== $g['platform']) {
?>
<?php
html_checkbox("disablefirmwarecheck", gettext("Firmware version check"), $pconfig['disablefirmwarecheck'] ? true : false, gettext("Disable firmware version check"), sprintf(gettext("This will cause %s not to check for newer firmware versions when the <a href='%s'>%s</a> page is viewed."), get_product_name(), "system_firmware.php", gettext("System") . ": " . gettext("Firmware")));
?>
<?php
}
?>
<?php
html_checkbox("disablebeep", gettext("System Beep"), $pconfig['disablebeep'] ? true : false, gettext("Disable speaker beep on startup and shutdown"));
?>
<?php
html_checkbox("tune_enable", gettext("Tuning"), $pconfig['tune_enable'] ? true : false, gettext("Enable tuning of some kernel variables"));
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:system_advanced.php
示例20: html_separator
?>
<?php
html_separator();
?>
<?php
html_titleline(gettext("Advanced Jail Locations"));
?>
<?php
html_inputbox("basejail", gettext(_THEBRIG_BASE), $pconfig['basejail'], gettext(_THEBRIG_BASE_DESC), false, 50, $base_ro);
?>
<?php
//html_filechooser("rootfolder", gettext("Media Directory"), $pconfig['rootfolder'], gettext("Directory that contains our jails (e.g /mnt/Mount_Point/Folder). We will create folder /mnt/Mount_Point/Folder/thebrig/"), $g['media_path'], true);
?>
<?php
html_inputbox("template", gettext("Template Location"), $pconfig['template'], gettext("Sets the alternate location for the buildworld jail template. Default is in a folder named template within TheBrig's installation folder."), false, 50);
?>
<?php
//html_filechooser("rootfolder", gettext("Media Directory"), $pconfig['rootfolder'], gettext("Directory that contains our jails (e.g /mnt/Mount_Point/Folder). We will create folder /mnt/Mount_Point/Folder/thebrig/"), $g['media_path'], true);
?>
<?php
html_separator();
?>
<?php
html_titleline(gettext(_THEBRIG_CLEANUP));
?>
<!-- This is the row beneath the title -->
<tr><td width="22%" valign="top" class="vncellreq"> </td>
<td width="78%" class="vtable">
<input type="checkbox" name="remove" value="1" onclick="return message(this);" ><?php
开发者ID:kinged007,项目名称:thebrig,代码行数:31,代码来源:extensions_thebrig_config.php
注:本文中的html_inputbox函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论