From: Alf Høgemark Date: Wed, 19 Feb 2014 17:31:02 +0000 (+0100) Subject: cgi-bin: Add title attribute to input type image where missing X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=f8aa06792fde9b29e0c81c1ce2fb4490e9b645a8 cgi-bin: Add title attribute to input type image where missing Almost all of - + END ; @@ -224,7 +224,7 @@ END - + END ; diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 67e8dc827..efcdfb933 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -1492,7 +1492,7 @@ END my $netcount=&getnetcount($customnetwork{$key}[0]); print"
$customnetwork{$key}[0]".&Header::colorize($colnet)."$customnetwork{$key}[3]$netcount x"; print< + @@ -1502,7 +1502,7 @@ END END if($netcount == '0') { - print""; + print"
"; }else{ print""; } @@ -1600,7 +1600,7 @@ END $hostcount=&gethostcount($customhost{$key}[0]); print"$customhost{$key}[0]".&Header::colorize($ip)."$customhost{$key}[3]$hostcount x"; print<
+ @@ -1610,7 +1610,7 @@ END END if($hostcount == '0') { - print"
"; + print"
"; }else{ print""; } @@ -1677,9 +1677,9 @@ sub viewtablegrp print "$Lang::tr{'used'}: $netgrpcount x"; if($netgrpcount == '0') { - print"
"; + print"
"; } - print"
"; + print"
"; print""; } my $col=''; @@ -1712,7 +1712,7 @@ sub viewtablegrp print" - "; + print""; }else{ print""; } @@ -1844,9 +1844,9 @@ sub viewtableservicegrp print "  $Lang::tr{'used'}: $grpcount x"; if($grpcount == '0') { - print""; + print""; } - print""; + print""; print"
$Lang::tr{'name'}$Lang::tr{'fwhost ip_mac'}$Lang::tr{'fwhost type'}
".&Header::colorize($ip)."$customgrp{$key}[3]
"; } if ($delflag > 0 && $ip ne ''){ - print""; + print""; #check if this group has only one entry foreach my $key2 (keys %hash) { if ($hash{$key2}<2 && $key2 eq $customgrp{$key}[0]){ @@ -1770,7 +1770,7 @@ END elsif($customservice{$key}[3] ne 'BLANK'){print $customservice{$key}[3];} print<
$srvcount x + @@ -1778,7 +1778,7 @@ END END if ($srvcount eq '0') { - print"
"; } if( $fwhostsettings{'SRVGRP_NAME'} eq $customservicegrp{$key}[0]) { @@ -1885,7 +1885,7 @@ sub viewtableservicegrp print" + END ; } diff --git a/html/cgi-bin/pakfire.cgi b/html/cgi-bin/pakfire.cgi index 5903d8525..2a7ca8407 100644 --- a/html/cgi-bin/pakfire.cgi +++ b/html/cgi-bin/pakfire.cgi @@ -81,12 +81,12 @@ END - +
Name$Lang::tr{'port'}$Lang::tr{'fwhost prot'}
$port$protocol
"; if ($delflag gt '0'){ if ($customservicegrp{$key}[2] ne $Lang::tr{'fwhost err emptytable'}){ - print""; + print""; } #check if this group has only one entry foreach my $key2 (keys %hash) { diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index bd3a9dc24..55e264506 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -472,7 +472,7 @@ if ($return) { $Lang::tr{'snort working'}
- +
 END
diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi
index 557cf7222..fa801a9ec 100644
--- a/html/cgi-bin/ovpnmain.cgi
+++ b/html/cgi-bin/ovpnmain.cgi
@@ -2548,7 +2548,7 @@ END
 		print"
$ccdconf[0]$ccdconf[1]$ccdhosts/".(&ccdmaxclients($ccdconf[1])+1).""; print < - + @@ -2557,7 +2557,7 @@ print < -
- +
END @@ -121,12 +121,12 @@ END - +
- +
END @@ -184,12 +184,12 @@ if ($return) { print < - $Lang::tr{  + $Lang::tr{  $Lang::tr{'pakfire working'}
- +
 END
@@ -245,7 +245,7 @@ END
 					
 					
- +   @@ -262,7 +262,7 @@ print <
- + @@ -277,7 +277,7 @@ print <
- + END diff --git a/html/cgi-bin/qos.cgi b/html/cgi-bin/qos.cgi index 8b96731dd..f3539cd9b 100644 --- a/html/cgi-bin/qos.cgi +++ b/html/cgi-bin/qos.cgi @@ -1209,22 +1209,22 @@ sub showclasses {
- +
- +
- +
- +
@@ -1249,13 +1249,13 @@ END - +
- +
END @@ -1314,7 +1314,7 @@ END - +
@@ -1324,7 +1324,7 @@ END - +
END @@ -1372,14 +1372,14 @@ END - +
- +
END @@ -1407,17 +1407,17 @@ END
- +
- +
- +
END diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index cdc966498..bfa0b89ed 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -819,7 +819,7 @@ END $Lang::tr{'username'} $Lang::tr{'password'} - + END @@ -844,7 +844,7 @@ END $Lang::tr{'unix group'} $Lang::tr{'unix shell'} - + END @@ -865,7 +865,7 @@ END $Lang::tr{'unix group'} $Lang::tr{'unix shell'} - + END diff --git a/html/cgi-bin/tripwire.cgi b/html/cgi-bin/tripwire.cgi index 170bd66ca..fb48a270f 100644 --- a/html/cgi-bin/tripwire.cgi +++ b/html/cgi-bin/tripwire.cgi @@ -167,7 +167,7 @@ if ($tripwiresettings{'ACTION'} eq 'generatepolicypw')
$Lang::tr{'sitekey'} $Lang::tr{'localkey'}

- $Lang::tr{'ok'} + $Lang::tr{'ok'}
$Lang::tr{'cancel'} @@ -506,17 +506,17 @@ END #
#END #; -#foreach my $cronjob (@cronjobs) {chomp $cronjob;my $time=$cronjob; $time=~s/\/etc\/fcron.daily\/tripwire//g;print"$cronjob at $time daily
";} +#foreach my $cronjob (@cronjobs) {chomp $cronjob;my $time=$cronjob; $time=~s/\/etc\/fcron.daily\/tripwire//g;print"
$cronjob at $time daily
";} #print < #
# # +# # +# #
# -#
# -#
#END #; diff --git a/html/cgi-bin/upnp.cgi b/html/cgi-bin/upnp.cgi index 2b03eff8a..ee341e15a 100644 --- a/html/cgi-bin/upnp.cgi +++ b/html/cgi-bin/upnp.cgi @@ -164,7 +164,7 @@ print <Upstream in KB:
- + END ;