diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-02-24 12:46:38 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-02-24 12:46:38 +0545 |
commit | 7a5fe50dbb174a816f90090d4cd0c712e77f07f1 (patch) | |
tree | 5793c3f991029029b6db54381eed4936b32e889b /usr/local/www | |
parent | 14aee2f4c6085fc45cb1500de55d95e43316f850 (diff) | |
download | pfsense-7a5fe50dbb174a816f90090d4cd0c712e77f07f1.zip pfsense-7a5fe50dbb174a816f90090d4cd0c712e77f07f1.tar.gz |
Use common code and constants from services.inc
to reduce code duplication
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index 3141b21..0d29a8e 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -1,7 +1,7 @@ <?php /* $Id$ */ /* - Copyright (C) 2008 Ermal Luçi + Copyright (C) 2008 Ermal Luçi All rights reserved. Redistribution and use in source and binary forms, with or without @@ -221,8 +221,8 @@ function _onTypeChange(type){ <td width="78%" class="vtable"> <select name="type" class="formselect" id="type" onchange="_onTypeChange(this.options[this.selectedIndex].value);"> <?php - $types = explode(",", "DNS-O-Matic, DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,Loopia,freeDNS, DNSexit, OpenDNS, Namecheap, HE.net, HE.net Tunnelbroker, SelfHost, Route 53, Custom"); - $vals = explode(" ", "dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns dnsexit opendns namecheap he-net he-net-tunnelbroker selfhost route53 custom"); + $types = explode(",", DYNDNS_PROVIDER_DESCRIPTIONS); + $vals = explode(" ", DYNDNS_PROVIDER_VALUES); $j = 0; for ($j = 0; $j < count($vals); $j++): ?> <option value="<?=$vals[$j];?>" <?php if ($vals[$j] == $pconfig['type']) echo "selected";?>> <?=htmlspecialchars($types[$j]);?> |