Merge pull request #1743 from arjitc/patch-7

This commit is contained in:
Neil Lathwood 2015-08-23 14:58:23 +01:00
commit a9b08fbaa0

View File

@ -128,7 +128,7 @@ else {
}
</script>
<?php
echo("
echo("<center>
<form class='form-inline' id='customrange' action='test'>
<input type=hidden id='selfaction' value='" . $_SERVER['REQUEST_URI'] . "'>");
echo('
@ -161,12 +161,11 @@ else {
$("#dtpickerfrom").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
$("#dtpickerto").datetimepicker({useCurrent: true, sideBySide: true, useStrict: false});
});
</script>
</script></center>
');
echo("<hr />");
echo ('<div style="padding-top: 5px";></div>');
echo('<center>');
if ($vars['legend'] == "no") {
echo(generate_link("Show Legend",$vars, array('page' => "graphs", 'legend' => NULL)));
}
@ -186,16 +185,14 @@ else {
}
# }
echo('<div style="float: right;">');
echo(' | ');
if ($vars['showcommand'] == "yes") {
echo(generate_link("Hide RRD Command",$vars, array('page' => "graphs", 'showcommand' => NULL)));
}
else {
echo(generate_link("Show RRD Command",$vars, array('page' => "graphs", 'showcommand' => "yes")));
}
echo('</div>');
echo('</center>');
print_optionbar_end();