1
0
Fork 0

SQL-Server / Show staus:

- added column which outputs numeric values in human readable form (e.g. xx MB)
Dieser Commit ist enthalten in:
DSB 2012-07-28 20:32:52 +00:00
Ursprung bfc06577ff
Commit 72e958fc92
2 geänderte Dateien mit 13 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -19,6 +19,7 @@
<th class="right">#</th>
<th><strong><?php echo $this->lang->L_NAME;?></strong></th>
<th><strong><?php echo $this->lang->L_VALUE;?></strong></th>
<th class="nowrap"><?php echo $this->lang->L_INTERPRETED_AS_BYTES;?></th>
</tr>
<?php
$i = 1;
@ -27,7 +28,16 @@
<tr class="<?php echo $cycleHelper->next()?>">
<td class="small right"><?php echo $i;?>.</td>
<td class="small"><?php echo $this->escape($name);?></td>
<td class="small"><?php echo $this->escape($value);?></td>
<td class="small right"><?php echo $this->escape($value);?></td>
<td class="small nowrap right">
<?php
if (is_numeric($value)) {
echo $this->byteOutput($value);
} else {
echo '-';
}
?>
</td>
</tr>
<?php
++$i;

Datei anzeigen

@ -33,7 +33,7 @@
<td class="small right"><?php echo $i;?>.</td>
<td class="small"><?php echo $this->escape($name);?></td>
<td class="small"><?php echo $this->escape($value);?></td>
<td class="small nowrap">
<td class="small nowrap right">
<?php
if (is_numeric($value)) {
echo $this->byteOutput($value);