SQL-Server / Show staus:
- added column which outputs numeric values in human readable form (e.g. xx MB)
Dieser Commit ist enthalten in:
Ursprung
bfc06577ff
Commit
72e958fc92
2 geänderte Dateien mit 13 neuen und 3 gelöschten Zeilen
|
@ -19,6 +19,7 @@
|
||||||
<th class="right">#</th>
|
<th class="right">#</th>
|
||||||
<th><strong><?php echo $this->lang->L_NAME;?></strong></th>
|
<th><strong><?php echo $this->lang->L_NAME;?></strong></th>
|
||||||
<th><strong><?php echo $this->lang->L_VALUE;?></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>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
$i = 1;
|
$i = 1;
|
||||||
|
@ -27,7 +28,16 @@
|
||||||
<tr class="<?php echo $cycleHelper->next()?>">
|
<tr class="<?php echo $cycleHelper->next()?>">
|
||||||
<td class="small right"><?php echo $i;?>.</td>
|
<td class="small right"><?php echo $i;?>.</td>
|
||||||
<td class="small"><?php echo $this->escape($name);?></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>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
++$i;
|
++$i;
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<td class="small right"><?php echo $i;?>.</td>
|
<td class="small right"><?php echo $i;?>.</td>
|
||||||
<td class="small"><?php echo $this->escape($name);?></td>
|
<td class="small"><?php echo $this->escape($name);?></td>
|
||||||
<td class="small"><?php echo $this->escape($value);?></td>
|
<td class="small"><?php echo $this->escape($value);?></td>
|
||||||
<td class="small nowrap">
|
<td class="small nowrap right">
|
||||||
<?php
|
<?php
|
||||||
if (is_numeric($value)) {
|
if (is_numeric($value)) {
|
||||||
echo $this->byteOutput($value);
|
echo $this->byteOutput($value);
|
||||||
|
|
Laden …
In neuem Issue referenzieren