Fixes to work with KH 3.3
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
<td>OS</td>
|
||||
<td>Last Access</td>
|
||||
<td>Last IP Addr</td>
|
||||
<?php foreach (Kohana::config('config.tsmdatatypes') as $btype => $ctype) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<td><?php echo $ctype[0]; ?></td>
|
||||
<?php } ?>
|
||||
<?php foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<td colspan="3" class="right"><?php echo $type; ?>(Vol/Fil/Dat)</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
@@ -28,10 +28,10 @@
|
||||
<td class="data"><?php echo $no->platform(); ?></td>
|
||||
<td class="data"><?php echo $no->display('LASTACC_TIME'); ?></td>
|
||||
<td class="data"><?php echo $no->display('TCP_ADDRESS'); ?></td>
|
||||
<?php foreach (Kohana::config('config.tsmdatatypes') as $btype => $ctype) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<td class="data"><?php echo $no->hasData($btype) ? 'Y' : 'N'; ?></td>
|
||||
<?php } ?>
|
||||
<?php foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<td class="data-right"><?php echo count($no->getStorageTypeVols($type)); ?></td>
|
||||
<td class="data-right"><?php echo $no->getStorageTypeFiles($type); ?></td>
|
||||
<td class="data-right"><?php echo $no->getStorageTypeData($type); ?></td>
|
||||
@@ -68,11 +68,11 @@
|
||||
<td class="right">Files</td>
|
||||
<td class="right">MB</td>
|
||||
</tr>
|
||||
<?php foreach (Kohana::config('config.tsmdatatypes') as $btype => $ctype) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<tr class="subhead">
|
||||
<td colspan="15"><?php echo $btype; ?></td>
|
||||
</tr>
|
||||
<?php foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<tr class="subhead">
|
||||
<td> </td>
|
||||
<td colspan="14"><?php echo $type; ?></td>
|
||||
@@ -125,11 +125,11 @@
|
||||
<td class="right">Nodes</td>
|
||||
<td class="right">Location</td>
|
||||
</tr>
|
||||
<?php foreach (Kohana::config('config.tsmdatatypes') as $btype => $ctype) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<tr class="subhead">
|
||||
<td colspan="14"><?php echo $btype; ?></td>
|
||||
</tr>
|
||||
<?php foreach (Kohana::config('config.tsmpooltypes') as $type) { ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<tr class="subhead">
|
||||
<td> </td>
|
||||
<td colspan="13"><?php echo $type; ?></td>
|
||||
|
Reference in New Issue
Block a user