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/stgpool/devclass.php

49 lines
1.3 KiB
PHP
Raw Normal View History

2012-11-29 22:58:15 +00:00
<!-- $o = ORM::factory('STGPOOL') -->
<table class="box-full">
<tr>
<td class="head" colspan="5">Device Class information</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td style="width: 40%;">Access</td>
<td style="width: 60%;" class="data"><?php echo $o->DEVCLASSES->display('ACCESS_STRATEGY'); ?></td>
</tr>
<tr>
<td>Device Type</td>
<td class="data"><?php echo $o->DEVCLASSES->display('DEVTYPE'); ?></td>
</tr>
<tr>
<td>Format</td>
<td class="data"><?php echo $o->DEVCLASSES->display('FORMAT'); ?></td>
</tr>
<tr>
<td>Capacity</td>
<td class="data"><?php echo $o->DEVCLASSES->display('CAPACITY'); ?></td>
</tr>
<tr>
<td>Mount Limit</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTLIMIT'); ?></td>
</tr>
<?php if ($o->DEVCLASSES->DEVTYPE == 'FILE') { ?>
<tr>
<td>Directory</td>
<td class="data"><?php echo $o->DEVCLASSES->display('DIRECTORY'); ?></td>
</tr>
<?php } else { ?>
<tr>
<td>Library</td>
<td class="data"><?php echo $o->DEVCLASSES->display('LIBRARY_NAME'); ?></td>
</tr>
<tr>
<td>Mount Wait</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTWAIT'); ?></td>
</tr>
<tr>
<td>Mount Retention</td>
<td class="data"><?php echo $o->DEVCLASSES->display('MOUNTRETENTION'); ?></td>
</tr>
<?php } ?>
</table>