1 |
brianr |
1.1 |
diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/db/configuration/defaults/ddclient/DeamonUpdate smeserver-ddclient-1.3.0/root/etc/e-smith/db/configuration/defaults/ddclient/DeamonUpdate |
2 |
|
|
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/db/configuration/defaults/ddclient/DeamonUpdate 2014-08-29 14:47:37.000000000 +0100 |
3 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/db/configuration/defaults/ddclient/DeamonUpdate 2023-01-28 16:14:16.466142698 +0000 |
4 |
|
|
@@ -1 +1 @@ |
5 |
|
|
-300 |
6 |
|
|
+360 |
7 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers |
8 |
|
|
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-01-25 09:36:57.441991502 +0000 |
9 |
|
|
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-01-28 15:59:47.000000000 +0000 |
10 |
|
|
@@ -1,8 +1,9 @@ |
11 |
|
|
{ |
12 |
|
|
- my $deamonupdate = ${ddclient}{DeamonUpdate} || '300'; |
13 |
|
|
+ my $deamonupdate = ${ddclient}{DeamonUpdate} || '360'; |
14 |
|
|
+ if ($deamonupdate <= 360) {$deamonupdate = 360;} # Confuses ddclient runs if less than 5 minutes |
15 |
|
|
my $ssl = ${ddclient}{SSL} || 'yes'; |
16 |
|
|
$OUT .= qq( |
17 |
|
|
-daemon=$deamonupdate # check every $deamonupdate seconds |
18 |
|
|
+daemon=$deamonupdate # check every $deamonupdate seconds |
19 |
|
|
syslog=yes # log update msgs to syslog |
20 |
|
|
pid=/var/run/ddclient.pid # record PID in file. |
21 |
|
|
ssl=$ssl # Set SSL |
22 |
|
|
@@ -42,10 +43,10 @@ |
23 |
|
|
$OUT .="use=cmd, cmd='/sbin/e-smith/db configuration getprop ExternalInterface IPAddress'\n"; |
24 |
|
|
} elsif ( $method eq 'web') { |
25 |
|
|
# old good way, we get the value from an external web page. best if we are not gateway |
26 |
|
|
- $OUT .="use=web, web=$ddclient{'urlcheckip'}\/, web-skip='$webskip' \n"; |
27 |
|
|
+ $OUT .="use=web, web=$ddclient{'urlcheckip'}, web-skip='$webskip' \n"; #Do not add / as may be web service id, not url |
28 |
|
|
} elsif ( $method eq 'if') { |
29 |
|
|
# we have a specific configuation and can not trust sme to get the interface correctly |
30 |
|
|
- $OUT .="use=if, if=$Extinterface, if-skip='$ifskip'\n"; |
31 |
|
|
+ $OUT .="use=if, if=$Extinterface\n"; #if-skip no longer required / deprecated |
32 |
|
|
} elsif ( $method eq 'ip') { |
33 |
|
|
# we want to force manually |
34 |
|
|
$OUT.="use=ip, ip=$ForceIP \n"; |
35 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm |
36 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-01-25 09:36:57.401991454 +0000 |
37 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/Controller/Ddclient.pm 2023-01-25 13:51:00.000000000 +0000 |
38 |
|
|
@@ -81,37 +81,37 @@ |
39 |
|
|
# |
40 |
|
|
my $c = shift; |
41 |
|
|
my $Labels = ( |
42 |
|
|
- [ [ $c->l('ddc_CUSTOMDNS'), 'CUSTOMDNS' ], |
43 |
|
|
- [ $c->l('ddc_DYNDNS1'), 'DYNDNS1' ], |
44 |
|
|
- [ $c->l('ddc_DYNDNS2'), 'DYNDNS2' ], |
45 |
|
|
- [ $c->l('ddc_DYNDNS3'), 'DYNDNS3' ], |
46 |
|
|
- [ $c->l('ddc_ZONEDIT'), 'ZONEDIT' ], |
47 |
|
|
- [ $c->l('ddc_EASYDNS'), 'EASYDNS' ], |
48 |
|
|
- [ $c->l('ddc_HAMMER'), 'HAMMER' ], |
49 |
|
|
- [ $c->l('ddc_DSLREPORTS'), 'DSLREPORTS' ], |
50 |
|
|
- [ $c->l('ddc_EURODYNDNS'), 'EURODYNDNS' ], |
51 |
|
|
- [ $c->l('ddc_DTDNS'), 'DTDNS' ], |
52 |
|
|
- [ $c->l('ddc_LOOPIA'), 'LOOPIA' ], |
53 |
|
|
- [ $c->l('ddc_DNSPARK'), 'DNSPARK' ], |
54 |
|
|
- [ $c->l('ddc_DYNHOST'), 'DYNHOST' ], |
55 |
|
|
- [ $c->l('ddc_NOIP'), 'NOIP' ], |
56 |
|
|
- [ $c->l('ddc_CHANGEIP'), 'CHANGEIP' ], |
57 |
|
|
- [ $c->l('ddc_NAMECHEAP'), 'NAMECHEAP' ], |
58 |
|
|
- [ $c->l('ddc_SPDNS'), 'SPDNS' ], |
59 |
|
|
- [ $c->l('ddc_SITELUTIONS'), 'SITELUTIONS' ], |
60 |
|
|
- [ $c->l('ddc_FREEDNS'), 'FREEDNS' ], |
61 |
|
|
- [ $c->l('ddc_NSUPDATE'), 'NSUPDATE' ], |
62 |
|
|
- [ $c->l('ddc_CLOUDFLARE'), 'CLOUDFLARE' ], |
63 |
|
|
- [ $c->l('ddc_GOOGLEDOMAINS'), 'GOOGLEDOMAINS' ], |
64 |
|
|
- [ $c->l('ddc_DUCKDNS'), 'DUCKDNS' ], |
65 |
|
|
- [ $c->l('ddc_FREEMYIP'), 'FREEMYIP' ], |
66 |
|
|
- [ $c->l('ddc_WOIMA'), 'WOIMA' ], |
67 |
|
|
- [ $c->l('ddc_YANDEX'), 'YANDEX' ], |
68 |
|
|
- [ $c->l('ddc_DNSMADEEASY'), 'DNSMADEEASY' ], |
69 |
|
|
- [ $c->l('ddc_DONDOMINIO'), 'DONDOMINIO' ], |
70 |
|
|
- [ $c->l('ddc_NEARLYFREESPEECH'), 'NFSN' ], |
71 |
|
|
- [ $c->l('ddc_OVH'), 'OVH' ], |
72 |
|
|
- [ $c->l('ddc_CLOUDNS'), 'CLOUDNS' ] |
73 |
|
|
+ [ [ $c->l('CUSTOMDNS'), 'CUSTOMDNS' ], |
74 |
|
|
+ [ $c->l('DYNDNS1'), 'DYNDNS1' ], |
75 |
|
|
+ [ $c->l('DYNDNS2'), 'DYNDNS2' ], |
76 |
|
|
+ [ $c->l('DYNDNS3'), 'DYNDNS3' ], |
77 |
|
|
+ [ $c->l('ZONEDIT'), 'ZONEDIT' ], |
78 |
|
|
+ [ $c->l('EASYDNS'), 'EASYDNS' ], |
79 |
|
|
+ [ $c->l('HAMMER'), 'HAMMER' ], |
80 |
|
|
+ [ $c->l('DSLREPORTS'), 'DSLREPORTS' ], |
81 |
|
|
+ [ $c->l('EURODYNDNS'), 'EURODYNDNS' ], |
82 |
|
|
+ [ $c->l('DTDNS'), 'DTDNS' ], |
83 |
|
|
+ [ $c->l('LOOPIA'), 'LOOPIA' ], |
84 |
|
|
+ [ $c->l('DNSPARK'), 'DNSPARK' ], |
85 |
|
|
+ [ $c->l('DYNHOST'), 'DYNHOST' ], |
86 |
|
|
+ [ $c->l('NOIP'), 'NOIP' ], |
87 |
|
|
+ [ $c->l('CHANGEIP'), 'CHANGEIP' ], |
88 |
|
|
+ [ $c->l('NAMECHEAP'), 'NAMECHEAP' ], |
89 |
|
|
+ [ $c->l('SPDNS'), 'SPDNS' ], |
90 |
|
|
+ [ $c->l('SITELUTIONS'), 'SITELUTIONS' ], |
91 |
|
|
+ [ $c->l('FREEDNS'), 'FREEDNS' ], |
92 |
|
|
+ [ $c->l('NSUPDATE'), 'NSUPDATE' ], |
93 |
|
|
+ [ $c->l('CLOUDFLARE'), 'CLOUDFLARE' ], |
94 |
|
|
+ [ $c->l('GOOGLEDOMAINS'), 'GOOGLEDOMAINS' ], |
95 |
|
|
+ [ $c->l('DUCKDNS'), 'DUCKDNS' ], |
96 |
|
|
+ [ $c->l('FREEMYIP'), 'FREEMYIP' ], |
97 |
|
|
+ [ $c->l('WOIMA'), 'WOIMA' ], |
98 |
|
|
+ [ $c->l('YANDEX'), 'YANDEX' ], |
99 |
|
|
+ [ $c->l('DNSMADEEASY'), 'DNSMADEEASY' ], |
100 |
|
|
+ [ $c->l('DONDOMINIO'), 'DONDOMINIO' ], |
101 |
|
|
+ [ $c->l('NEARLYFREESPEECH'), 'NFSN' ], |
102 |
|
|
+ [ $c->l('OVH'), 'OVH' ], |
103 |
|
|
+ [ $c->l('CLOUDNS'), 'CLOUDNS' ] |
104 |
|
|
] |
105 |
|
|
); |
106 |
|
|
return $Labels; |
107 |
|
|
@@ -123,7 +123,7 @@ |
108 |
|
|
# Initial para from the Wiki. |
109 |
|
|
# |
110 |
|
|
my $c = shift; |
111 |
|
|
- $ddc_datas{"first"} = 'ddc_DESCRIPTION'; |
112 |
|
|
+ $ddc_datas{"first"} = 'DESCRIPTION'; |
113 |
|
|
do_display( $c, %ddc_datas ); |
114 |
|
|
} |
115 |
|
|
|
116 |
|
|
@@ -134,7 +134,7 @@ |
117 |
|
|
my $c = shift; |
118 |
|
|
$c->app->log->info( $c->log_req ); |
119 |
|
|
|
120 |
|
|
- my $title = $c->l('ddc_FORM_TITLE'); |
121 |
|
|
+ my $title = $c->l('FORM_TITLE'); |
122 |
|
|
my $modul = ''; |
123 |
|
|
$ddc_datas{trt} = 'LIST'; |
124 |
|
|
my $trt = "LIST"; |
125 |
|
|
@@ -147,12 +147,12 @@ |
126 |
|
|
my $emptycust = ( scalar @FreeDomains == 0 ); |
127 |
|
|
|
128 |
|
|
my $Labels = ( |
129 |
|
|
- [ [ $c->l('ddc_SME external Interface'), "smeIF" ], |
130 |
|
|
- [ $c->l('ddc_SME configuration DB'), "smeCMD" ], |
131 |
|
|
- [ $c->l('ddc_web'), "web" ], |
132 |
|
|
- [ $c->l('ddc_Interface'), "if" ], |
133 |
|
|
- [ $c->l('ddc_IP'), "ip" ], |
134 |
|
|
- [ $c->l('ddc_Command'), "cmd" ] |
135 |
|
|
+ [ [ $c->l('SME external Interface'), "smeIF" ], |
136 |
|
|
+ [ $c->l('SME configuration DB'), "smeCMD" ], |
137 |
|
|
+ [ $c->l('web'), "web" ], |
138 |
|
|
+ [ $c->l('Interface'), "if" ], |
139 |
|
|
+ [ $c->l('IP'), "ip" ], |
140 |
|
|
+ [ $c->l('Command'), "cmd" ] |
141 |
|
|
] |
142 |
|
|
); |
143 |
|
|
|
144 |
|
|
@@ -197,7 +197,7 @@ |
145 |
|
|
my $dns = $c->param('dns'); |
146 |
|
|
my $domain = $c->param('domainname'); |
147 |
|
|
$ddc_datas{"success"} = $c->l( "ddc_SUCCESSFULLY_MODIFIED", $domain, |
148 |
|
|
- $c->l( 'ddc_' . $dns ) ); |
149 |
|
|
+ $c->l( '' . $dns ) ); |
150 |
|
|
do_display( $c, %ddc_datas ); |
151 |
|
|
} |
152 |
|
|
else { |
153 |
|
|
@@ -234,7 +234,7 @@ |
154 |
|
|
my $dns = $c->param('dns'); |
155 |
|
|
my $domain = $c->param('domainname'); |
156 |
|
|
$ddc_datas{"success"} = $c->l( "ddc_SUCCESSFULLY_DELETED", $domain, |
157 |
|
|
- $c->l( 'ddc_' . $dns ) ); |
158 |
|
|
+ $c->l( '' . $dns ) ); |
159 |
|
|
do_display( $c, %ddc_datas ); |
160 |
|
|
} |
161 |
|
|
else { |
162 |
|
|
@@ -318,7 +318,7 @@ |
163 |
|
|
|
164 |
|
|
if ( $retmsg eq "ok" ) { |
165 |
|
|
$ddc_datas{"success"} = $c->l( "ddc_SUCCESSFULLY_DELETED", $domain, |
166 |
|
|
- $c->l( 'ddc_' . $c->param("dns") ) ); |
167 |
|
|
+ $c->l( '' . $c->param("dns") ) ); |
168 |
|
|
} |
169 |
|
|
else { $ddc_datas{"error"} = $retmsg; } |
170 |
|
|
do_display( $c, %ddc_datas ); |
171 |
|
|
@@ -375,10 +375,10 @@ |
172 |
|
|
|
173 |
|
|
my $content; |
174 |
|
|
if ( $properties{'Content'} eq 'wwwpublic' ) { |
175 |
|
|
- $content = $c->l('ddc_PRIMARY_SITE'); |
176 |
|
|
+ $content = $c->l('PRIMARY_SITE'); |
177 |
|
|
} |
178 |
|
|
else { |
179 |
|
|
- $content = $c->l( 'ddc_CONTENT', $properties{'Content'} ); |
180 |
|
|
+ $content = $c->l( 'CONTENT', $properties{'Content'} ); |
181 |
|
|
} |
182 |
|
|
|
183 |
|
|
my $public; |
184 |
|
|
@@ -404,7 +404,7 @@ |
185 |
|
|
"Description" => $properties{'Description'}, |
186 |
|
|
"Content" => $content, |
187 |
|
|
"dns" => $extraprops{'dns'}, |
188 |
|
|
- "Publication" => $c->l( 'ddc_' . $extraprops{'dns'} ), |
189 |
|
|
+ "Publication" => $c->l( '' . $extraprops{'dns'} ), |
190 |
|
|
"customprotocol" => $properties{"customprotocol"}, |
191 |
|
|
"customdns" => $properties{"customdns"}, |
192 |
|
|
"login" => $properties{"login"}, |
193 |
|
|
@@ -449,7 +449,7 @@ |
194 |
|
|
'Domain' => $domain, |
195 |
|
|
"Description" => $content, |
196 |
|
|
"dns" => $publish, |
197 |
|
|
- "Publication" => $c->l( 'ddc_' . $publish ) |
198 |
|
|
+ "Publication" => $c->l( '' . $publish ) |
199 |
|
|
, #msg ddc prefix for ddclient |
200 |
|
|
"customprotocol" => $vals->prop("customprotocol"), |
201 |
|
|
"customdns" => $vals->prop("customdns"), |
202 |
|
|
@@ -519,7 +519,7 @@ |
203 |
|
|
|
204 |
|
|
system( "/sbin/e-smith/signal-event", "smeserver-ddclient-update" ); |
205 |
|
|
|
206 |
|
|
- return $c->l('ddc_SUCCESSFULLY_MODIFIED_RETRIEVE_IP'); |
207 |
|
|
+ return $c->l('SUCCESSFULLY_MODIFIED_RETRIEVE_IP'); |
208 |
|
|
} |
209 |
|
|
|
210 |
|
|
# We seem to be missing a Create Domain here |
211 |
|
|
@@ -537,7 +537,7 @@ |
212 |
|
|
$domainName = $1; |
213 |
|
|
} |
214 |
|
|
else { |
215 |
|
|
- return $c->l( 'ddc_DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
216 |
|
|
+ return $c->l( 'DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
217 |
|
|
} |
218 |
|
|
|
219 |
|
|
my $domainLogin = $c->param('login'); |
220 |
|
|
@@ -545,7 +545,7 @@ |
221 |
|
|
$domainLogin = $1; |
222 |
|
|
} |
223 |
|
|
else { |
224 |
|
|
- return $c->l( 'ddc_DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
225 |
|
|
+ return $c->l( 'DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
226 |
|
|
} |
227 |
|
|
|
228 |
|
|
my $domainPassword = $c->param('password'); |
229 |
|
|
@@ -553,7 +553,7 @@ |
230 |
|
|
$domainPassword = $1; |
231 |
|
|
} |
232 |
|
|
else { |
233 |
|
|
- return $c->l( 'ddc_DOMAIN_PASSWORD_VALIDATION_ERROR', |
234 |
|
|
+ return $c->l( 'DOMAIN_PASSWORD_VALIDATION_ERROR', |
235 |
|
|
$domainPassword ); |
236 |
|
|
} |
237 |
|
|
|
238 |
|
|
@@ -569,7 +569,7 @@ |
239 |
|
|
else |
240 |
|
|
|
241 |
|
|
{ |
242 |
|
|
- return $c->l( 'ddc_CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
243 |
|
|
+ return $c->l( 'CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
244 |
|
|
} |
245 |
|
|
} |
246 |
|
|
|
247 |
|
|
@@ -606,18 +606,18 @@ |
248 |
|
|
$domain = $1; |
249 |
|
|
} |
250 |
|
|
else { |
251 |
|
|
- return $c->l( 'ddc_ERROR_WHILE_REMOVING_DOMAIN', $domain ); |
252 |
|
|
+ return $c->l( 'ERROR_WHILE_REMOVING_DOMAIN', $domain ); |
253 |
|
|
} |
254 |
|
|
|
255 |
|
|
my $value = $domaindb->get($domain); |
256 |
|
|
unless ($value) { |
257 |
|
|
- return $c->l( 'ddc_NONEXISTENT_DOMAIN_ERROR', $domain ); |
258 |
|
|
+ return $c->l( 'NONEXISTENT_DOMAIN_ERROR', $domain ); |
259 |
|
|
} |
260 |
|
|
|
261 |
|
|
my %properties = $value->props; |
262 |
|
|
my $type = $properties{'type'}; |
263 |
|
|
if ( $type ne 'domain' ) { |
264 |
|
|
- return $c->l( 'ddc_NONEXISTENT_DOMAIN_ERROR', $domain ); |
265 |
|
|
+ return $c->l( 'NONEXISTENT_DOMAIN_ERROR', $domain ); |
266 |
|
|
} |
267 |
|
|
|
268 |
|
|
my $evalue = $domaindb->get($domain); |
269 |
|
|
@@ -647,20 +647,20 @@ |
270 |
|
|
$domainName = $1; |
271 |
|
|
} |
272 |
|
|
else { |
273 |
|
|
- return $c->l( 'ddc_DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
274 |
|
|
+ return $c->l( 'DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
275 |
|
|
} |
276 |
|
|
|
277 |
|
|
foreach my $domain ( $edb->get_all_by_prop( type => 'domain' ) ) { |
278 |
|
|
my $key = $domain->key; |
279 |
|
|
if ( $key eq $domainName ) { |
280 |
|
|
- return $c->l( 'ddc_DOMAIN_NAME_ALREADY_EXIST', $domainName ); |
281 |
|
|
+ return $c->l( 'DOMAIN_NAME_ALREADY_EXIST', $domainName ); |
282 |
|
|
} |
283 |
|
|
} |
284 |
|
|
|
285 |
|
|
foreach my $domain ( $domaindb->get_all_by_prop( type => 'ddhost' ) ) { |
286 |
|
|
my $key = $domain->key; |
287 |
|
|
if ( $key eq $domainName ) { |
288 |
|
|
- return $c->l( 'ddc_DOMAIN_NAME_ALREADY_EXIST', $domainName ); |
289 |
|
|
+ return $c->l( 'DOMAIN_NAME_ALREADY_EXIST', $domainName ); |
290 |
|
|
} |
291 |
|
|
} |
292 |
|
|
|
293 |
|
|
@@ -670,7 +670,7 @@ |
294 |
|
|
$domainLogin = $1; |
295 |
|
|
} |
296 |
|
|
else { |
297 |
|
|
- return $c->l( 'ddc_DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
298 |
|
|
+ return $c->l( 'DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
299 |
|
|
} |
300 |
|
|
|
301 |
|
|
my $domainPassword = $c->param('password'); |
302 |
|
|
@@ -678,7 +678,7 @@ |
303 |
|
|
$domainPassword = $1; |
304 |
|
|
} |
305 |
|
|
else { |
306 |
|
|
- return $c->l( 'ddc_DOMAIN_PASSWORD_VALIDATION_ERROR', |
307 |
|
|
+ return $c->l( 'DOMAIN_PASSWORD_VALIDATION_ERROR', |
308 |
|
|
$domainPassword ); |
309 |
|
|
} |
310 |
|
|
|
311 |
|
|
@@ -692,7 +692,7 @@ |
312 |
|
|
$customDNS = $1; |
313 |
|
|
} |
314 |
|
|
else { |
315 |
|
|
- return $c->l( 'ddc_CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
316 |
|
|
+ return $c->l( 'CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
317 |
|
|
} |
318 |
|
|
} |
319 |
|
|
|
320 |
|
|
@@ -730,7 +730,7 @@ |
321 |
|
|
$domainName = $1; |
322 |
|
|
} |
323 |
|
|
else { |
324 |
|
|
- return $c->l( 'ddc_DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
325 |
|
|
+ return $c->l( 'DOMAIN_NAME_VALIDATION_ERROR', $domainName ); |
326 |
|
|
} |
327 |
|
|
|
328 |
|
|
my $domainLogin = $c->param('login'); |
329 |
|
|
@@ -738,7 +738,7 @@ |
330 |
|
|
$domainLogin = $1; |
331 |
|
|
} |
332 |
|
|
else { |
333 |
|
|
- return $c->l( 'ddc_DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
334 |
|
|
+ return $c->l( 'DOMAIN_LOGIN_VALIDATION_ERROR', $domainLogin ); |
335 |
|
|
} |
336 |
|
|
|
337 |
|
|
my $domainPassword = $c->param('password'); |
338 |
|
|
@@ -746,7 +746,7 @@ |
339 |
|
|
$domainPassword = $1; |
340 |
|
|
} |
341 |
|
|
else { |
342 |
|
|
- return $c->l( 'ddc_DOMAIN_PASSWORD_VALIDATION_ERROR', |
343 |
|
|
+ return $c->l( 'DOMAIN_PASSWORD_VALIDATION_ERROR', |
344 |
|
|
$domainPassword ); |
345 |
|
|
} |
346 |
|
|
|
347 |
|
|
@@ -762,7 +762,7 @@ |
348 |
|
|
else |
349 |
|
|
|
350 |
|
|
{ |
351 |
|
|
- return $c->l( 'ddc_CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
352 |
|
|
+ return $c->l( 'CUSTOMDNS_VALIDATION_ERROR', $domainName ); |
353 |
|
|
} |
354 |
|
|
} |
355 |
|
|
|
356 |
|
|
@@ -799,19 +799,19 @@ |
357 |
|
|
$domain = $1; |
358 |
|
|
} |
359 |
|
|
else { |
360 |
|
|
- return $c->l( 'ddc_ERROR_WHILE_REMOVING_DOMAIN', $domain ); |
361 |
|
|
+ return $c->l( 'ERROR_WHILE_REMOVING_DOMAIN', $domain ); |
362 |
|
|
} |
363 |
|
|
|
364 |
|
|
my $evalue = $edb->get($domain); |
365 |
|
|
unless ($evalue) { |
366 |
|
|
- return $c->l( 'ddc_NONEXISTENT_DOMAIN_ERROR', $domain ); |
367 |
|
|
+ return $c->l( 'NONEXISTENT_DOMAIN_ERROR', $domain ); |
368 |
|
|
} |
369 |
|
|
|
370 |
|
|
my %properties = $evalue->props; |
371 |
|
|
my $type = $properties{'type'}; |
372 |
|
|
|
373 |
|
|
if ( $type ne 'ddhost' ) { |
374 |
|
|
- return $c->l( 'ddc_NONEXISTENT_DOMAIN_ERROR', $domain ); |
375 |
|
|
+ return $c->l( 'NONEXISTENT_DOMAIN_ERROR', $domain ); |
376 |
|
|
|
377 |
|
|
} |
378 |
|
|
|
379 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm |
380 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm 2023-01-25 09:36:57.420991477 +0000 |
381 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/lib/SrvMngr/I18N/Modules/Ddclient/en.pm 2023-01-25 13:48:00.000000000 +0000 |
382 |
|
|
@@ -7,101 +7,101 @@ |
383 |
|
|
use SrvMngr::I18N::Modules::General::en; |
384 |
|
|
|
385 |
|
|
my %lexicon = ( |
386 |
|
|
-'ddc_FORM_TITLE' => 'Create, remove or change the publication of virtual domains', |
387 |
|
|
-'ddc_Params_for_IP_Retrieval'=>' Parameters to control how the IP of your server is found:', |
388 |
|
|
-'ddc_DESCRIPTION'=> 'Use this contrib when you have a sme server connected to a ISP service using a dynamic IP, and you wish to host multiple domains. |
389 |
|
|
+'FORM_TITLE' => 'Create, remove or change the publication of virtual domains', |
390 |
|
|
+'Params_for_IP_Retrieval'=>' Parameters to control how the IP of your server is found:', |
391 |
|
|
+'DESCRIPTION'=> 'Use this contrib when you have a sme server connected to a ISP service using a dynamic IP, and you wish to host multiple domains. |
392 |
|
|
<br>ddclient is a client for updating dynamic DNS entries for domains hosted at different DNS providers. |
393 |
|
|
<br>Configure your dynamic host domains via the ddclient server manager panel. |
394 |
|
|
<br>ddclient can be used on servers configured in server gateway mode or in server only mode.<br> |
395 |
|
|
SmeServer documentation:<a href="https://wiki.contribs.org/Ddclient">https://wiki.contribs.org/Ddclient</a>', |
396 |
|
|
-'ddc_FORM_DESCRIPTION' => 'Virtual Domains for publication on the net:', |
397 |
|
|
-'ddc_NO_VIRTUAL_DOMAINS' => 'There are no virtual domains in the system.', |
398 |
|
|
-'ddc_CURRENT_LIST_OF_DOMAINS' => 'Current list of virtual domains', |
399 |
|
|
-'ddc_PUBLICATION' => 'Publication', |
400 |
|
|
-'ddc_PRIMARY_SITE' => 'Primary Site', |
401 |
|
|
-'ddc_CONTENT' => '[_1] i-bay', |
402 |
|
|
-'ddc_CREATE_TITLE' => 'Create a new publication virtual domain', |
403 |
|
|
-'ddc_SERVERS_LABEL' => 'Where to publish', |
404 |
|
|
-'ddc_MX' => 'record MX', |
405 |
|
|
-'ddc_NAME_LABEL' => 'Login to publish', |
406 |
|
|
-'ddc_PASSWORD_LABEL' => 'Password to publish', |
407 |
|
|
-'ddc_CONTENT_FIELD_DESCRIPTION' => 'For the web site, you may choose your primary web site or any i-bay as the content.', |
408 |
|
|
-'ddc_DOMAIN_NAME_VALIDATION_ERROR' => 'Error: unexpected or missing characters in domain name [_1]. The domain name should contain one or more letters, numbers, periods and minus signs. Did not create new domain.', |
409 |
|
|
-'ddc_DOMAIN_DESCRIPTION_VALIDATION_ERROR' => 'Error: unexpected or missing characters in domain description [_1]. Did not create new domain.', |
410 |
|
|
-'ddc_DOMAIN_IN_USE_ERROR' => 'Error: domain [_1] is already in use. Did not create new domain.', |
411 |
|
|
-'ddc_DOMAIN_LOGIN_VALIDATION_ERROR'=> 'Domain login must not be blank and only consist of letter, numbers, "." or "@"', |
412 |
|
|
-'ddc_RESERVED_SECURE_DOMAIN_ERROR' => 'Error: domain [_1] is reserved to provide a secured webserver for the virtual domain [_2]. Did not create new domain.', |
413 |
|
|
-'ddc_SYSTEM_DOMAIN_ERROR' => 'Error: domain [_1] is your system domain name. You cannot have a virtual domain with the same name. Did not create new domain.', |
414 |
|
|
-'ddc_RESERVED_SECURE_SYSTEM_DOMAIN_ERROR' => 'Error: domain [_1] is reserved to provide a secured webserver for your system domain name [_2]. Did not create new domain.', |
415 |
|
|
-'ddc_SUCCESSFULLY_CREATED' => 'Successfully publication domain [_1] on [_2].', |
416 |
|
|
-'ddc_MODIFY_TITLE' => 'Modify virtual domain', |
417 |
|
|
-'ddc_NONEXISTENT_DOMAIN_ERROR' => 'Error: [_1] is not an existing domain.', |
418 |
|
|
-'ddc_SUCCESSFULLY_MODIFIED' => 'Successfully modified the publication [_1] on [_2].', |
419 |
|
|
-'ddc_REMOVE_TITLE' => 'Remove publication of virtual domain', |
420 |
|
|
-'ddc_REMOVE_DESCRIPTION' => '<p>You are about to remove the publication of domain [_1] ([_2]) on [_3]. |
421 |
|
|
+'FORM_DESCRIPTION' => 'Virtual Domains for publication on the net:', |
422 |
|
|
+'NO_VIRTUAL_DOMAINS' => 'There are no virtual domains in the system.', |
423 |
|
|
+'CURRENT_LIST_OF_DOMAINS' => 'Current list of virtual domains', |
424 |
|
|
+'PUBLICATION' => 'Publication', |
425 |
|
|
+'PRIMARY_SITE' => 'Primary Site', |
426 |
|
|
+'CONTENT' => '[_1] i-bay', |
427 |
|
|
+'CREATE_TITLE' => 'Create a new publication virtual domain', |
428 |
|
|
+'SERVERS_LABEL' => 'Where to publish', |
429 |
|
|
+'MX' => 'record MX', |
430 |
|
|
+'NAME_LABEL' => 'Login to publish', |
431 |
|
|
+'PASSWORD_LABEL' => 'Password to publish', |
432 |
|
|
+'CONTENT_FIELD_DESCRIPTION' => 'For the web site, you may choose your primary web site or any i-bay as the content.', |
433 |
|
|
+'DOMAIN_NAME_VALIDATION_ERROR' => 'Error: unexpected or missing characters in domain name [_1]. The domain name should contain one or more letters, numbers, periods and minus signs. Did not create new domain.', |
434 |
|
|
+'DOMAIN_DESCRIPTION_VALIDATION_ERROR' => 'Error: unexpected or missing characters in domain description [_1]. Did not create new domain.', |
435 |
|
|
+'DOMAIN_IN_USE_ERROR' => 'Error: domain [_1] is already in use. Did not create new domain.', |
436 |
|
|
+'DOMAIN_LOGIN_VALIDATION_ERROR'=> 'Domain login must not be blank and only consist of letter, numbers, "." or "@"', |
437 |
|
|
+'RESERVED_SECURE_DOMAIN_ERROR' => 'Error: domain [_1] is reserved to provide a secured webserver for the virtual domain [_2]. Did not create new domain.', |
438 |
|
|
+'SYSTEM_DOMAIN_ERROR' => 'Error: domain [_1] is your system domain name. You cannot have a virtual domain with the same name. Did not create new domain.', |
439 |
|
|
+'RESERVED_SECURE_SYSTEM_DOMAIN_ERROR' => 'Error: domain [_1] is reserved to provide a secured webserver for your system domain name [_2]. Did not create new domain.', |
440 |
|
|
+'SUCCESSFULLY_CREATED' => 'Successfully publication domain [_1] on [_2].', |
441 |
|
|
+'MODIFY_TITLE' => 'Modify virtual domain', |
442 |
|
|
+'NONEXISTENT_DOMAIN_ERROR' => 'Error: [_1] is not an existing domain.', |
443 |
|
|
+'SUCCESSFULLY_MODIFIED' => 'Successfully modified the publication [_1] on [_2].', |
444 |
|
|
+'REMOVE_TITLE' => 'Remove publication of virtual domain', |
445 |
|
|
+'REMOVE_DESCRIPTION' => '<p>You are about to remove the publication of domain [_1] ([_2]) on [_3]. |
446 |
|
|
</p> |
447 |
|
|
<p> |
448 |
|
|
<b>Are you sure you wish to remove this domain\'s publication ?</b> |
449 |
|
|
</p> |
450 |
|
|
', |
451 |
|
|
-'ddc_ERROR_WHILE_REMOVING_DOMAIN' => 'Error: internal failure while removing publication of [_1].', |
452 |
|
|
-'ddc_SUCCESSFULLY_DELETED' => 'Successfully deleted publication of [_1] on [_2].', |
453 |
|
|
+'ERROR_WHILE_REMOVING_DOMAIN' => 'Error: internal failure while removing publication of [_1].', |
454 |
|
|
+'SUCCESSFULLY_DELETED' => 'Successfully deleted publication of [_1] on [_2].', |
455 |
|
|
|
456 |
|
|
-'ddc_DYNDNS1' => 'dyndns.org dynamic addresses', |
457 |
|
|
-'ddc_DYNDNS2' => 'dyndns.org static addresses', |
458 |
|
|
-'ddc_DYNDNS3' => 'dyndns.org custom addresses', |
459 |
|
|
-'ddc_ZONEDIT' => 'ZoneEdit (zoneedit.com)', |
460 |
|
|
-'ddc_EASYDNS' => 'EasyDNS (easydns.com)', |
461 |
|
|
-'ddc_HAMMER' => 'Hammernode (hn.org) dynamic addresses', |
462 |
|
|
-'ddc_DSLREPORTS' => 'dslreports.com dynamic-host monitoring', |
463 |
|
|
-'ddc_EURODYNDNS' => 'eurodyndns.org dynamic addresses', |
464 |
|
|
-'ddc_DTDNS' => 'DtDNS (www.dtdns.com) dynamic addresses', |
465 |
|
|
-'ddc_LOOPIA' => 'Loopia (loopia.se) dynamic addresses', |
466 |
|
|
-'ddc_DNSPARK' => ' Dnspark (dnspark.com) dynamic addresses', |
467 |
|
|
-'ddc_DYNHOST' => ' DynHost (ovh.com) dynamic addresses', |
468 |
|
|
-'ddc_NOIP' => ' NoIP (noip.com) dynamic addresses', |
469 |
|
|
-'ddc_CHANGEIP' => ' ChangeIP (changeip.com) dynamic addresses', |
470 |
|
|
-'ddc_NAMECHEAP' => ' NAMECHEAP (namecheap.com) dynamic addresses', |
471 |
|
|
-'ddc_SPDNS' => ' SPDNS (spdns.de) dynamic addresses', |
472 |
|
|
-'ddc_SITELUTIONS'=>'SITELUTIONS sitelutions.com dynamic addresses', |
473 |
|
|
-'ddc_FREEDNS'=>'FREEDNS freedns.afraid.org for details', |
474 |
|
|
-'ddc_NSUPDATE'=>'NSUPDATE See nsupdate(1) and ddns-confgen(8) for details ', |
475 |
|
|
-'ddc_CLOUDFLARE'=>'CLOUDFLARE www.cloudflare.com/ for details', |
476 |
|
|
-'ddc_GOOGLEDOMAINS'=>'GOOGLEDOMAINS www.google.com/domains for details', |
477 |
|
|
-'ddc_DUCKDNS'=>'DUCKDNS duckdns.org for details', |
478 |
|
|
-'ddc_FREEMYIP'=>'FREEMYIP freemyip.com for details', |
479 |
|
|
-'ddc_WOIMA'=>'WOIMA woima.fi for details', |
480 |
|
|
-'ddc_YANDEX'=>'YANDEX domain.yandex.com for details', |
481 |
|
|
-'ddc_DNSMADEEASY'=>'DNSMADEEASY dnsmadeeasy.com for details', |
482 |
|
|
-'ddc_DONDOMINIO'=>'DONDOMINIO www.dondominio.com for details', |
483 |
|
|
-'ddc_NEARLYFREESPEECH'=>'NFSN www.nearlyfreespeech.net/services/dns for details', |
484 |
|
|
-'ddc_OVH'=>'OVH www.ovh.com for details', |
485 |
|
|
-'ddc_CLOUDNS'=>'CLOUDNS www.cloudns.net', |
486 |
|
|
-'ddc_CUSTOMDNS' => 'Custom Dynamic DNS Provider', |
487 |
|
|
-'ddc_CUSTOMDNS_LABEL' => 'Custom server Address', |
488 |
|
|
-'ddc_CUSTOM_PROTOCOL_LABEL' => 'Custom ddclient Protocol', |
489 |
|
|
-'ddc_CUSTOM_DESCRIPTION' => 'You can use a custom dynamic dns provider if yours is not in the published list. Please fill the custom fields with the appropriate settings', |
490 |
|
|
-'ddc_CUSTOMDNS_VALIDATION_ERROR' => 'Error: unexpected or missing characters in custom server address field of domain [_1]. The server address should contain one or more letters, numbers, periods and minus signs. Did not apply the change.', |
491 |
|
|
-'ddc_ddclient' =>'Dynamic Clients', |
492 |
|
|
-'ddc_DOMAIN_NAME_ALREADY_EXIST' => 'Error: this domain:"[_1]" already exists. Please chose another.', |
493 |
|
|
-'ddc_FREE_FORM_DESCRIPTION' => 'Here you can create any domain name to publish over the net:', |
494 |
|
|
-'ddc_RETRIEVE_SSL' => 'SSL update', |
495 |
|
|
-'ddc_RETRIEVE_DEAMONUPDATE' => 'Deamon update (seconds)', |
496 |
|
|
-'ddc_RETRIEVE_URLCHECKIP' => 'Url for the external IP', |
497 |
|
|
-'ddc_APPLY' => 'Save', |
498 |
|
|
-'ddc_DOMAIN_NAME_LABEL' => 'Domain Name', |
499 |
|
|
-'ddc_DESCRIPTION_LABEL' => 'Domain description', |
500 |
|
|
-'ddc_SUCCESSFULLY_MODIFIED_RETRIEVE_IP' => 'You have successfully modified the retrieve IP options.', |
501 |
|
|
-'ddc_RETRIEVE_METHOD' => 'Method to retrieve new IP:', |
502 |
|
|
-'ddc_RETRIEVE_IF' => 'Local interface to get new IP, if selected interface method', |
503 |
|
|
-'ddc_RETRIEVE_CMD' => 'Command to execute to get IP, if selected command method', |
504 |
|
|
-'ddc_SME external Interface' => 'SME external interface', |
505 |
|
|
-'ddc_SME configuration DB' => 'SME configuration DB', |
506 |
|
|
-'ddc_web' => 'Web query', |
507 |
|
|
-'ddc_Interface' => 'IP from interface', |
508 |
|
|
-'ddc_IP' => 'Manual IP setting', |
509 |
|
|
-'ddc_Command' => 'Command to execute', |
510 |
|
|
-'ddc_RETRIEVE_IP' => 'IP to manually force' |
511 |
|
|
+'DYNDNS1' => 'dyndns.org dynamic addresses', |
512 |
|
|
+'DYNDNS2' => 'dyndns.org static addresses', |
513 |
|
|
+'DYNDNS3' => 'dyndns.org custom addresses', |
514 |
|
|
+'ZONEDIT' => 'ZoneEdit (zoneedit.com)', |
515 |
|
|
+'EASYDNS' => 'EasyDNS (easydns.com)', |
516 |
|
|
+'HAMMER' => 'Hammernode (hn.org) dynamic addresses', |
517 |
|
|
+'DSLREPORTS' => 'dslreports.com dynamic-host monitoring', |
518 |
|
|
+'EURODYNDNS' => 'eurodyndns.org dynamic addresses', |
519 |
|
|
+'DTDNS' => 'DtDNS (www.dtdns.com) dynamic addresses', |
520 |
|
|
+'LOOPIA' => 'Loopia (loopia.se) dynamic addresses', |
521 |
|
|
+'DNSPARK' => ' Dnspark (dnspark.com) dynamic addresses', |
522 |
|
|
+'DYNHOST' => ' DynHost (ovh.com) dynamic addresses', |
523 |
|
|
+'NOIP' => ' NoIP (noip.com) dynamic addresses', |
524 |
|
|
+'CHANGEIP' => ' ChangeIP (changeip.com) dynamic addresses', |
525 |
|
|
+'NAMECHEAP' => ' NAMECHEAP (namecheap.com) dynamic addresses', |
526 |
|
|
+'SPDNS' => ' SPDNS (spdns.de) dynamic addresses', |
527 |
|
|
+'SITELUTIONS'=>'SITELUTIONS sitelutions.com dynamic addresses', |
528 |
|
|
+'FREEDNS'=>'FREEDNS freedns.afraid.org for details', |
529 |
|
|
+'NSUPDATE'=>'NSUPDATE See nsupdate(1) and ddns-confgen(8) for details ', |
530 |
|
|
+'CLOUDFLARE'=>'CLOUDFLARE www.cloudflare.com/ for details', |
531 |
|
|
+'GOOGLEDOMAINS'=>'GOOGLEDOMAINS www.google.com/domains for details', |
532 |
|
|
+'DUCKDNS'=>'DUCKDNS duckdns.org for details', |
533 |
|
|
+'FREEMYIP'=>'FREEMYIP freemyip.com for details', |
534 |
|
|
+'WOIMA'=>'WOIMA woima.fi for details', |
535 |
|
|
+'YANDEX'=>'YANDEX domain.yandex.com for details', |
536 |
|
|
+'DNSMADEEASY'=>'DNSMADEEASY dnsmadeeasy.com for details', |
537 |
|
|
+'DONDOMINIO'=>'DONDOMINIO www.dondominio.com for details', |
538 |
|
|
+'NEARLYFREESPEECH'=>'NFSN www.nearlyfreespeech.net/services/dns for details', |
539 |
|
|
+'OVH'=>'OVH www.ovh.com for details', |
540 |
|
|
+'CLOUDNS'=>'CLOUDNS www.cloudns.net', |
541 |
|
|
+'CUSTOMDNS' => 'Custom Dynamic DNS Provider', |
542 |
|
|
+'CUSTOMDNS_LABEL' => 'Custom server Address', |
543 |
|
|
+'CUSTOM_PROTOCOL_LABEL' => 'Custom ddclient Protocol', |
544 |
|
|
+'CUSTOM_DESCRIPTION' => 'You can use a custom dynamic dns provider if yours is not in the published list. Please fill the custom fields with the appropriate settings', |
545 |
|
|
+'CUSTOMDNS_VALIDATION_ERROR' => 'Error: unexpected or missing characters in custom server address field of domain [_1]. The server address should contain one or more letters, numbers, periods and minus signs. Did not apply the change.', |
546 |
|
|
+'ddclient' =>'Dynamic Clients', |
547 |
|
|
+'DOMAIN_NAME_ALREADY_EXIST' => 'Error: this domain:"[_1]" already exists. Please chose another.', |
548 |
|
|
+'FREE_FORM_DESCRIPTION' => 'Here you can create any domain name to publish over the net:', |
549 |
|
|
+'RETRIEVE_SSL' => 'SSL update', |
550 |
|
|
+'RETRIEVE_DEAMONUPDATE' => 'Deamon update (seconds)', |
551 |
|
|
+'RETRIEVE_URLCHECKIP' => 'Url for the external IP', |
552 |
|
|
+'APPLY' => 'Save', |
553 |
|
|
+'DOMAIN_NAME_LABEL' => 'Domain Name', |
554 |
|
|
+'DESCRIPTION_LABEL' => 'Domain description', |
555 |
|
|
+'SUCCESSFULLY_MODIFIED_RETRIEVE_IP' => 'You have successfully modified the retrieve IP options.', |
556 |
|
|
+'RETRIEVE_METHOD' => 'Method to retrieve new IP:', |
557 |
|
|
+'RETRIEVE_IF' => 'Local interface to get new IP, if selected interface method', |
558 |
|
|
+'RETRIEVE_CMD' => 'Command to execute to get IP, if selected command method', |
559 |
|
|
+'SME external Interface' => 'SME external interface', |
560 |
|
|
+'SME configuration DB' => 'SME configuration DB', |
561 |
|
|
+'web' => 'Web query', |
562 |
|
|
+'Interface' => 'IP from interface', |
563 |
|
|
+'IP' => 'Manual IP setting', |
564 |
|
|
+'Command' => 'Command to execute', |
565 |
|
|
+'RETRIEVE_IP' => 'IP to manually force' |
566 |
|
|
); |
567 |
|
|
|
568 |
|
|
our %Lexicon = ( |
569 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_customlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_customlist.html.ep |
570 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_customlist.html.ep 2020-06-28 09:57:53.000000000 +0100 |
571 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_customlist.html.ep 2023-01-25 13:52:00.000000000 +0000 |
572 |
|
|
@@ -1,6 +1,6 @@ |
573 |
|
|
-<div id='ddc_customlist'> |
574 |
|
|
+<div id='customlist'> |
575 |
|
|
<h2> |
576 |
|
|
- %= l 'ddc_FREE_FORM_DESCRIPTION' |
577 |
|
|
+ %= l 'FREE_FORM_DESCRIPTION' |
578 |
|
|
</h2> |
579 |
|
|
|
580 |
|
|
%= form_for '/ddclient' => (method => 'POST') => begin |
581 |
|
|
@@ -8,13 +8,13 @@ |
582 |
|
|
<table class="sme-border"><tbody> |
583 |
|
|
<tr> |
584 |
|
|
<th class='sme-border'> |
585 |
|
|
- %=l 'ddc_DOMAIN_NAME_LABEL' |
586 |
|
|
+ %=l 'DOMAIN_NAME_LABEL' |
587 |
|
|
</th> |
588 |
|
|
<th class='sme-border'> |
589 |
|
|
- %=l 'ddc_DESCRIPTION_LABEL' |
590 |
|
|
+ %=l 'DESCRIPTION_LABEL' |
591 |
|
|
</th> |
592 |
|
|
<th class='sme-border'> |
593 |
|
|
- %=l 'ddc_PUBLICATION' |
594 |
|
|
+ %=l 'PUBLICATION' |
595 |
|
|
</th> |
596 |
|
|
<th class='sme-border' colspan=2> |
597 |
|
|
%=l 'ACTION' |
598 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep |
599 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep 2020-06-28 09:57:53.000000000 +0100 |
600 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep 2023-01-25 13:52:00.000000000 +0000 |
601 |
|
|
@@ -1,4 +1,4 @@ |
602 |
|
|
-<div id='ddc_del'> |
603 |
|
|
+<div id='del'> |
604 |
|
|
% my $btn = l('REMOVE'); |
605 |
|
|
%= form_for '/ddclient4' => (method => 'POST') => begin |
606 |
|
|
<p> |
607 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep |
608 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep 2020-06-28 09:57:53.000000000 +0100 |
609 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep 2023-01-25 13:52:00.000000000 +0000 |
610 |
|
|
@@ -1,6 +1,6 @@ |
611 |
|
|
-<div id='ddc_Domainslist'> |
612 |
|
|
+<div id='Domainslist'> |
613 |
|
|
<h2> |
614 |
|
|
- %= l 'ddc_FORM_DESCRIPTION' |
615 |
|
|
+ %= l 'FORM_DESCRIPTION' |
616 |
|
|
</h2> |
617 |
|
|
%= form_for '/ddclient' => (method => 'POST') => begin |
618 |
|
|
|
619 |
|
|
@@ -12,16 +12,16 @@ |
620 |
|
|
<table class="sme-border"><tbody> |
621 |
|
|
<tr> |
622 |
|
|
<th class='sme-border'> |
623 |
|
|
- %=l 'ddc_DOMAIN_NAME_LABEL' |
624 |
|
|
+ %=l 'DOMAIN_NAME_LABEL' |
625 |
|
|
</th> |
626 |
|
|
<th class='sme-border'> |
627 |
|
|
- %=l 'ddc_DESCRIPTION_LABEL' |
628 |
|
|
+ %=l 'DESCRIPTION_LABEL' |
629 |
|
|
</th> |
630 |
|
|
<th class='sme-border'> |
631 |
|
|
- %=l('ddc_CONTENT',"") |
632 |
|
|
+ %=l('CONTENT',"") |
633 |
|
|
</th> |
634 |
|
|
<th class='sme-border'> |
635 |
|
|
- %=l 'ddc_PUBLICATION' |
636 |
|
|
+ %=l 'PUBLICATION' |
637 |
|
|
</th> |
638 |
|
|
|
639 |
|
|
<th class='sme-border' colspan=2> |
640 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep |
641 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2020-06-28 09:57:53.000000000 +0100 |
642 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2023-01-25 13:52:00.000000000 +0000 |
643 |
|
|
@@ -1,17 +1,17 @@ |
644 |
|
|
-<div id='ddc_modifydomain'> |
645 |
|
|
+<div id='modifydomain'> |
646 |
|
|
<h2> |
647 |
|
|
- %= l 'ddc_CUSTOM_DESCRIPTION' |
648 |
|
|
+ %= l 'CUSTOM_DESCRIPTION' |
649 |
|
|
</h2><br> |
650 |
|
|
- % my $btn = l('ddc_APPLY'); |
651 |
|
|
+ % my $btn = l('APPLY'); |
652 |
|
|
%= form_for '/ddclient8' => (method => 'POST') => begin |
653 |
|
|
<span class=label> |
654 |
|
|
- %=l 'ddc_DOMAIN_NAME_LABEL' |
655 |
|
|
+ %=l 'DOMAIN_NAME_LABEL' |
656 |
|
|
</span><span class=data> |
657 |
|
|
%= hidden_field domainName => $ddc_datas->{"Domain_details"}->{"Domain"} |
658 |
|
|
%= $ddc_datas->{"Domain_details"}->{"Domain"} |
659 |
|
|
</span><br><br> |
660 |
|
|
<span class=label> |
661 |
|
|
- %=l 'ddc_DESCRIPTION_LABEL' |
662 |
|
|
+ %=l 'DESCRIPTION_LABEL' |
663 |
|
|
</span><span class=data> |
664 |
|
|
%= $ddc_datas->{"Domain_details"}->{"Description"} |
665 |
|
|
</span><br><br> |
666 |
|
|
@@ -21,31 +21,31 @@ |
667 |
|
|
%= $ddc_datas->{"Domain_details"}->{"Content"} |
668 |
|
|
</span><br><br> |
669 |
|
|
<span class=label> |
670 |
|
|
- %=l 'ddc_SERVERS_LABEL' |
671 |
|
|
+ %=l 'SERVERS_LABEL' |
672 |
|
|
</span><span class=data> |
673 |
|
|
% param dns=>$ddc_datas->{"Domain_details"}->{"dns"}; |
674 |
|
|
%=select_field dns=>$dnslabels |
675 |
|
|
</span><br> |
676 |
|
|
<span class=label> |
677 |
|
|
- %=l 'ddc_CUSTOMDNS_LABEL' |
678 |
|
|
+ %=l 'CUSTOMDNS_LABEL' |
679 |
|
|
</span><span class=data> |
680 |
|
|
% param customdns=>$ddc_datas->{"Domain_details"}->{"customdns"}; |
681 |
|
|
%=text_field 'customdns' |
682 |
|
|
</span><br> |
683 |
|
|
<span class=label> |
684 |
|
|
- %=l 'ddc_CUSTOM_PROTOCOL_LABEL' |
685 |
|
|
+ %=l 'CUSTOM_PROTOCOL_LABEL' |
686 |
|
|
</span><span class=data> |
687 |
|
|
% param customprotocol=>$ddc_datas->{"Domain_details"}->{"customprotocol"}; |
688 |
|
|
%=text_field 'customprotocol' |
689 |
|
|
</span><br> |
690 |
|
|
<span class=label> |
691 |
|
|
- %=l 'ddc_NAME_LABEL' |
692 |
|
|
+ %=l 'NAME_LABEL' |
693 |
|
|
</span><span class=data> |
694 |
|
|
% param login=>$ddc_datas->{"Domain_details"}->{"login"}; |
695 |
|
|
%=text_field 'login' |
696 |
|
|
</span><br> |
697 |
|
|
<span class=label> |
698 |
|
|
- %=l 'ddc_PASSWORD_LABEL' |
699 |
|
|
+ %=l 'PASSWORD_LABEL' |
700 |
|
|
</span><span class=data> |
701 |
|
|
% param password=>$ddc_datas->{"Domain_details"}->{"password"}; |
702 |
|
|
%=password_field 'password',id=>"ddcPass",value=>$ddc_datas->{"Domain_details"}->{"password"} |
703 |
|
|
@@ -63,7 +63,7 @@ |
704 |
|
|
% end |
705 |
|
|
</span><br> |
706 |
|
|
<span class=label> |
707 |
|
|
- %=l 'ddc_MX' |
708 |
|
|
+ %=l 'MX' |
709 |
|
|
</span><span class=data> |
710 |
|
|
% param mx=>$ddc_datas->{"Domain_details"}->{"mx"}; |
711 |
|
|
%=text_field 'mx' |
712 |
|
|
diff -urN smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep |
713 |
|
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2020-06-28 09:57:53.000000000 +0100 |
714 |
|
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-01-25 13:52:00.000000000 +0000 |
715 |
|
|
@@ -1,47 +1,47 @@ |
716 |
|
|
-<div id='ddc_paramlist'> |
717 |
|
|
+<div id='paramlist'> |
718 |
|
|
<h2> |
719 |
|
|
- %= l 'ddc_Params_for_IP_Retrieval' |
720 |
|
|
+ %= l 'Params_for_IP_Retrieval' |
721 |
|
|
</h2> |
722 |
|
|
- % my $btn = l('ddc_APPLY'); |
723 |
|
|
+ % my $btn = l('APPLY'); |
724 |
|
|
%= form_for '/ddclient3' => (method => 'POST') => begin |
725 |
|
|
<span class=label> |
726 |
|
|
- %=l 'ddc_RETRIEVE_SSL' |
727 |
|
|
+ %=l 'RETRIEVE_SSL' |
728 |
|
|
</span><span class=data> |
729 |
|
|
% param retrievessl=>$ddc_datas->{"params"}->{"ssl"}; |
730 |
|
|
%=select_field retrievessl=>[['Yes'=>'yes'],['No'=>'no']] |
731 |
|
|
</span><br> |
732 |
|
|
<span class=label> |
733 |
|
|
- %=l 'ddc_RETRIEVE_DEAMONUPDATE' |
734 |
|
|
+ %=l 'RETRIEVE_DEAMONUPDATE' |
735 |
|
|
</span><span class=data> |
736 |
|
|
% param retrievedeamonupdate=>$ddc_datas->{"params"}->{"DeamonUpdate"}; |
737 |
|
|
%=number_field 'retrievedeamonupdate',min=>0 |
738 |
|
|
</span><br> |
739 |
|
|
<span class=label> |
740 |
|
|
- %=l 'ddc_RETRIEVE_METHOD' |
741 |
|
|
+ %=l 'RETRIEVE_METHOD' |
742 |
|
|
</span><span class=data> |
743 |
|
|
% param retrievemethod=>$ddc_datas->{"params"}->{"method"}; |
744 |
|
|
%=select_field retrievemethod=>$methodlabels |
745 |
|
|
</span><br> |
746 |
|
|
<span class=label> |
747 |
|
|
- %=l 'ddc_RETRIEVE_IF' |
748 |
|
|
+ %=l 'RETRIEVE_IF' |
749 |
|
|
</span><span class=data> |
750 |
|
|
% param retrieveinterface=>$ddc_datas->{"params"}->{"Extinterface"}; |
751 |
|
|
%=text_field 'retrieveinterface' |
752 |
|
|
</span><br> |
753 |
|
|
<span class=label> |
754 |
|
|
- %=l 'ddc_RETRIEVE_CMD' |
755 |
|
|
+ %=l 'RETRIEVE_CMD' |
756 |
|
|
</span><span class=data> |
757 |
|
|
% param retrievecmd=>$ddc_datas->{"params"}->{"cmd"}; |
758 |
|
|
%=text_field 'retrievecmd' |
759 |
|
|
</span><br> |
760 |
|
|
<span class=label> |
761 |
|
|
- %=l 'ddc_RETRIEVE_IP' |
762 |
|
|
+ %=l 'RETRIEVE_IP' |
763 |
|
|
</span><span class=data> |
764 |
|
|
% param retrieveip=>$ddc_datas->{"params"}->{"ForceIP"}; |
765 |
|
|
%=text_field 'retrieveip' |
766 |
|
|
</span><br> |
767 |
|
|
<span class=label> |
768 |
|
|
- %=l 'ddc_RETRIEVE_URLCHECKIP' |
769 |
|
|
+ %=l 'RETRIEVE_URLCHECKIP' |
770 |
|
|
</span><span class=data> |
771 |
|
|
% param retrieveurlcheckip=>$ddc_datas->{"params"}->{"urlcheckip"}; |
772 |
|
|
%=text_field 'retrieveurlcheckip' |