2011-06-10 21:55:32 +00:00
|
|
|
<div id="content">
|
|
|
|
<h2><?php echo $this->lang->L_MYSQLVARS;?></h2>
|
|
|
|
<?php echo $this->render('sql-server/head-navi.phtml'); ?>
|
|
|
|
<form action="" method="post" id="groupChange">
|
|
|
|
<p>
|
|
|
|
<?php echo $this->lang->L_FILTER_BY; ?>:
|
|
|
|
<select name="group" id="group" onchange="$('#groupChange').submit();">
|
|
|
|
<?php echo $this->groupOptions;?>
|
|
|
|
</select>
|
|
|
|
<button class="Formbutton" onclick="$('#group').val('');$('#groupChange').submit();" type="button">
|
|
|
|
<?php
|
|
|
|
echo $this->getIcon('delete');
|
|
|
|
echo $this->lang->L_DESELECT_ALL;?>
|
|
|
|
</button>
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
<table class="bdr">
|
|
|
|
<tr class="thead">
|
|
|
|
<th class="right">#</th>
|
|
|
|
<th><strong><?php echo $this->lang->L_NAME;?></strong></th>
|
|
|
|
<th><strong><?php echo $this->lang->L_VALUE;?></strong></th>
|
2012-07-28 20:27:25 +00:00
|
|
|
<th class="nowrap"><?php echo $this->lang->L_INTERPRETED_AS_BYTES;?></th>
|
2011-06-10 21:55:32 +00:00
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
$i = 1;
|
|
|
|
$cycleHelper = $this->getHelper('cycle')->cycle(array('row-even', 'row-odd'));
|
2012-07-28 20:27:25 +00:00
|
|
|
foreach ($this->variables as $name => $value) {
|
|
|
|
if (strpos($value, ',') !== false) {
|
|
|
|
$value = str_replace(',', ', ', $value);
|
|
|
|
}
|
|
|
|
?>
|
2011-06-10 21:55:32 +00:00
|
|
|
<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>
|
2012-07-28 20:27:25 +00:00
|
|
|
<td class="small nowrap">
|
|
|
|
<?php
|
|
|
|
if (is_numeric($value)) {
|
|
|
|
echo $this->byteOutput($value);
|
|
|
|
} else {
|
|
|
|
echo '-';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr><?php
|
|
|
|
++$i;
|
|
|
|
};
|
2011-06-10 21:55:32 +00:00
|
|
|
?>
|
|
|
|
</table>
|
|
|
|
<br /><br /><br />
|
2012-07-28 20:27:25 +00:00
|
|
|
</div>
|