Some more performance improvements and caching
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<td><?php echo substr($ctype,0,1); ?></td>
|
||||
<?php } ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<?php foreach ($o->stgpooltypes() as $type) { ?>
|
||||
<td colspan="3" class="right"><?php echo $type; ?>(Vol/Fil/Dat)</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
@@ -31,7 +31,7 @@
|
||||
<?php foreach (Kohana::$config->load('config')->tsmdatatypes as $btype => $ctype) { ?>
|
||||
<td class="data"><?php echo $no->hasData($ctype) ? 'Y' : 'N'; ?></td>
|
||||
<?php } ?>
|
||||
<?php foreach (Kohana::$config->load('config')->tsmpooltypes as $type) { ?>
|
||||
<?php foreach ($o->stgpooltypes() as $type) { ?>
|
||||
<td class="data-right"><?php echo count($no->vols_byptype($type)); ?></td>
|
||||
<td class="data-right"><?php echo number_format($no->file_byptype($type),0); ?></td>
|
||||
<td class="data-right"><?php echo number_format($no->logmb_byptype($type),0); ?></td>
|
||||
|
Reference in New Issue
Block a user