Example #1
0
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Used");
?>
</td>
						<td width="20%" class="listhdrr"><?php 
echo gettext("Creation");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_snapshot as $snapshotv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfssnapshot", serialize(array('snapshot' => $snapshotv['snapshot'], 'recursive' => false)));
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($snapshotv['path']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($snapshotv['name']);
    ?>
&nbsp;</td>
						<?php 
    if (UPDATENOTIFY_MODE_MODIFIED == $notificationmode) {
        ?>
						<td class="listr"><?php 
        echo htmlspecialchars($snapshotv['used']);
Example #2
0
									<td width="30%" class="listhdrr"><?php 
echo gettext("Frequency");
?>
</td>
									<td width="30%" class="listhdrr"><?php 
echo gettext("Expire");
?>
</td>
									<td width="10%" class="list"></td>
								</tr>
								<?php 
$i = 0;
foreach ($a_rule as $rule) {
    ?>
								<?php 
    $notificationmode = updatenotify_get_mode("ftpd_mod_ban", $rule['uuid']);
    ?>
								<tr>
									<td class="listlr"><?php 
    echo htmlspecialchars($rule['event']);
    ?>
&nbsp;</td>
									<td class="listr"><?php 
    echo htmlspecialchars($rule['occurrence']);
    ?>
/<?php 
    echo htmlspecialchars($rule['timeinterval']);
    ?>
</td>
									<td class="listr"><?php 
    echo htmlspecialchars($rule['expire']);
					</tr>
					<?php 
$raidstatus = get_gvinum_disks_list();
?>
					<?php 
$i = 0;
foreach ($a_raid as $raid) {
    ?>
					<?php 
    $size = gettext("Unknown");
    $status = gettext("Stopped");
    if (is_array($raidstatus) && array_key_exists($raid['name'], $raidstatus)) {
        $size = $raidstatus[$raid['name']]['size'];
        $status = $raidstatus[$raid['name']]['state'];
    }
    $notificationmode = updatenotify_get_mode("raid_gvinum", $raid['uuid']);
    switch ($notificationmode) {
        case UPDATENOTIFY_MODE_NEW:
            $size = gettext("Initializing");
            $status = gettext("Initializing");
            break;
        case UPDATENOTIFY_MODE_MODIFIED:
            $size = gettext("Modifying");
            $status = gettext("Modifying");
            break;
        case UPDATENOTIFY_MODE_DIRTY:
            $status = gettext("Deleting");
            break;
    }
    ?>
					<tr>
</td>
            <td width="10%" class="listhdrr"><?php 
echo gettext("List");
?>
</td>
            <td width="10%" class="listhdrr"><?php 
echo gettext("Access mode");
?>
</td>
            <td width="10%" class="list"></td>
          </tr>
  			  <?php 
foreach ($a_module as $modulev) {
    ?>
  			  <?php 
    $notificationmode = updatenotify_get_mode("rsyncd", $modulev['uuid']);
    ?>
          <tr>
            <td class="listlr"><?php 
    echo htmlspecialchars($modulev['name']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($modulev['path']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($modulev['comment']);
    ?>
&nbsp;</td>
            <td class="listbg"><?php 
Example #5
0
					</tr>
					<?php 
$raidstatus = get_gmirror_disks_list();
?>
					<?php 
$i = 0;
foreach ($a_raid as $raid) {
    ?>
					<?php 
    $size = gettext("Unknown");
    $status = gettext("Stopped");
    if (is_array($raidstatus) && array_key_exists($raid['name'], $raidstatus)) {
        $size = $raidstatus[$raid['name']]['size'];
        $status = $raidstatus[$raid['name']]['state'];
    }
    $notificationmode = updatenotify_get_mode("raid_gmirror", $raid['uuid']);
    switch ($notificationmode) {
        case UPDATENOTIFY_MODE_NEW:
            $size = gettext("Initializing");
            $status = gettext("Initializing");
            break;
        case UPDATENOTIFY_MODE_MODIFIED:
            $size = gettext("Modifying");
            $status = gettext("Modifying");
            break;
        case UPDATENOTIFY_MODE_DIRTY:
            $status = gettext("Deleting");
            break;
    }
    ?>
          <tr>
</td>
						<td width="20%" class="listhdrr"><?php 
echo gettext("Gateway");
?>
</td>
						<td width="30%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_routes as $route) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("routes", $route['uuid']);
    ?>
					<tr>
						<td class="listlr">
							<?php 
    $iflabels = array('lan' => 'LAN', 'wan' => 'WAN', 'pptp' => 'PPTP');
    for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) {
        $iflabels['opt' . $j] = $config['interfaces']['opt' . $j]['descr'];
    }
    echo htmlspecialchars($iflabels[$route['interface']]);
    ?>
						</td>
	          <td class="listr"><?php 
    echo strtolower($route['network']);
    ?>
&nbsp;</td>
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("File system");
?>
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Status");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_disk_conf as $disk) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("device", $disk['uuid']);
    switch ($notificationmode) {
        case UPDATENOTIFY_MODE_NEW:
            $status = gettext("Initializing");
            break;
        case UPDATENOTIFY_MODE_MODIFIED:
            $status = gettext("Modifying");
            break;
        case UPDATENOTIFY_MODE_DIRTY:
            $status = gettext("Deleting");
            break;
        default:
            $status = 0 == disks_exists($disk['devicespecialfile']) ? gettext("ONLINE") : gettext("MISSING");
            break;
    }
    ?>
Example #8
0
</td>
									<td width="30%" class="listhdrr"><?php 
echo gettext("Type");
?>
</td>
									<td width="40%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
									<td width="10%" class="list"></td>
				        </tr>
							  <?php 
foreach ($a_selftest as $selftest) {
    ?>
							  <?php 
    $notificationmode = updatenotify_get_mode("smartssd", $selftest['uuid']);
    ?>
				        <tr>
				          <td class="listlr"><?php 
    echo htmlspecialchars($selftest['devicespecialfile']);
    ?>
&nbsp;</td>
									<td class="listr"><?php 
    echo htmlspecialchars(gettext($a_type[$selftest['type']]));
    ?>
&nbsp;</td>
									<td class="listr"><?php 
    echo htmlspecialchars($selftest['desc']);
    ?>
&nbsp;</td>
									<?php 
Example #9
0
</td>
	          <td width="20%" class="listhdrr"><?php 
echo gettext("Value");
?>
</td>
	          <td width="30%" class="listhdrr"><?php 
echo gettext("Comment");
?>
</td>
	          <td width="10%" class="list"></td>
	        </tr>
				  <?php 
foreach ($loader_param_list as $param) {
    ?>
				  <?php 
    $notificationmode = updatenotify_get_mode("loaderconf", $param['uuid']);
    ?>
	        <tr>
	        	<?php 
    $enable = isset($param['enable']);
    ?>
	          <td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($param['name']);
    ?>
&nbsp;</td>
	          <td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>
Example #10
0
</td>
						<td width="5%" class="listhdrr"><?php 
echo gettext("UID");
?>
</td>
						<td width="30%" class="listhdrr"><?php 
echo gettext("Group");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_user as $userv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("userdb_user", $userv['uuid']);
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($userv['login']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($userv['fullname']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($userv['id']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Schedule time");
?>
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Life time");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_autosnapshot as $autosnapshotv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfsautosnapshot", serialize(array('uuid' => $autosnapshotv['uuid'])));
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($autosnapshotv['path']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($autosnapshotv['name']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars(isset($autosnapshotv['recursive']) ? "yes" : "no");
    ?>
&nbsp;</td>
						<td class="listr"><?php 
					</tr>
					<?php 
$raidstatus = get_gconcat_disks_list();
?>
					<?php 
$i = 0;
foreach ($a_raid as $raid) {
    ?>
					<?php 
    $size = gettext("Unknown");
    $status = gettext("Stopped");
    if (is_array($raidstatus) && array_key_exists($raid['name'], $raidstatus)) {
        $size = $raidstatus[$raid['name']]['size'];
        $status = $raidstatus[$raid['name']]['state'];
    }
    $notificationmode = updatenotify_get_mode("raid_gconcat", $raid['uuid']);
    switch ($notificationmode) {
        case UPDATENOTIFY_MODE_NEW:
            $size = gettext("Initializing");
            $status = gettext("Initializing");
            break;
        case UPDATENOTIFY_MODE_MODIFIED:
            $size = gettext("Modifying");
            $status = gettext("Modifying");
            break;
        case UPDATENOTIFY_MODE_DIRTY:
            $status = gettext("Deleting");
            break;
    }
    ?>
          <tr>
Example #13
0
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Health");
?>
</td>
						<td width="15%" class="listhdrr"><?php 
echo gettext("AltRoot");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_pool as $poolk => $poolv) {
    ?>
					<?php 
    $notificationmode = isset($poolv['uuid']) ? updatenotify_get_mode("zfszpool", $poolv['uuid']) : UPDATENOTIFY_MODE_UNKNOWN;
    if (UPDATENOTIFY_MODE_NEW == $notificationmode) {
        $altroot = $cap = $avail = $used = $size = $dedup = $health = gettext("Initializing");
    } else {
        if (UPDATENOTIFY_MODE_MODIFIED == $notificationmode) {
            $altroot = $cap = $avail = $used = $size = $dedup = $health = gettext("Modifying");
        } else {
            $altroot = $cap = $avail = $used = $size = $dedup = $health = gettext("Unknown");
        }
    }
    if (is_array($a_poolstatus) && array_key_exists($poolv['name'], $a_poolstatus)) {
        $size = $a_poolstatus[$poolv['name']]['size'];
        $used = $a_poolstatus[$poolv['name']]['used'];
        $avail = $a_poolstatus[$poolv['name']]['avail'];
        $cap = $a_poolstatus[$poolv['name']]['cap'];
        $dedup = $a_poolstatus[$poolv['name']]['dedup'];
Example #14
0
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Sparse");
?>
</td>
						<td width="30%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_volume as $volumev) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfsvolume", $volumev['uuid']);
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($volumev['pool'][0]);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($volumev['name']);
    ?>
&nbsp;</td>
						<?php 
    if (UPDATENOTIFY_MODE_MODIFIED == $notificationmode || UPDATENOTIFY_MODE_NEW == $notificationmode) {
        ?>
						<td class="listr"><?php 
        echo htmlspecialchars($volumev['volsize']);
Example #15
0
</td>
	          <td width="20%" class="listhdrr"><?php 
echo gettext("Value");
?>
</td>
	          <td width="30%" class="listhdrr"><?php 
echo gettext("Comment");
?>
</td>
	          <td width="10%" class="list"></td>
	        </tr>
				  <?php 
foreach ($a_rcvar as $rcvarv) {
    ?>
				  <?php 
    $notificationmode = updatenotify_get_mode("rcconf", $rcvarv['uuid']);
    ?>
	        <tr>
	        	<?php 
    $enable = isset($rcvarv['enable']);
    ?>
	          <td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($rcvarv['name']);
    ?>
&nbsp;</td>
	          <td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Who");
?>
</td>
						<td width="30%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
            <td width="10%" class="list"></td>
          </tr>
  			  <?php 
foreach ($a_rsyncclient as $rsyncclient) {
    ?>
  			  <?php 
    $notificationmode = updatenotify_get_mode("rsyncclient", $rsyncclient['uuid']);
    ?>
          <tr>
          	<?php 
    $enable = isset($rsyncclient['enable']);
    ?>
						<td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($rsyncclient['remoteshare']);
    ?>
&nbsp;</td>
						<td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>
</td>
									<td width="5%" class="listhdrr"><?php 
echo htmlspecialchars(gettext("<->"));
?>
</td>
									<td width="26%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
									<td width="10%" class="list"></td>
								</tr>
								<?php 
foreach ($a_rule as $rule) {
    ?>
								<?php 
    $notificationmode = updatenotify_get_mode("firewall", $rule['uuid']);
    ?>
								<tr>
									<?php 
    $enable = isset($rule['enable']);
    switch ($rule['action']) {
        case "allow":
            $actionimg = "fw_action_allow.gif";
            break;
        case "deny":
            $actionimg = "fw_action_deny.gif";
            break;
        case "unreach host":
            $actionimg = "fw_action_reject.gif";
            break;
    }
					</tr>
					<?php 
$raidstatus = get_gstripe_disks_list();
?>
					<?php 
$i = 0;
foreach ($a_raid as $raid) {
    ?>
					<?php 
    $size = gettext("Unknown");
    $status = gettext("Stopped");
    if (is_array($raidstatus) && array_key_exists($raid['name'], $raidstatus)) {
        $size = $raidstatus[$raid['name']]['size'];
        $status = $raidstatus[$raid['name']]['state'];
    }
    $notificationmode = updatenotify_get_mode("raid_gstripe", $raid['uuid']);
    switch ($notificationmode) {
        case UPDATENOTIFY_MODE_NEW:
            $size = gettext("Initializing");
            $status = gettext("Initializing");
            break;
        case UPDATENOTIFY_MODE_MODIFIED:
            $size = gettext("Modifying");
            $status = gettext("Modifying");
            break;
        case UPDATENOTIFY_MODE_DIRTY:
            $status = gettext("Deleting");
            break;
    }
    ?>
          <tr>
Example #19
0
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Who");
?>
</td>
						<td width="30%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
            <td width="10%" class="list"></td>
          </tr>
  			  <?php 
foreach ($a_rsynclocal as $rsynclocal) {
    ?>
  			  <?php 
    $notificationmode = updatenotify_get_mode("rsynclocal", $rsynclocal['uuid']);
    ?>
          <tr>
          	<?php 
    $enable = isset($rsynclocal['enable']);
    ?>
            <td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($rsynclocal['source']);
    ?>
&nbsp;</td>
						<td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>
</td>
						<td width="5%" class="listhdrr"><?php 
echo gettext("GID");
?>
</td>
						<td width="40%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_group_conf as $groupv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("userdb_group", $groupv['uuid']);
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($groupv['name']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($groupv['id']);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($groupv['desc']);
    ?>
&nbsp;</td>
						<?php 
Example #21
0
</td>
						<td width="25%" class="listhdrr"><?php 
echo gettext("Name");
?>
</td>
						<td width="45%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_dataset as $datasetv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfsdataset", $datasetv['uuid']);
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($datasetv['pool'][0]);
    ?>
&nbsp;</td>
						<td class="listr"><?php 
    echo htmlspecialchars($datasetv['name']);
    ?>
&nbsp;</td>
						<td class="listbg"><?php 
    echo htmlspecialchars($datasetv['desc']);
    ?>
&nbsp;</td>
						<?php 
Example #22
0
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Who");
?>
</td>
						<td width="40%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
	        </tr>
				  <?php 
foreach ($a_cron as $job) {
    ?>
				  <?php 
    $notificationmode = updatenotify_get_mode("cronjob", $job['uuid']);
    ?>
	        <tr>
	        	<?php 
    $enable = isset($job['enable']);
    ?>
	        	<td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($job['command']);
    ?>
&nbsp;</td>
	          <td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>
</td>
						<td width="10%" class="listhdrr"><?php 
echo gettext("Health");
?>
</td>
						<td width="20%" class="listhdrr"><?php 
echo gettext("AltRoot");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_pool as $poolk => $poolv) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfszpool", $poolv['uuid']);
    $altroot = $cap = $avail = $used = $size = $health = gettext("Unknown");
    if (is_array($a_poolstatus) && array_key_exists($poolv['name'], $a_poolstatus)) {
        $size = $a_poolstatus[$poolv['name']]['size'];
        $used = $a_poolstatus[$poolv['name']]['used'];
        $avail = $a_poolstatus[$poolv['name']]['avail'];
        $cap = $a_poolstatus[$poolv['name']]['cap'];
        $health = $a_poolstatus[$poolv['name']]['health'];
        $altroot = $a_poolstatus[$poolv['name']]['altroot'];
    }
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($poolv['name']);
    ?>
&nbsp;</td>
Example #24
0
    echo htmlspecialchars($geli['name']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($geli['aalgo']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($geli['ealgo']);
    ?>
&nbsp;</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']}&amp;action=attach\">" . htmlspecialchars(gettext("Not attached")) . "</a>";
        } else {
            echo htmlspecialchars(gettext("Attached"));
        }
    }
    ?>
Example #25
0
</td>
            <td width="35%" class="listhdrr"><?php 
echo gettext("Path");
?>
</td>
            <td width="40%" class="listhdrr"><?php 
echo gettext("Comment");
?>
</td>
            <td width="10%" class="list"></td>
          </tr>
  			  <?php 
foreach ($a_share as $sharev) {
    ?>
  			  <?php 
    $notificationmode = updatenotify_get_mode("afpshare", $sharev['uuid']);
    ?>
          <tr>
            <td class="listlr"><?php 
    echo htmlspecialchars($sharev['name']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($sharev['path']);
    ?>
&nbsp;</td>
            <td class="listr"><?php 
    echo htmlspecialchars($sharev['comment']);
    ?>
&nbsp;</td>
            <?php 
</td>
						<td width="15%" class="listhdrr"><?php 
echo gettext("Type");
?>
</td>
						<td width="55%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
						<td width="10%" class="list"></td>
					</tr>
					<?php 
foreach ($a_vdevice as $vdevicev) {
    ?>
					<?php 
    $notificationmode = updatenotify_get_mode("zfsvdev", $vdevicev['uuid']);
    ?>
					<tr>
						<td class="listlr"><?php 
    echo htmlspecialchars($vdevicev['name']);
    ?>
</td>
						<td class="listr"><?php 
    echo htmlspecialchars($vdevicev['type']);
    ?>
</td>
						<td class="listbg"><?php 
    echo htmlspecialchars($vdevicev['desc']);
    ?>
&nbsp;</td>
						<?php 
</td>
          <td width="25%" class="listhdrr"><?php 
echo gettext("Networks");
?>
</td>
          <td width="30%" class="listhdrr"><?php 
echo gettext("Comment");
?>
</td>
          <td width="10%" class="list"></td>
        </tr>
        <?php 
foreach ($config['iscsitarget']['initiatorgroup'] as $ig) {
    ?>
        <?php 
    $notificationmode = updatenotify_get_mode("iscsitarget_ig", $ig['uuid']);
    ?>
        <tr>
          <td class="listlr"><?php 
    echo htmlspecialchars($ig['tag']);
    ?>
&nbsp;</td>
          <td class="listr">
          <?php 
    foreach ($ig['iginitiatorname'] as $initiator) {
        ?>
          <?php 
        echo htmlspecialchars($initiator) . "<br />\n";
        ?>
          <?php 
    }
Example #28
0
									<td width="35%" class="listhdrr"><?php 
echo gettext("Description");
?>
</td>
									<td width="10%" class="list"></td>
								</tr>
								<?php 
foreach ($a_hosts as $host) {
    ?>
								<?php 
    if (empty($host['uuid'])) {
        continue;
    }
    ?>
								<?php 
    $notificationmode = updatenotify_get_mode("hosts", $host['uuid']);
    ?>
								<tr>
									<td class="listlr"><?php 
    echo htmlspecialchars($host['name']);
    ?>
&nbsp;</td>
									<td class="listr"><?php 
    echo htmlspecialchars($host['address']);
    ?>
&nbsp;</td>
									<td class="listbg"><?php 
    echo htmlspecialchars($host['descr']);
    ?>
&nbsp;</td>
									<?php 
Example #29
0
								<tr>
									<td width="45%" class="listhdrlr"><?php 
echo gettext("URL");
?>
</td>
									<td width="45%" class="listhdrr"><?php 
echo gettext("Realm");
?>
</td>
									<td width="10%" class="list"></td>
								</tr>
								<?php 
foreach ($config['websrv']['authentication']['url'] as $urlv) {
    ?>
								<?php 
    $notificationmode = updatenotify_get_mode("websrvauth", $urlv['uuid']);
    ?>
								<tr>
									<td class="listlr"><?php 
    echo htmlspecialchars($urlv['path']);
    ?>
&nbsp;</td>
									<td class="listr"><?php 
    echo htmlspecialchars($urlv['realm']);
    ?>
&nbsp;</td>
									<?php 
    if (UPDATENOTIFY_MODE_DIRTY != $notificationmode) {
        ?>
									<td valign="middle" nowrap="nowrap" class="list">
										<?php 
Example #30
0
</td>
	          <td width="20%" class="listhdrr"><?php 
echo gettext("Value");
?>
</td>
	          <td width="30%" class="listhdrr"><?php 
echo gettext("Comment");
?>
</td>
	          <td width="10%" class="list"></td>
	        </tr>
				  <?php 
foreach ($a_sysctlvar as $sysctlvarv) {
    ?>
				  <?php 
    $notificationmode = updatenotify_get_mode("sysctl", $sysctlvarv['uuid']);
    ?>
	        <tr>
	        	<?php 
    $enable = isset($sysctlvarv['enable']);
    ?>
	          <td class="<?php 
    echo $enable ? "listlr" : "listlrd";
    ?>
"><?php 
    echo htmlspecialchars($sysctlvarv['name']);
    ?>
&nbsp;</td>
	          <td class="<?php 
    echo $enable ? "listr" : "listrd";
    ?>