diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-01-14 13:27:36 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-01-14 13:27:36 +0000 |
commit | a3381369d9858b92e3282f5d20ff94b62349b93a (patch) | |
tree | 021d4f761db4cdaed63a7dff1d70e1d1c7cc10c4 /usr/local/www/diag_nanobsd.php | |
parent | 11d1d64e81484f3175780e841f72fe845d7205f3 (diff) | |
download | pfsense-a3381369d9858b92e3282f5d20ff94b62349b93a.zip pfsense-a3381369d9858b92e3282f5d20ff94b62349b93a.tar.gz |
Update PHP shorthand tag
Standardise all PHP start tags from "<?" to "<?PHP"
Diffstat (limited to 'usr/local/www/diag_nanobsd.php')
-rwxr-xr-x | usr/local/www/diag_nanobsd.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/diag_nanobsd.php b/usr/local/www/diag_nanobsd.php index c88aa1b..80bb87e 100755 --- a/usr/local/www/diag_nanobsd.php +++ b/usr/local/www/diag_nanobsd.php @@ -245,10 +245,10 @@ if ($savemsg) <form action="diag_nanobsd.php" method="post" name="iform"> <?=gettext("Frequency:");?> <select name='rrdbackup'> - <option value='0' <? if (!isset($config['system']['rrdbackup']) || ($config['system']['rrdbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option> - <? for ($x=1; $x<=24; $x++) { ?> - <option value='<?= $x ?>' <? if ($config['system']['rrdbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><? if ($x>1) echo "s"; ?></option> - <? } ?> + <option value='0' <?php if (!isset($config['system']['rrdbackup']) || ($config['system']['rrdbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option> + <?php for ($x=1; $x<=24; $x++) { ?> + <option value='<?= $x ?>' <?php if ($config['system']['rrdbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><?php if ($x>1) echo "s"; ?></option> + <?php } ?> </select> <br/> <?=gettext("This will periodically backup the RRD data so it can be restored automatically on the next boot. Keep in mind that the more frequent the backup, the more writes will happen to your media.");?> @@ -262,10 +262,10 @@ if ($savemsg) <form action="diag_nanobsd.php" method="post" name="iform"> <?=gettext("Frequency:");?> <select name='dhcpbackup'> - <option value='0' <? if (!isset($config['system']['dhcpbackup']) || ($config['system']['dhcpbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option> - <? for ($x=1; $x<=24; $x++) { ?> - <option value='<?= $x ?>' <? if ($config['system']['dhcpbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><? if ($x>1) echo "s"; ?></option> - <? } ?> + <option value='0' <?php if (!isset($config['system']['dhcpbackup']) || ($config['system']['dhcpbackup'] == 0)) echo "selected"; ?>><?=gettext("Disable"); ?></option> + <?php for ($x=1; $x<=24; $x++) { ?> + <option value='<?= $x ?>' <?php if ($config['system']['dhcpbackup'] == $x) echo "selected"; ?>><?= $x ?> <?=gettext("hour"); ?><?php if ($x>1) echo "s"; ?></option> + <?php } ?> </select> <br/> <?=gettext("This will periodically backup the DHCP leases data so it can be restored automatically on the next boot. Keep in mind that the more frequent the backup, the more writes will happen to your media.");?> |