X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fddns.cgi;h=4e51ab6fd27ea8fb20e38e88ba4e74fe0fd51624;hp=d840d39469afa2017ad951e5fdb058f12b4aac37;hb=40962f9760ce8da23ebd5c723d75775e7853943d;hpb=5a2935b1b335077e7df76ae3dbd75331056bd198 diff --git a/html/cgi-bin/ddns.cgi b/html/cgi-bin/ddns.cgi index d840d3946..4e51ab6fd 100644 --- a/html/cgi-bin/ddns.cgi +++ b/html/cgi-bin/ddns.cgi @@ -232,6 +232,7 @@ if ($settings{'ACTION'} eq '') &Header::openbigbox('100%', 'left', '', $errormessage); my %checked =(); # Checkbox manipulations +$checked{'SERVICE'}{'all-inkl.com'} = ''; $checked{'SERVICE'}{'cjb.net'} = ''; $checked{'SERVICE'}{'dhs.org'} = ''; $checked{'SERVICE'}{'dnspark.com'} = ''; @@ -302,7 +303,7 @@ print < * $Lang::tr{'avoid dod'} - + @@ -327,6 +328,7 @@ print < $Lang::tr{'service'}: +

- @@ -396,14 +399,14 @@ END # &Header::openbox('100%', 'left', $Lang::tr{'current hosts'}); print < +
* $ddnsprefix +
- - - - - - + + + + + + END ; @@ -426,7 +429,7 @@ foreach my $line (@current) { $descproxy = $Lang::tr{'click to disable'}; } else { $gifproxy = 'off.gif'; - $descproxy = $Lang::tr{'click to enable'}; + $descproxy = $Lang::tr{'click to enable'}; } my $gifwildcard=''; @@ -450,26 +453,30 @@ foreach my $line (@current) { $gif = 'off.gif'; $gdesc = $Lang::tr{'click to enable'}; } - + + my $col=""; #Colorize each line if ($settings{'KEY1'} eq $key) { - print ""; + print ""; + $col="bgcolor='${Header::colouryellow}'"; } elsif ($key % 2) { - print ""; + print ""; + $col="bgcolor='$color{'color20'}'"; } else { - print ""; + print ""; + $col="bgcolor='$color{'color22'}'"; } - + #if a field is empty, replace it with a '---' to see colorized info! $temp[1] = '---' if (!$temp[1]); $temp[2] = '---' if (!$temp[2]); print <$temp[0] - - + + + - - - - - - +
$Lang::tr{'service'}$Lang::tr{'hostname'}$Lang::tr{'domain'}$Lang::tr{'proxy'}$Lang::tr{'wildcards'}$Lang::tr{'action'}$Lang::tr{'service'}$Lang::tr{'hostname'}$Lang::tr{'domain'}$Lang::tr{'proxy'}$Lang::tr{'wildcards'}$Lang::tr{'action'}
$sync$temp[1]$sync$temp[2]$temp[0]$sync$temp[1]$sync$temp[2] +
@@ -478,7 +485,7 @@ foreach my $line (@current) {
+
@@ -487,7 +494,7 @@ foreach my $line (@current) {
+
@@ -496,7 +503,7 @@ foreach my $line (@current) {
+
@@ -504,7 +511,7 @@ foreach my $line (@current) {
+
@@ -536,7 +543,7 @@ print <$Lang::tr{
$Lang::tr{'remove'}