This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/node/cloptset.php

30 lines
832 B
PHP
Raw Permalink Normal View History

2012-11-29 22:58:15 +00:00
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Server Side Client Options</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Client Option</td>
<td>Seq #</td>
<td>Setting</td>
<td>Forced</td>
</tr>
<?php if ($o->OPTION_SET) { ?>
<?php $i=0; foreach ($o->CLIENTOPT->find_all() as $coo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo $coo->display('OPTION_NAME'); ?></td>
<td class="data"><?php echo $coo->display('SEQNUMBER'); ?></td>
<td class="data"><?php echo $coo->display('OPTION_VALUE'); ?></td>
<td class="data"><?php echo $coo->display('FORCE'); ?></td>
</tr>
<?php } ?>
<?php } else { ?>
<tr>
<td>This node is not configured for any server side Client Options</td>
</tr>
<?php } ?>
</table>