Commit b06b01a0 authored by Fabian Franz's avatar Fabian Franz

fixes for #427 in status_graph.php

parent 94e16143
...@@ -204,9 +204,9 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl ...@@ -204,9 +204,9 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl
<thead> <thead>
<tr> <tr>
<th><?=gettext("Interface"); ?></th> <th><?=gettext("Interface"); ?></th>
<th>Sort by</th> <th><?= gettext('Sort by') ?></th>
<th>Filter</th> <th><?= gettext('Filter') ?></th>
<th>Display</th> <th><?= gettext('Display') ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -221,18 +221,18 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl ...@@ -221,18 +221,18 @@ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['client']['enabl
?> ?>
</select></td> </select></td>
<td><select id="sort" name="sort" class="form-control" style="z-index: -10;" onchange="document.form1.submit()"> <td><select id="sort" name="sort" class="form-control" style="z-index: -10;" onchange="document.form1.submit()">
<option value="">Bw In</option> <option value=""><?= gettext('Bw In') ?></option>
<option value="out"<?php if ($cursort == "out") echo " selected=\"selected\"";?>>Bw Out</option> <option value="out"<?php if ($cursort == "out") echo " selected=\"selected\"";?>><?= gettext('Bw Out') ?></option>
</select></td> </select></td>
<td><select id="filter" name="filter" class="form-control" style="z-index: -10;" onchange="document.form1.submit()"> <td><select id="filter" name="filter" class="form-control" style="z-index: -10;" onchange="document.form1.submit()">
<option value="local"<?php if ($curfilter == "local") echo " selected=\"selected\"";?>>Local</option> <option value="local"<?php if ($curfilter == "local") echo " selected=\"selected\"";?>><?= gettext('Local') ?></option>
<option value="remote"<?php if ($curfilter == "remote") echo " selected=\"selected\"";?>>Remote</option> <option value="remote"<?php if ($curfilter == "remote") echo " selected=\"selected\"";?>><?= gettext('Remote') ?></option>
<option value="all"<?php if ($curfilter == "all") echo " selected=\"selected\"";?>>All</option> <option value="all"<?php if ($curfilter == "all") echo " selected=\"selected\"";?>><?= gettext('All') ?></option>
</select></td> </select></td>
<td><select id="hostipformat" name="hostipformat" class="form-control" style="z-index: -10;" onchange="document.form1.submit()"> <td><select id="hostipformat" name="hostipformat" class="form-control" style="z-index: -10;" onchange="document.form1.submit()">
<option value="">IP Address</option> <option value=""><?= gettext('IP Address') ?></option>
<option value="hostname"<?php if ($curhostipformat == "hostname") echo " selected";?>>Host Name</option> <option value="hostname"<?php if ($curhostipformat == "hostname") echo " selected";?>><?= gettext('Host Name') ?></option>
<option value="fqdn"<?php if ($curhostipformat == "fqdn") echo " selected=\"selected\"";?>>FQDN</option> <option value="fqdn"<?php if ($curhostipformat == "fqdn") echo " selected=\"selected\"";?>><?= gettext('FQDN') ?></option>
</select></td> </select></td>
</tr> </tr>
</tbody> </tbody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment