Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
daemon
Worker
Worker



Joined: Jan 07, 2005
Posts: 163

PostPosted: Wed Apr 05, 2006 3:12 pm Reply with quote

hey all in my quest to make my nuke W3C compliant here are the fixes for the AvantGo module pages.

modules/AvantGo/index.php

find this code:
Code:


header("Content-Type: text/html");
echo "<html>\n"
    ."<head>\n"
    ."<title>$sitename - AvantGo</title>\n"


replace with:
Code:


header("Content-Type: text/html");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n"
    ."<head>\n"
    ."<title>$sitename - AvantGo</title>\n"


find this code:
Code:


echo "</body>\n"
    ."</html>";
include("includes/counter.php");   
die();
       
?>


replace with:
Code:


echo "</div></body>\n"
    ."</html>";
include("includes/counter.php");   
die();
       
?>


modules/AvantGo/print.php

search for all &file & &sid replace with &amp;file or &amp;sid ,these are all in one line Smile

find this code:
Code:


formatTimestamp($time);
    echo "
    <html>
    <head><title>$sitename - $title</title></head>


replace with:
Code:


formatTimestamp($time);
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "
    <html>
    <head><title>$sitename - $title</title></head>


find this code:
Code:


</center>
    </td></tr></table>
    </body>
    </html>
    ";
}


replace with:
Code:


</font></center>
    </td></tr></table>
    </body>
    </html>
    ";
}


That should do it, on to the next module Smile
 
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Wed Apr 05, 2006 5:06 pm Reply with quote

daemon, if you would send me your corrected AvantGo Files (zipped please), I would like to include them in the next release of RavenNuke76(tm), with full credit to you, of course Wink. Mail to raven (*AT*) ravenphpscripts (*DOT*) com. Thanks!
 
View user's profile Send private message
daemon







PostPosted: Wed Apr 05, 2006 5:08 pm Reply with quote

no problem
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©