[Scummvm-cvs-logs] CVS: web/include html.php,1.21,1.22 scr-categories.php,1.1,1.2

Eugene Sandulenko sev at users.sourceforge.net
Sat Nov 12 18:47:03 CET 2005


Update of /cvsroot/scummvm/web/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14043/include

Modified Files:
	html.php scr-categories.php 
Log Message:
Another batch of HTML validation fixes


Index: html.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/html.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- html.php	13 Nov 2005 01:52:16 -0000	1.21
+++ html.php	13 Nov 2005 02:46:35 -0000	1.22
@@ -3,6 +3,7 @@
 function html_page_header($title, $extra = "") {
   global $file_root;
 
+  echo '<?xml version="1.0" encoding="iso-8859-1"?>'."\n";
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@@ -10,8 +11,6 @@
 	<head>
 		<link rel="stylesheet" href="./style.css" type="text/css">
 <?php
-  echo '<link rel="SHORTCUT ICON" HREF="'.$file_root.'/favicon.ico" />';
-  echo '<link rel="ICON" HREF="'.$file_root.'/favicon.ico" />';
   echo "<title>$title</title>\n";
   echo "$extra\n";
 ?>
@@ -133,6 +132,7 @@
 </tr><tr>
 <td colspan="2">
 <table width="100%" cellspacing="0" style="padding:0px;">
+<tr>
 <td width="12" style="height:5px;line-height:5px;width:12px;"><img alt="" src="images/content-left-bottom.gif" height="12" width="12"></td>
    <td style="background:#fbf1ce;line-height:2px;">  </td>
 </tr></table>

Index: scr-categories.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/scr-categories.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- scr-categories.php	13 Nov 2005 00:47:25 -0000	1.1
+++ scr-categories.php	13 Nov 2005 02:46:35 -0000	1.2
@@ -7,7 +7,7 @@
 
   echo "<table border=0>\n";
   foreach ($categories as $cat) {
-    echo "<tr><td class='nav-bullet'><img src='images/bullet-section.gif' /></td><td class='nav-item'><a href=\"#cat".
+    echo "<tr><td class='nav-bullet'><img src='images/bullet-section.gif' alt='*' /></td><td class='nav-item'><a href=\"#cat".
 	$cat->_catnum.'">'.$cat->_name."</a></td></tr>\n";
   }
   echo "</table>\n";
@@ -17,8 +17,8 @@
   global $categories;
 
   foreach ($categories as $cat) {
-    html_subhead_start('<a name="cat'.$cat->_catnum.'"/><a href="?cat1='.
-		       $cat->_catnum .'&cat2=-1&view=-1">'.$cat->_name.'</a>');
+    html_subhead_start('<a name="cat'.$cat->_catnum.'"/></a><a href="?cat1='.
+		       $cat->_catnum .'&cat2=-1&view=-1">'.$cat->_name.'</a>');
 
     echo '<div class="par-scr-content-cat'.$cat->_catnum.'">';
 
@@ -54,7 +54,7 @@
     echo "<table border=0>\n";
     foreach($this->_list as $cat) {
       echo "<tr><td class='cat-bullet'><img src='images/".$cat['filename'].
-      	"');\"/></td><td class='cat-link'><a href=\"?cat1=".$this->_catnum."&cat2=".$cat['catnum']."&view=-1\">".
+      	"' alt=\"\" /></td><td class='cat-link'><a href=\"?cat1=".$this->_catnum."&cat2=".$cat['catnum']."&view=-1\">".
       	"<b>{$cat['description'][0]}</b>".substr($cat['description'], 1).
       	"</a> <font class='cat-count'>(".$scrcatnums[$this->_catnum][$cat['catnum']]." shots)</font></td></tr>\n";
     }





More information about the Scummvm-git-logs mailing list