summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-19 21:45:39 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-19 21:45:39 +0000
commit8ab1c5e2abe8149b03a3f70fe6630037e40cdcf7 (patch)
treeca1a4c91515b64164196f424a0d9ce114790342f
parent6c762c6210102a9bbdc5d796dc74490f0148ad05 (diff)
downloadpfsense-8ab1c5e2abe8149b03a3f70fe6630037e40cdcf7.zip
pfsense-8ab1c5e2abe8149b03a3f70fe6630037e40cdcf7.tar.gz
Fix shifted order. Somebody must have removed a service from here. I am still not sure if the first should be only dyndns or it should be dnsomatic as for values saved on configscp services_dyndns.php root@192.168.10.1:/usr/local/www.
-rwxr-xr-xusr/local/www/services_dyndns.php4
-rw-r--r--usr/local/www/services_dyndns_edit.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php
index efa0043..a1be680 100755
--- a/usr/local/www/services_dyndns.php
+++ b/usr/local/www/services_dyndns.php
@@ -82,8 +82,8 @@ include("head.inc");
</td>
<td class="listlr">
<?php
- $types = explode(",", "DNS-O-Matic DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,ZoneEdit,Loopia,freeDNS");
- $vals = explode(" ", "dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns");
+ $types = explode(",", "DNS-O-Matic DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,Loopia,freeDNS");
+ $vals = explode(" ", "dnsomatic dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns");
$j = 0; for ($j = 0; $j < count($vals); $j++)
if ($vals[$j] == $dyndns['type']) {
echo htmlspecialchars($types[$j]);
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 9cc73cd..50062cf 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -123,7 +123,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncellreq">Disable</td>
<td width="78%" class="vtable">
- <input name="enable" type="checkbox" id="enable" value="yes" <?php if ($pconfig['enable']) echo "checked"; ?>>
+ <input name="enable" type="checkbox" id="enable" value="yes" <?php if (!$pconfig['enable']) echo "checked"; ?>>
</td>
</tr>
<tr>
@@ -131,8 +131,8 @@ include("head.inc");
<td width="78%" class="vtable">
<select name="type" class="formselect" id="type">
<?php
- $types = explode(",", "DNS-O-Matic DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,ZoneEdit,Loopia,freeDNS");
- $vals = explode(" ", "dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns");
+ $types = explode(",", "DNS-O-Matic DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,Loopia,freeDNS");
+ $vals = explode(" ", "dnsomatic dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns");
$j = 0; for ($j = 0; $j < count($vals); $j++): ?>
<option value="<?=$vals[$j];?>" <?php if ($vals[$j] == $pconfig['type']) echo "selected";?>>
<?=htmlspecialchars($types[$j]);?>
OpenPOWER on IntegriCloud