diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-30 23:29:01 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-30 23:29:01 -0500 |
commit | 7eb2ebbe2195e1840a45dbf7689a9ef0909e8bb9 (patch) | |
tree | e1bbb9317d10121cf658a97a1c33c9979c833cb1 /usr | |
parent | 75e22cbccb356cf1cb1ae6b282fcd554a1c0dcdf (diff) | |
download | pfsense-7eb2ebbe2195e1840a45dbf7689a9ef0909e8bb9.zip pfsense-7eb2ebbe2195e1840a45dbf7689a9ef0909e8bb9.tar.gz |
Make page more html friendly.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_dhcp_relay.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/usr/local/www/services_dhcp_relay.php b/usr/local/www/services_dhcp_relay.php index c8e918c..37a9837 100755 --- a/usr/local/www/services_dhcp_relay.php +++ b/usr/local/www/services_dhcp_relay.php @@ -130,12 +130,17 @@ function enable_change(enable_over) { <td> <div id="mainarea"> <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> + <tr> <?php - if ($dhcpd_enabled): - echo gettext("DHCP Server is currently enabled. Cannot enable the DHCP Relay service while the DHCP Server is enabled on any interface."); - else: + if ($dhcpd_enabled) { + echo "<td>DHCP Server is currently enabled. Cannot enable the DHCP Relay service while the DHCP Server is enabled on any interface."; + echo "</td></tr></table></div></td></tr></table></body>"; + echo "</html>"; + include("fend.inc"); + exit; + } ?> - <tr> + <td colspan="2" valign="top" class="listtopic"><?=gettext("DHCP Relay configuration"); ?></td> </tr> <tr> @@ -184,7 +189,6 @@ function enable_change(enable_over) { <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" onclick="enable_change(true)"> </td> </tr> -<?php endif; ?> </table> </div> </td> |