本文整理汇总了PHP中updatenotify_exists函数的典型用法代码示例。如果您正苦于以下问题:PHP updatenotify_exists函数的具体用法?PHP updatenotify_exists怎么用?PHP updatenotify_exists使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了updatenotify_exists函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: print_error_box
if (!empty($errormsg)) {
print_error_box($errormsg);
}
?>
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists_mode("raid_graid5", UPDATENOTIFY_MODE_DIRTY)) {
print_warning_box(gettext("Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered."));
}
?>
<?php
if (updatenotify_exists("raid_graid5")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" class="listhdrlr"><?php
echo gettext("Volume Name");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Type");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Size");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_raid_graid5.php
示例2: gettext
</span></a></li>
<li class="tabact"><a href="services_ftp_mod.php" title="<?php
echo gettext("Reload page");
?>
"><span><?php
echo gettext("Modules");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_ftp_mod.php" method="post">
<?php
if (updatenotify_exists("ftpd_mod_ban")) {
print_config_change_box();
}
?>
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
html_titleline_checkbox("mod_ban_enable", gettext("Ban list"), !empty($pconfig['mod_ban_enable']) ? true : false, gettext("Enable"), "enable_change(false)");
?>
<tr>
<td width="22%" valign="top" class="vncell"><?php
echo gettext("Rules");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_ftp_mod.php
示例3: print_error_box
if ($errormsg) {
print_error_box($errormsg);
}
?>
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists_mode("raid_gvinum", UPDATENOTIFY_MODE_DIRTY)) {
print_warning_box(gettext("Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered."));
}
?>
<?php
if (updatenotify_exists("raid_gvinum")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" class="listhdrlr"><?php
echo gettext("Volume Name");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Type");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Size");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_raid_gvinum.php
示例4: gettext
echo gettext("Modules");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_rsyncd_module.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("rsyncd")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15%" class="listhdrlr"><?php
echo gettext("Name");
?>
</td>
<td width="35%" class="listhdrr"><?php
echo gettext("Path");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Comment");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_rsyncd_module.php
示例5: gettext
echo gettext("Local");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_rsyncd_local.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("rsynclocal")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" class="listhdrlr"><?php
echo gettext("Source share");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Destination share");
?>
</td>
<td width="10%" class="listhdrr"><?php
echo gettext("Who");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_rsyncd_local.php
示例6: gettext
echo gettext("iSCSI Initiator");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="disks_manage.php" method="post">
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("device")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5%" class="listhdrlr"><?php
echo gettext("Disk");
?>
</td>
<td width="5%" class="listhdrr"><?php
echo gettext("Size");
?>
</td>
<td width="40%" class="listhdrr"><?php
echo gettext("Description");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_manage.php
示例7: gettext
echo gettext("Local");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_rsyncd_client.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("rsyncclient")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" class="listhdrlr"><?php
echo gettext("Remote module (source)");
?>
</td>
<td width="15%" class="listhdrr"><?php
echo gettext("Remote address");
?>
</td>
<td width="15%" class="listhdrr"><?php
echo gettext("Local share (destination)");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_rsyncd_client.php
示例8: print_error_box
if ($errormsg) {
print_error_box($errormsg);
}
?>
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists_mode("raid_gstripe", UPDATENOTIFY_MODE_DIRTY)) {
print_warning_box(gettext("Warning: You are going to delete a RAID volume. All data will get lost and can not be recovered."));
}
?>
<?php
if (updatenotify_exists("raid_gstripe")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25%" class="listhdrlr"><?php
echo gettext("Volume Name");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Type");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Size");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_raid_gstripe.php
示例9: gettext
echo gettext("sysctl.conf");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="system_loaderconf.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("loaderconf")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40%" class="listhdrlr"><?php
echo gettext("Variable");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Value");
?>
</td>
<td width="30%" class="listhdrr"><?php
echo gettext("Comment");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:system_loaderconf.php
示例10: print_input_errors
</td></tr>
<tr>
<td class="tabcont">
<form action="extensions_bhyve.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);
}
?>
<?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");
开发者ID:alexey1234,项目名称:vmbhyve_nas4free,代码行数:31,代码来源:extensions_bhyve.php
示例11: gettext
echo gettext("Shares");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_samba_share.php" method="post">
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("smbshare")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" class="listhdrlr"><?php
echo gettext("Path");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Name");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Comment");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:services_samba_share.php
示例12: print_error_box
if (false === $smart) {
print_error_box(gettext("Make sure you have activated S.M.A.R.T. for your devices."));
}
?>
<?php
if (!empty($input_errors)) {
print_input_errors($input_errors);
}
?>
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("smartssd")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<?php
html_titleline_checkbox("enable", gettext("Self-Monitoring, Analysis and Reporting Technology"), !empty($pconfig['enable']) ? true : false, gettext("Enable"), "enable_change(this)");
?>
<?php
html_inputbox("interval", gettext("Check interval"), $pconfig['interval'], gettext("Sets the interval between disk checks to N seconds. The minimum allowed value is 10."), true, 5);
?>
<tr>
<td width="22%" valign="top" class="vncellreq"><?php
echo gettext("Power mode");
?>
</td>
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_manage_smart.php
示例13: print_error_box
</tr>
<tr>
<td class="tabcont">
<form action="disks_zfs_snapshot_auto.php" method="post">
<?php
if (!empty($errormsg)) {
print_error_box($errormsg);
}
?>
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("zfsautosnapshot")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" class="listhdrlr"><?php
echo gettext("Path");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Name");
?>
</td>
<td width="10%" class="listhdrr"><?php
echo gettext("Recursive");
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:disks_zfs_snapshot_auto.php
示例14: print_info_box
}
return $retval;
}
include "fbegin.inc";
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="tabcont">
<form action="system_routes.php" method="post">
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("routes")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15%" class="listhdrlr"><?php
echo gettext("Interface");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Network");
?>
</td>
<td width="20%" class="listhdrr"><?php
echo gettext("Gateway");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:system_routes.php
示例15: gettext
echo gettext("Groups");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="access_users_groups.php" method="post">
<?php
if ($savemsg) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("userdb_group")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="45%" class="listhdrlr"><?php
echo gettext("Group");
?>
</td>
<td width="5%" class="listhdrr"><?php
echo gettext("GID");
?>
</td>
<td width="40%" class="listhdrr"><?php
echo gettext("Description");
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:access_users_groups.php
示例16: foreach
foreach ($rawdata as $line) {
if ($line == 'no pools available') {
continue;
}
list($pool, $root, $size, $cap, $health) = explode("\t", $line);
if (false === ($index = array_search_ex($pool, $zfs['pools']['pool'], 'name'))) {
continue;
}
if ($root != '-') {
$zfs['pools']['pool'][$index]['root'] = $root;
}
$zfs['pools']['pool'][$index]['size'] = $size;
$zfs['pools']['pool'][$index]['cap'] = $cap;
$zfs['pools']['pool'][$index]['health'] = $health;
}
if (updatenotify_exists('zfs_import_config')) {
$notifications = updatenotify_get('zfs_import_config');
$retval = 0;
foreach ($notifications as $notification) {
$retval |= !($notification['data'] == true);
}
$savemsg = get_std_save_message($retval);
if ($retval == 0) {
updatenotify_delete("zfs_import_config");
}
}
include "fbegin.inc";
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="tabnavtbl">
开发者ID:ZenaVault,项目名称:FreeNAS-Source,代码行数:31,代码来源:disks_zfs_config_current.php
示例17: gettext
echo gettext("sysctl.conf");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="system_cron.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("cronjob")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="40%" class="listhdrlr"><?php
echo gettext("Command");
?>
</td>
<td width="10%" class="listhdrr"><?php
echo gettext("Who");
?>
</td>
<td width="40%" class="listhdrr"><?php
echo gettext("Description");
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:system_cron.php
示例18: gettext
echo gettext("Shares");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="services_nfs_share.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("nfsshare")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30%" class="listhdrlr"><?php
echo gettext("Path");
?>
</td>
<td width="30%" class="listhdrr"><?php
echo gettext("Network");
?>
</td>
<td width="30%" class="listhdrr"><?php
echo gettext("Comment");
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:services_nfs_share.php
示例19: htmlspecialchars
<tr>
<td class="listlr"><?php
echo htmlspecialchars($geli['name']);
?>
</td>
<td class="listr"><?php
echo htmlspecialchars($geli['aalgo']);
?>
</td>
<td class="listr"><?php
echo htmlspecialchars($geli['ealgo']);
?>
</td>
<td class="listbg">
<?php
if (updatenotify_exists("geli")) {
$status = gettext("Configuring");
$notificationmode = updatenotify_get_mode("geli", $geli['uuid']);
switch ($notificationmode) {
case UPDATENOTIFY_MODE_DIRTY:
$status = gettext("Deleting");
break;
}
echo htmlspecialchars($status);
} else {
$notificationmode = UPDATENOTIFY_MODE_UNKNOWN;
if (disks_exists($geli['devicespecialfile'])) {
echo "<a href=\"disks_crypt_tools.php?disk={$geli['devicespecialfile']}&action=attach\">" . htmlspecialchars(gettext("Not attached")) . "</a>";
} else {
echo htmlspecialchars(gettext("Attached"));
}
开发者ID:sdoney,项目名称:nas4free,代码行数:31,代码来源:disks_crypt.php
示例20: gettext
echo gettext("Information");
?>
</span></a></li>
</ul>
</td>
</tr>
<tr>
<td class="tabcont">
<form action="disks_zfs_dataset.php" method="post">
<?php
if (!empty($savemsg)) {
print_info_box($savemsg);
}
?>
<?php
if (updatenotify_exists("zfsdataset")) {
print_config_change_box();
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" class="listhdrlr"><?php
echo gettext("Pool");
?>
</td>
<td width="25%" class="listhdrr"><?php
echo gettext("Name");
?>
</td>
<td width="45%" class="listhdrr"><?php
echo gettext("Description");
开发者ID:rterbush,项目名称:nas4free,代码行数:31,代码来源:disks_zfs_dataset.php
注:本文中的updatenotify_exists函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论