1 |
diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks |
diff -urN smeserver-ddclient-1.3.0.old/createlinks smeserver-ddclient-1.3.0/createlinks |
2 |
--- smeserver-ddclient-1.3.0.old/createlinks 2023-11-10 16:11:05.855271810 +0000 |
--- smeserver-ddclient-1.3.0.old/createlinks 2023-11-10 16:11:05.855271810 +0000 |
3 |
+++ smeserver-ddclient-1.3.0/createlinks 2023-12-18 10:46:05.082393198 +0000 |
+++ smeserver-ddclient-1.3.0/createlinks 2023-12-18 10:52:53.495714627 +0000 |
4 |
@@ -48,3 +48,6 @@ |
@@ -48,3 +48,6 @@ |
5 |
$event = 'post-upgrade'; |
$event = 'post-upgrade'; |
6 |
templates2events("/etc/ddclient/ddclient.conf", $event); |
templates2events("/etc/ddclient/ddclient.conf", $event); |
7 |
templates2events("/etc/ppp/ip-up.local", $event); |
templates2events("/etc/ppp/ip-up.local", $event); |
8 |
+ |
+ |
9 |
+# and create an empty cache |
+# and create an empty cache |
10 |
+safe_touch("/var/cache/ddclient/ddclient.cache") |
+# safe_touch("/var/cache/ddclient/ddclient.cache") |
11 |
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 |
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 |
12 |
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-11-10 16:11:05.911271972 +0000 |
--- smeserver-ddclient-1.3.0.old/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-11-10 16:11:05.911271972 +0000 |
13 |
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-12-14 11:40:00.000000000 +0000 |
+++ smeserver-ddclient-1.3.0/root/etc/e-smith/templates/etc/ddclient/ddclient.conf/10Headers 2023-12-14 11:40:00.000000000 +0000 |
844 |
</span><span class=data> |
</span><span class=data> |
845 |
%=text_field 'mx' |
%=text_field 'mx' |
846 |
</span><br> |
</span><br> |
847 |
|
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 |
848 |
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep 2023-11-10 16:11:05.900271940 +0000 |
849 |
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_del.html.ep 2023-12-18 11:14:00.000000000 +0000 |
850 |
|
@@ -2,7 +2,7 @@ |
851 |
|
% my $btn = l('REMOVE'); |
852 |
|
%= form_for '/ddclient4' => (method => 'POST') => begin |
853 |
|
<p> |
854 |
|
- %= $c->render_to_string(inline =>l("ddc_REMOVE_DESCRIPTION",$ddc_datas->{"Domain_details"}->{"Domain"},$ddc_datas->{"Domain_details"}->{"Description"},$c->l($ddc_datas->{"Domain_details"}->{"Publication"}))) |
855 |
|
+ %= $c->render_to_string(inline =>l("REMOVE_DESCRIPTION",$ddc_datas->{"Domain_details"}->{"Domain"},$ddc_datas->{"Domain_details"}->{"Description"},$c->l($ddc_datas->{"Domain_details"}->{"Publication"}))) |
856 |
|
</p> |
857 |
|
% param Domain=>$ddc_datas->{"Domain_details"}->{"Domain"}; |
858 |
|
%= hidden_field Domain=>$ddc_datas->{"Domain_details"}->{"Domain"} |
859 |
|
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 |
860 |
|
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep 2023-11-10 16:11:05.900271940 +0000 |
861 |
|
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_domainlist.html.ep 2023-12-18 11:46:00.000000000 +0000 |
862 |
|
@@ -36,9 +36,12 @@ |
863 |
|
%= t td => (class => 'sme-border') => $Domain->{"Publication"} |
864 |
|
<td class = 'sme-border'> |
865 |
|
<a href="/smanager/ddclient1?trt=MOD&Domain=<%= $Domain->{"Domain"}%>"><%=l 'MODIFY'%></a> |
866 |
|
- </td><td class = 'sme-border'> |
867 |
|
- <a href="/smanager/ddclient1?trt=DEL&Domain=<%= $Domain->{"Domain"}%>"><%=l 'REMOVE'%></a> |
868 |
|
- </td> |
869 |
|
+ </td> |
870 |
|
+ % if ($Domain->{"Publication"} ne ""){ |
871 |
|
+ <td class = 'sme-border'> |
872 |
|
+ <a href="/smanager/ddclient1?trt=DEL&Domain=<%= $Domain->{"Domain"}%>"><%=l 'REMOVE'%></a> |
873 |
|
+ </td> |
874 |
|
+ % } |
875 |
|
</tr> |
876 |
|
%} |
877 |
|
</tbody> |
878 |
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 |
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 |
879 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2023-11-10 16:11:05.901271943 +0000 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2023-11-10 16:11:05.901271943 +0000 |
880 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2023-11-18 14:56:00.000000000 +0000 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_modify_domain.html.ep 2023-12-18 11:13:00.000000000 +0000 |
881 |
@@ -1,4 +1,9 @@ |
@@ -1,6 +1,11 @@ |
882 |
<div id='modifydomain'> |
<div id='modifydomain'> |
883 |
+ <script> |
+ <script> |
884 |
+ window.onload = function() { |
+ window.onload = function() { |
886 |
+ }; |
+ }; |
887 |
+ </script> |
+ </script> |
888 |
<h2> |
<h2> |
889 |
%= l 'CUSTOM_DESCRIPTION' |
- %= l 'CUSTOM_DESCRIPTION' |
890 |
|
+ %= l 'MODIFY_DESCRIPTION' |
891 |
</h2><br> |
</h2><br> |
892 |
@@ -24,20 +29,41 @@ |
% my $btn = l('APPLY'); |
893 |
|
%= form_for '/ddclient8' => (method => 'POST') => begin |
894 |
|
@@ -10,34 +15,60 @@ |
895 |
|
%= hidden_field domainName => $ddc_datas->{"Domain_details"}->{"Domain"} |
896 |
|
%= $ddc_datas->{"Domain_details"}->{"Domain"} |
897 |
|
</span><br><br> |
898 |
|
+ |
899 |
|
<span class=label> |
900 |
|
%=l 'DESCRIPTION_LABEL' |
901 |
|
</span><span class=data> |
902 |
|
%= $ddc_datas->{"Domain_details"}->{"Description"} |
903 |
|
</span><br><br> |
904 |
|
+ |
905 |
|
+ % if ($ddc_datas->{"Domain_details"}->{"Content"} ne ""){ |
906 |
|
<span class=label> |
907 |
|
%= $ddc_datas->{"Domain_details"}->{"Content"} |
908 |
|
</span><span class=data> |
909 |
|
%= $ddc_datas->{"Domain_details"}->{"Content"} |
910 |
|
</span><br><br> |
911 |
|
+ % } |
912 |
|
+ |
913 |
|
<span class=label> |
914 |
%=l 'SERVERS_LABEL' |
%=l 'SERVERS_LABEL' |
915 |
</span><span class=data> |
</span><span class=data> |
916 |
% param dns=>$ddc_datas->{"Domain_details"}->{"dns"}; |
% param dns=>$ddc_datas->{"Domain_details"}->{"dns"}; |
959 |
</span><span class=data> |
</span><span class=data> |
960 |
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 |
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 |
961 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-11-10 16:11:05.902271946 +0000 |
--- smeserver-ddclient-1.3.0.old/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-11-10 16:11:05.902271946 +0000 |
962 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-12-14 11:36:00.000000000 +0000 |
+++ smeserver-ddclient-1.3.0/root/usr/share/smanager/themes/default/templates/partials/_ddc_paramlist.html.ep 2023-12-16 08:19:00.000000000 +0000 |
963 |
@@ -1,4 +1,9 @@ |
@@ -1,4 +1,9 @@ |
964 |
<div id='paramlist'> |
<div id='paramlist'> |
965 |
+ <script> |
+ <script> |