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");
</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");
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");
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");
if (!empty($errormsg)) { print_error_box($errormsg); } ?> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists_mode("raid_gmirror", 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_gmirror")) { 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");
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");
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");
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)");
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");
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");
</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");
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");
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>
</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");
} 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");
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");
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">
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");
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");
<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")); }
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");
echo gettext("I/O statistics"); ?> </span></a></li> </ul> </td> </tr> <tr> <td class="tabcont"> <form action="disks_zfs_zpool_vdevice.php" method="post"> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("zfsvdev")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" class="listhdrlr"><?php echo gettext("Name"); ?> </td> <td width="15%" class="listhdrr"><?php echo gettext("Type"); ?> </td> <td width="55%" class="listhdrr"><?php echo gettext("Description");
echo gettext("I/O statistics"); ?> </span></a></li> </ul> </td> </tr> <tr> <td class="tabcont"> <form action="disks_zfs_zpool.php" method="post"> <?php if ($savemsg) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("zfszpool")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" class="listhdrlr"><?php echo gettext("Name"); ?> </td> <td width="10%" class="listhdrr"><?php echo gettext("Size"); ?> </td> <td width="10%" class="listhdrr"><?php echo gettext("Used");
} return $retval; } include "fbegin.inc"; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="tabcont"> <form action="system_hosts.php" method="post"> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("hosts")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td width="22%" valign="top" class="vncell"><?php echo gettext("Hostname database"); ?> </td> <td width="78%" class="vtable"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="25%" class="listhdrlr"><?php echo gettext("Hostname"); ?>
echo gettext("Shares"); ?> </span></a></li> </ul> </td> </tr> <tr> <td class="tabcont"> <form action="services_afp_share.php" method="post"> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("afpshare")) { 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="40%" class="listhdrr"><?php echo gettext("Comment");
echo gettext("sysctl.conf"); ?> </span></a></li> </ul> </td> </tr> <tr> <td class="tabcont"> <form action="system_rcconf.php" method="post"> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("rcconf")) { 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");
</td> </tr> <tr> <td class="tabcont"> <?php if (!empty($input_errors)) { print_input_errors($input_errors); } ?> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("iscsitarget_ig")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td colspan="2" valign="top" class="listtopic"><?php echo gettext("Initiator Groups"); ?> </td> </tr> <tr> <td width="22%" valign="top" class="vncell"><?php echo gettext("Initiator Group"); ?> </td>
if ($input_errors) { print_input_errors($input_errors); } ?> <?php if ($errormsg) { print_error_box($errormsg); } ?> <?php if ($savemsg) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("firewall")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="6" cellspacing="0"> <?php html_titleline_checkbox("enable", gettext("System firewall"), $pconfig['enable'] ? true : false, gettext("Enable"), "enable_change(false)"); ?> <tr> <td width="22%" valign="top" class="vncell"><?php echo gettext("Rules"); ?> </td> <td width="78%" class="vtable"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr>
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="tabcont"> <form action="services_websrv.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("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);
echo gettext("Groups"); ?> </span></a></li> </ul> </td> </tr> <tr> <td class="tabcont"> <form action="access_users.php" method="post"> <?php if (!empty($savemsg)) { print_info_box($savemsg); } ?> <?php if (updatenotify_exists("userdb_user")) { print_config_change_box(); } ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" class="listhdrlr"><?php echo gettext("User"); ?> </td> <td width="35%" class="listhdrr"><?php echo gettext("Full Name"); ?> </td> <td width="5%" class="listhdrr"><?php echo gettext("UID");