Merge pull request #1743 from arjitc/patch-7

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

View File

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