summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dnsmasq.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-19 18:45:46 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-19 18:45:46 +0000
commitf0fe3d307a06d707f1ab9e4ff17d0a29aa17eb0d (patch)
tree1b0fcfcd9a3aac7496acf4f1ee200b1163d8bbc8 /usr/local/www/services_dnsmasq.php
parent19ae092972b6d541d67d0291efa776b3ae295086 (diff)
downloadpfsense-f0fe3d307a06d707f1ab9e4ff17d0a29aa17eb0d.zip
pfsense-f0fe3d307a06d707f1ab9e4ff17d0a29aa17eb0d.tar.gz
Convert description font color to white
Diffstat (limited to 'usr/local/www/services_dnsmasq.php')
-rwxr-xr-xusr/local/www/services_dnsmasq.php60
1 files changed, 30 insertions, 30 deletions
diff --git a/usr/local/www/services_dnsmasq.php b/usr/local/www/services_dnsmasq.php
index c69bb85..0c904f0 100755
--- a/usr/local/www/services_dnsmasq.php
+++ b/usr/local/www/services_dnsmasq.php
@@ -3,20 +3,20 @@
/*
services_dnsmasq.php
part of m0n0wall (http://m0n0.ch/wall)
-
+
Copyright (C) 2003-2004 Bob Zoller <bob@kludgebox.com> and Manuel Kasper <mk@neon1.net>.
All rights reserved.
-
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-
+
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
-
+
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
-
+
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
@@ -48,7 +48,7 @@ if ($_POST) {
$config['dnsmasq']['regdhcp'] = ($_POST['regdhcp']) ? true : false;
write_config();
-
+
$retval = 0;
if (!file_exists($d_sysrebootreqd_path)) {
config_lock();
@@ -91,42 +91,42 @@ if ($_GET['act'] == "del") {
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
<?php endif; ?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td class="vtable"><p>
+ <tr>
+ <td class="vtable"><p>
<input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable'] == "yes") echo "checked";?>>
<strong>Enable DNS forwarder<br>
</strong></p></td>
</tr>
- <tr>
- <td class="vtable"><p>
+ <tr>
+ <td class="vtable"><p>
<input name="regdhcp" type="checkbox" id="regdhcp" value="yes" <?php if ($pconfig['regdhcp'] == "yes") echo "checked";?>>
<strong>Register DHCP leases in DNS forwarder<br>
- </strong>If this option is set, then machines that specify
- their hostname when requesting a DHCP lease will be registered
- in the DNS forwarder, so that their name can be resolved.
- You should also set the domain in <a href="system.php">System:
+ </strong>If this option is set, then machines that specify
+ their hostname when requesting a DHCP lease will be registered
+ in the DNS forwarder, so that their name can be resolved.
+ You should also set the domain in <a href="system.php">System:
General setup</a> to the proper value.</p>
</td>
</tr>
- <tr>
- <td> <input name="submit" type="submit" class="formbtn" value="Save">
+ <tr>
+ <td> <input name="submit" type="submit" class="formbtn" value="Save">
</td>
</tr>
- <tr>
+ <tr>
<td><p><span class="vexpl"><span class="red"><strong>Note:<br>
- </strong></span>If the DNS forwarder is enabled, the DHCP
- service (if enabled) will automatically serve the LAN IP
- address as a DNS server to DHCP clients so they will use
- the forwarder. The DNS forwarder will use the DNS servers
- entered in <a href="system.php">System: General setup</a>
- or those obtained via DHCP or PPP on WAN if the &quot;Allow
- DNS server list to be overridden by DHCP/PPP on WAN&quot;</span>
- is checked. If you don't use that option (or if you use
- a static IP address on WAN), you must manually specify at
- least one DNS server on the <a href="system.php">System:
+ </strong></span>If the DNS forwarder is enabled, the DHCP
+ service (if enabled) will automatically serve the LAN IP
+ address as a DNS server to DHCP clients so they will use
+ the forwarder. The DNS forwarder will use the DNS servers
+ entered in <a href="system.php">System: General setup</a>
+ or those obtained via DHCP or PPP on WAN if the &quot;Allow
+ DNS server list to be overridden by DHCP/PPP on WAN&quot;</span>
+ is checked. If you don't use that option (or if you use
+ a static IP address on WAN), you must manually specify at
+ least one DNS server on the <a href="system.php">System:
General setup</a> page.<br>
<br>
- You may enter records that override the results from the
+ You may enter records that override the results from the
forwarders below.</p></td>
</tr>
</table>
@@ -151,13 +151,13 @@ if ($_GET['act'] == "del") {
<?=$hostent['ip'];?>&nbsp;
</td>
<td class="listbg">
- <?=htmlspecialchars($hostent['descr']);?>&nbsp;
+ <font color="#FFFFFF"><?=htmlspecialchars($hostent['descr']);?>&nbsp;
</td>
<td valign="middle" nowrap class="list"> <a href="services_dnsmasq_edit.php?id=<?=$i;?>"><img src="e.gif" width="17" height="17" border="0"></a>
&nbsp;<a href="services_dnsmasq.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this host?')"><img src="x.gif" width="17" height="17" border="0"></a></td>
</tr>
<?php $i++; endforeach; ?>
- <tr>
+ <tr>
<td class="list" colspan="4"></td>
<td class="list"> <a href="services_dnsmasq_edit.php"><img src="plus.gif" width="17" height="17" border="0"></a></td>
</tr>
OpenPOWER on IntegriCloud