diff options
author | Renato Botelho <renato@netgate.com> | 2017-05-10 15:28:44 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-05-10 15:28:44 -0300 |
commit | 6e0bfeb217a5c812dfe4f0d217a318476f5815ca (patch) | |
tree | d3d8e6938690e288a116f43d7ca8338044933526 /src/usr/local | |
parent | c79376011dc17a285678939b08f751ce78c4ff27 (diff) | |
parent | 11db9c8687a7e11fb5e94fe148f955a9496c1640 (diff) | |
download | pfsense-6e0bfeb217a5c812dfe4f0d217a318476f5815ca.zip pfsense-6e0bfeb217a5c812dfe4f0d217a318476f5815ca.tar.gz |
Merge pull request #3579 from frankthetank/dyndns_dreamhost
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/services_dyndns_edit.php | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/src/usr/local/www/services_dyndns_edit.php b/src/usr/local/www/services_dyndns_edit.php index 173b3bb..99ec141 100644 --- a/src/usr/local/www/services_dyndns_edit.php +++ b/src/usr/local/www/services_dyndns_edit.php @@ -121,7 +121,7 @@ if ($_POST['save'] || $_POST['force']) { $last_to_check = strrpos($host_to_check, '@'); if ($last_to_check !== false) { $host_to_check = substr_replace( - $host_to_check, '.', $last_to_check, 1); + $host_to_check, '.', $last_to_check, 1); } unset($last_to_check); } @@ -354,9 +354,10 @@ $section->addInput(new Form_Input( 'text', $pconfig['username'] ))->setHelp('Username is required for all types except Namecheap, FreeDNS and Custom Entries.%1$s' . - 'DNS Made Easy: Dynamic DNS ID%1$s' . + 'DNS Made Easy: Dynamic DNS ID%1$s' . 'Route 53: Enter the Access Key ID.%1$s' . 'GleSYS: Enter the API user.%1$s' . + 'Dreamhost: Enter a value to appear in the DNS record comment.%1$s' . 'For Custom Entries, Username and Password represent HTTP Authentication username and passwords.', '<br />'); $section->addPassword(new Form_Input( @@ -365,9 +366,10 @@ $section->addPassword(new Form_Input( 'password', $pconfig['password'] ))->setHelp('FreeDNS (freedns.afraid.org): Enter the "Authentication Token" provided by FreeDNS.%1$s' . - 'DNS Made Easy: Dynamic DNS Password%1$s' . + 'DNS Made Easy: Dynamic DNS Password%1$s' . 'Route 53: Enter the Secret Access Key.%1$s' . 'GleSYS: Enter the API key.%1$s' . + 'Dreamhost: Enter the API Key.%1$s' . 'DNSimple: Enter the API token.', '<br />'); $section->addInput(new Form_Input( @@ -486,6 +488,21 @@ events.push(function() { hideInput('zoneid', true); hideInput('ttl', true); break; + case 'dreamhost': + case 'dreamhost-v6': + hideGroupInput('domainname', true); + hideInput('resultmatch', true); + hideInput('updateurl', true); + hideInput('requestif', true); + hideCheckbox('curl_ipresolve_v4', true); + hideCheckbox('curl_ssl_verifypeer', true); + hideInput('host', false); + hideInput('mx', true); + hideCheckbox('wildcard', true); + hideCheckbox('proxied', true); + hideInput('zoneid', true); + hideInput('ttl', true); + break; case "cloudflare-v6": case "cloudflare": hideGroupInput('domainname', true); |