本文整理汇总了PHP中html_remark函数的典型用法代码示例。如果您正苦于以下问题:PHP html_remark函数的具体用法?PHP html_remark怎么用?PHP html_remark使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_remark函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: empty
<td class="listr"><?php
echo empty($volume['sparse']) ? '-' : 'on';
?>
</td>
<td class="listr"><?php
echo $volume['compression'];
?>
</td>
<td class="listr"><?php
echo $volume['dedup'];
?>
</td>
<td class="listr"><?php
echo $volume['sync'];
?>
</td>
</tr>
<?php
}
?>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("This page reflects the current system configuration. It may be different to the configuration which has been created with the WebGUI if changes has been done via command line."));
?>
</div>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:BillTheBest,项目名称:OpenNAS,代码行数:31,代码来源:disks_zfs_config.php
示例2: gettext
<?php
$i++;
}
?>
<tr>
<td class="list" colspan="4"></td>
<td class="list">
<a href="disks_raid_gvinum_edit.php"><img src="plus.gif" title="<?php
echo gettext("Add RAID");
?>
" border="0" alt="<?php
echo gettext("Add RAID");
?>
" /></a>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("info", gettext("Info"), sprintf(gettext("%s is used to create %s volumes."), "GEOM Vinum", "RAID"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_raid_gvinum.php
示例3: disks_geom_cmd
break;
case "list":
disks_geom_cmd("vinum", "list", $object, true);
break;
case "remove":
disks_geom_cmd("vinum", "rm", "-r {$object}", true);
break;
case "forceup":
disks_geom_cmd("vinum", "setstate", "-f up {$object}", true);
break;
case "saveconfig":
disks_geom_cmd("vinum", "saveconfig", "", true);
break;
}
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("warning", gettext("Warning"), gettext("1. Use these specials actions for debugging only!<br />2. There is no need of using this menu for starting a RAID volume (start automaticaly)."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_raid_gvinum_tools.php
示例4: gettext
</tr>
<?php
}
?>
<tr>
<td class="list" colspan="3"></td>
<td class="list">
<a href="services_afp_share_edit.php"><img src="plus.gif" title="<?php
echo gettext("Add share");
?>
" border="0" alt="<?php
echo gettext("Add share");
?>
" /></a>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("All shares use the option 'usedots' thus making the filenames .Parent and anything beginning with .Apple illegal."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:services_afp_share.php
示例5: gettext
<?php
echo gettext("Daemon events");
?>
<br />
</td>
</tr>
</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"), sprintf(gettext("Syslog sends UDP datagrams to port 514 on the specified remote syslog server. Be sure to set syslogd on the remote server to accept syslog messages from %s."), get_product_name()));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
//-->
</script>
<?php
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:diag_log_settings.php
示例6: sprintf
</div>
<?php
if ($do_action) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
//ob_end_flush();
ob_start();
// Install package.
packages_install($packagename);
// Delete file.
@unlink($packagename);
$cmdoutput = ob_get_contents();
ob_end_clean();
echo htmlspecialchars($cmdoutput);
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("You can also install a package via SSH or console using the the pkg_add command.<br />Example: pkg_add -r packagename"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_packages_edit.php
示例7: html_inputbox
html_inputbox("desc", gettext("Description"), $pconfig['desc'], 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'];
?>
" />
</div>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), sprintf(gettext("To get detailed informations about writing firewall rules check the FreeBSD <a href='%s' target='_blank'>documentation</a>."), "http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_firewall_edit.php
示例8: html_inputbox
<?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";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
proxy_auth_change();
enable_change(false);
//-->
</script>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_proxy.php
示例9: html_textarea
<?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">
<?php
html_remark("note", gettext("Note"), sprintf(gettext("To increase CIFS performance try the following:<div id='enumeration'><ul><li>Enable 'Large read/write' switch</li><li>Enable '<a href='%s'>Tuning</a>' switch</li><li>Increase <a href='%s'>MTU</a></li></ul></div>"), "system_advanced.php", "interfaces_lan.php"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
authentication_change();
aio_change();
//-->
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_samba.php
示例10: html_titleline
<?php
html_titleline(gettext("Extension Update"));
?>
<?php
html_text("ext_version_current", gettext("Installed version"), $config['downloady']['version']);
?>
<?php
html_text("ext_version_server", gettext("Latest version"), $server_version);
?>
<?php
html_separator();
?>
</table>
<div id="update_remarks">
<?php
html_remark("note_remove", gettext("Note"), sprintf(gettext("Removing %s integration from NAS4Free will leave the installation folder untouched - remove the files using Windows Explorer, FTP or some other tool of your choice. <br /><b>Please note: this page will no longer be available.</b> You'll have to re-run %s extension installation to get it back on your NAS4Free."), gettext("Downloady"), gettext("Downloady")));
?>
<br />
<input id="ext_update" name="ext_update" type="submit" class="formbtn" value="<?php
echo gettext("Update Extension");
?>
" onclick="return confirm('<?php
echo gettext("The selected operation will be completed. Please do not click any other buttons!");
?>
')" />
<input id="ext_remove" name="ext_remove" type="submit" class="formbtn" value="<?php
echo gettext("Remove Extension");
?>
" onclick="return confirm('<?php
echo gettext("Do you really want to remove the extension from the system?");
?>
开发者ID:crestAT,项目名称:nas4free-downloady,代码行数:31,代码来源:dly-update_extension.php
示例11: confirm
?>
<a href="system_loaderconf.php?act=del&id=all" onclick="return confirm('<?php
echo gettext("Do you really want to delete all options?");
?>
')"><img src="x.gif" title="<?php
echo gettext("Delete all options");
?>
" border="0" alt="<?php
echo gettext("Delete all options");
?>
" /></a>
<?php
}
?>
</td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("These option(s) will be added to /boot/loader.conf.local. This allows you to specify parameters to be passed to kernel, and additional modules to be loaded."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_loaderconf.php
示例12: html_inputbox
<?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">
<?php
html_remark("note", gettext("Note"), gettext("Activate email report if you want to be notified if a failure or a new error has been detected, or if a S.M.A.R.T. command to a disk fails."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
enable_change(false);
//-->
</script>
<?php
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_manage_smart.php
示例13: gettext
<?php
}
?>
<?php
} else {
?>
<strong><?php
echo gettext("You must reboot the system before you can upgrade the firmware.");
?>
</strong>
<?php
}
?>
<div id="remarks">
<?php
html_remark("warning", gettext("Warning"), sprintf(gettext("DO NOT abort the firmware upgrade process once it has started. Once it is completed, the server will automatically reboot, the current configuration will be maintained.<br />You need a minimum of %d MiB free RAM to perform the upgrade.<br />It is strongly recommended that you <a href='%s'>Backup</a> the server configuration before doing a upgrade."), 512, "system_backup.php"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
<?php
}
}
?>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_firmware.php
示例14: gettext
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Traceroute");
?>
" />
</div>
<?php
if ($do_traceroute) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
ob_end_flush();
exec("/usr/sbin/traceroute " . ($resolve ? "" : "-n ") . "-w 2 -m " . escapeshellarg($ttl) . " " . escapeshellarg($host), $rawdata);
echo htmlspecialchars(implode("\n", $rawdata));
unset($rawdata);
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("Traceroute may take a while to complete. You may hit the Stop button on your browser at any time to see the progress of failed traceroutes."));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:diag_traceroute.php
示例15: gettext
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Execute");
?>
" />
</div>
<?php
if ($do_action) {
echo sprintf("<div id='cmdoutput'>%s</div>", gettext("Command output:"));
echo '<pre class="cmdoutput">';
ob_end_flush();
/* Check filesystem */
$result = disks_fsck($disk, $umount);
/* Display result */
echo 0 == $result ? gettext("Successful") : gettext("Failed");
echo '</pre>';
}
?>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("You can't unmount a drive which is used by swap file, a iSCSI-target file or any other running process!"));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_mount_fsck.php
示例16: html_titleline
html_titleline(gettext("WebGUI"));
?>
<?php
html_passwordbox("password_old", gettext("Current password"), "", "", true);
?>
<?php
html_passwordconfbox("password_new", "password_confirm", gettext("New password"), "", "", gettext("If you want to change the password for accessing the WebGUI, enter it here twice."), true);
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" />
</div>
<br>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("<div id='enumeration'><ul><li>The new password is also the default root password of the system!</li></ul></div>"));
?>
</div>
</br>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_password.php
示例17: gettext
?>
" /></a></td>
</tr>
<?php
$i++;
}
?>
<tr>
<td></td>
</tr>
<tr>
<td class="list" colspan="4"></td>
<td class="list"><a href="diag_arp.php?act=del"><img src="x.gif" title="<?php
echo gettext("Remove all entries from ARP table");
?>
" border="0" alt="<?php
echo gettext("Remove all entries from ARP table");
?>
" /></a></td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("hint", gettext("Hint"), sprintf(gettext("IP addresses are resolved to hostnames if <a href='%s'>"Resolve IP addresses to hostnames"</a> is enabled."), "diag_log_settings.php"));
?>
</div>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:diag_arp.php
示例18: gettext
" border="0" alt="<?php
echo gettext("Delete command");
?>
" /></a>
</td>
</tr>
<?php
$i++;
}
?>
<tr>
<td class="list" colspan="2"></td>
<td class="list"><a href="system_rc_edit.php"><img src="plus.gif" title="<?php
echo gettext("Add command");
?>
" border="0" alt="<?php
echo gettext("Add command");
?>
" /></a></td>
</tr>
</table>
<div id="remarks">
<?php
html_remark("note", gettext("Note"), gettext("These commands will be executed pre or post system initialization (booting) or before system shutdown."));
?>
</div>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:system_rc.php
示例19: gettext
<br /><span class="vexpl"><?php
echo gettext("Password of domain administrator account.");
?>
</span>
</td>
</tr>
</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("To use Active Directory the CIFS/SMB service will enabled, too. The following services will use AD authentication:<div id='enumeration'><ul><li>CIFS/SMB</li><li>SSH</li><li>FTP</li><li>AFP</li><li>System</li></ul></div>"));
?>
</div>
</td>
</tr>
</table>
<?php
include "formend.inc";
?>
</form>
<script type="text/javascript">
<!--
enable_change(false);
//-->
</script>
<?php
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:access_ad.php
示例20: gettext
</tr>
<?php
} else {
?>
<tr>
<td class="list" colspan="3" height="10"></td>
</tr>
<?php
}
?>
</table>
<div id="submit">
<input name="Submit" type="submit" class="formbtn" value="<?php
echo gettext("Save");
?>
" />
</div>
<div id="remarks">
<?php
html_remark("warning", gettext("Warning"), sprintf(gettext("After you click "Save", you must reboot the server to make the changes take effect. You may also have to do one or more of the following steps before you can access your server again: <ul><li><span class='vexpl'>change the IP address of your server</span></li><li><span class='vexpl'>access the webGUI with the new IP address</span></li></ul>")));
?>
</div>
<?php
include "formend.inc";
?>
</form>
</td>
</tr>
</table>
<?php
include "fend.inc";
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:interfaces_assign.php
注:本文中的html_remark函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论