diff options
-rwxr-xr-x | usr/local/www/status_rrd_graph_settings.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php index 0fba0be..7de6788 100755 --- a/usr/local/www/status_rrd_graph_settings.php +++ b/usr/local/www/status_rrd_graph_settings.php @@ -142,7 +142,7 @@ include("head.inc"); <tr> <td width="22%" valign="top" class="vtable"><?=gettext("RRD Graphs");?></td> <td width="78%" class="vtable"> - <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo gettext("checked"); ?> onClick="enable_change(false)"> + <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked" ?> onClick="enable_change(false)"> <b><?=gettext("Enables the RRD graphing backend.");?></b> </td> </tr> @@ -153,7 +153,7 @@ include("head.inc"); <?php foreach ($categories as $category => $categoryd) { echo "<option value=\"$category\""; - if ($category == $pconfig['category']) echo gettext(" selected"); + if ($category == $pconfig['category']) echo " selected"; echo ">" . htmlspecialchars($categoryd) . "</option>\n"; } ?> @@ -168,7 +168,7 @@ include("head.inc"); <?php foreach ($styles as $style => $styled) { echo "<option value=\"$style\""; - if ($style == $pconfig['style']) echo gettext(" selected"); + if ($style == $pconfig['style']) echo " selected"; echo ">" . htmlspecialchars($styled) . "</option>\n"; } ?> @@ -185,8 +185,8 @@ include("head.inc"); <tr> <td width="22%" height="53" valign="top"> </td> <td width="78%"><strong><span class="red"><?=gettext("Note:");?></span></strong><br> - <?=gettext("Graphs will not be allowed to be recreated within a 1 minute interval, please - take this into account after changing the style.");?> + <?=gettext("Graphs will not be allowed to be recreated within a 1 minute interval, please " . + "take this into account after changing the style.");?> </td> </tr> </table> |