]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
First step changes to be xml compliant.
authoreldy <>
Tue, 16 Sep 2003 17:00:53 +0000 (17:00 +0000)
committereldy <>
Tue, 16 Sep 2003 17:00:53 +0000 (17:00 +0000)
wwwroot/cgi-bin/plugins/graph3d.pm
wwwroot/cgi-bin/plugins/hostinfo.pm
wwwroot/cgi-bin/plugins/rawlog.pm
wwwroot/cgi-bin/plugins/tooltips.pm
wwwroot/cgi-bin/plugins/userinfo.pm

index 1daa5f6503d376333aebff530c6e265a60b83450..4f7fe4a13890deca87d3e84457ed394693476167 100644 (file)
@@ -62,9 +62,9 @@ sub ShowMonthGraph_graph3d() {
                return 1;
        }
 
-       print "<APPLET>\n";
+       print "<applet>\n";
        
-       print "</APPLET>\n";    
+       print "</applet>\n";    
 
        return 0;
 }
index 27ab644aa3d7d4672347e233976b0a825c23d0b6..fd98749a952fcd8dccf2c4b598d98b2f4fd2d6b4 100644 (file)
@@ -91,7 +91,7 @@ sub ShowInfoHost_hostinfo {
        # <-----
        my $hostinfotoshow="$_[0]";
        if ($hostinfotoshow eq '__title__') {
-               print "<TD width=80>$Message[114]</TD>";        
+               print "<td width=80>$Message[114]</td>";        
        }
        elsif ($hostinfotoshow) {
                my $keyforwhois;
@@ -109,13 +109,13 @@ sub ShowInfoHost_hostinfo {
                        $keyforwhois=$1;
                        $linkforwhois=1;
                }
-               print "<TD>";
+               print "<td>";
                if ($keyforwhois && $linkforwhois) { print "<a href=\"javascript:neww('$keyforwhois',$linkforwhois)\">?</a>"; }
                else { print "&nbsp;" }
-               print "</TD>";
+               print "</td>";
        }
        else {
-               print "<TD>&nbsp;</TD>";
+               print "<td>&nbsp;</td>";
        }
        return 1;
        # ----->
index f72fd7051b3a487fda6cbcbc9be437bd77caa0e3..aa8e62ccc3ef8d78ee0fd0a5ff19d7a2d4a78250 100644 (file)
@@ -105,16 +105,16 @@ sub BuildFullHTMLOutput_rawlog {
 sub _ShowForm {
        my $Filter=shift||'';
        print "<br>\n";
-       print "<form action=\"$AWScript\" style=\"padding: 0px 0px 0px 0px; margin-top: 0\" target=>\n";
-       print "<TABLE CLASS=\"AWS_BORDER\" BORDER=0 CELLPADDING=2 CELLSPACING=0 WIDTH=\"100%\">\n";
-       print "<TR><TD>";
-       print "<TABLE CLASS=\"AWS_DATA\" BORDER=0 CELLPADDING=1 CELLSPACING=0 WIDTH=\"100%\">\n";
+       print "<form action=\"$AWScript\" style=\"padding: 0px 0px 0px 0px; margin-top: 0\">\n";
+       print "<table class=\"aws_border\" border=0 cellpadding=2 cellspacing=0 width=\"100%\">\n";
+       print "<tr><td>";
+       print "<table class=\"aws_data\" border=0 cellpadding=1 cellspacing=0 width=\"100%\">\n";
        print "<tr align=left><td align=left><b>Show content of file '$LogFile' ($MAXLINE first lines):</b></td></tr>\n";
-       print "<tr align=left><td align=left>$Message[79]: <input type=text name=filterrawlog value=\"$Filter\"><input type=submit value=\"List\" class=\"AWS_BUTTON\">\n";
+       print "<tr align=left><td align=left>$Message[79]: <input type=text name=filterrawlog value=\"$Filter\"><input type=submit value=\"List\" class=\"aws_button\">\n";
        print "<input type=hidden name=config value=\"$SiteConfig\"><input type=hidden name=framename value=\"$FrameName\"><input type=hidden name=pluginmode value=\"rawlog\">";
        print "</td></tr>\n";
-       print "</TABLE>\n";
-       print "</TD></TR></TABLE>\n";
+       print "</table>\n";
+       print "</td></tr></table>\n";
        print "</form>\n";
 }
 
index 379f8318f914e5641dafdaef6ee4d28d6caa1600..e881bd954fb4a4fc736644f169153f3536ab92d5 100644 (file)
@@ -62,8 +62,8 @@ sub Init_tooltips {
 #-----------------------------------------------------------------------------
 sub AddHTMLStyles_tooltips {
        # <-----
-       print "DIV { font: 12px arial,verdana,helvetica; text-align:justify; }\n";
-       print ".CTooltip { position:absolute; top:0px; left:0px; z-index:2; width:$TOOLTIPWIDTH; visibility:hidden; font: 8pt MS Comic Sans,arial,sans-serif; background-color: #FFFFE6; padding: 8px; border: 1px solid black; }\n";
+       print "div { font: 12px 'Arial','Verdana','Helvetica', sans-serif; text-align: justify; }\n";
+       print ".CTooltip { position:absolute; top: 0px; left: 0px; z-index: 2; width: ${TOOLTIPWIDTH}px; visibility:hidden; font: 8pt 'MS Comic Sans','Arial',sans-serif; background-color: #FFFFE6; padding: 8px; border: 1px solid black; }\n";
        return 1;
        # ----->
 }
index dbeb39f4ed2fe8045c64c400003467278b76ffa1..512e11295883c3affe818f37ffd80a2cfb87f8df 100644 (file)
@@ -81,10 +81,10 @@ sub ShowInfoUser_userinfo {
                $userinfoloaded=1;
        }
        if ($userinfotoshow) {
-               if ($UserInfo{$userinfotoshow}) { print "<TD>$UserInfo{$userinfotoshow}</TD>"; }
-               else { print "<TD>&nbsp;</TD>"; }       # Undefined user info
+               if ($UserInfo{$userinfotoshow}) { print "<td>$UserInfo{$userinfotoshow}</td>"; }
+               else { print "<td>&nbsp;</td>"; }       # Undefined user info
        }
-       else { print "<TD>&nbsp;</TD>"; }       # User info title
+       else { print "<td>&nbsp;</td>"; }       # User info title
        return 1;
        # ----->
 }