[Scummvm-cvs-logs] CVS: web/include html.php,1.22,1.23 scr-categories.php,1.2,1.3
Eugene Sandulenko
sev at users.sourceforge.net
Sun Nov 13 07:00:00 CET 2005
Update of /cvsroot/scummvm/web/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29610/include
Modified Files:
html.php scr-categories.php
Log Message:
Fix more HTML errors. Now we are truly compliant.
Index: html.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/html.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- html.php 13 Nov 2005 02:46:35 -0000 1.22
+++ html.php 13 Nov 2005 14:58:53 -0000 1.23
@@ -3,12 +3,11 @@
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">
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="./style.css" type="text/css">
<?php
echo "<title>$title</title>\n";
Index: scr-categories.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/scr-categories.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- scr-categories.php 13 Nov 2005 02:46:35 -0000 1.2
+++ scr-categories.php 13 Nov 2005 14:58:53 -0000 1.3
@@ -17,7 +17,7 @@
global $categories;
foreach ($categories as $cat) {
- html_subhead_start('<a name="cat'.$cat->_catnum.'"/></a><a href="?cat1='.
+ 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.'">';
More information about the Scummvm-git-logs
mailing list