[Scummvm-cvs-logs] CVS: web/include html.php,1.20,1.21 menu.php,1.7,1.8 sidebar.php,1.28,1.29
Eugene Sandulenko
sev at users.sourceforge.net
Sat Nov 12 17:53:03 CET 2005
Update of /cvsroot/scummvm/web/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6565/include
Modified Files:
html.php menu.php sidebar.php
Log Message:
Several HTML valiadtion fixes
Index: html.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/html.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- html.php 13 Nov 2005 00:32:54 -0000 1.20
+++ html.php 13 Nov 2005 01:52:16 -0000 1.21
@@ -99,7 +99,7 @@
</tr><tr><td class="menus" style="vertical-align:bottom;" >
- <img src="images/tentacle1.gif" style="vertical-align:bottom;" />
+ <img src="images/tentacle1.gif" style="vertical-align:bottom;" alt="Tentacle" />
</td>
</tr>
@@ -129,7 +129,7 @@
<!-- </td></tr> -->
</table>
</td><td class="menus" style="width:163px;vertical-align:top;border:0px;" rowspan="2"><img src="images/tentacle2.gif" style="margin:0px;border:0px;
- vertical-align:bottom" /></td>
+ vertical-align:bottom" alt="" /></td>
</tr><tr>
<td colspan="2">
<table width="100%" cellspacing="0" style="padding:0px;">
@@ -147,7 +147,7 @@
things are registered trademarks of <a href="http://www.lucasarts.com/">LucasArts, Inc.</a>.
All other trademarks and registered trademarks are owned by their respective companies. ScummVM is
not affiliated in any way with LucasArts, Inc.</td>
- <td width="110"><img src="images/tentacle3.gif" /></td>
+ <td width="110"><img src="images/tentacle3.gif" alt="" /></td>
<td width="29"> </td>
</tr>
</table>
Index: menu.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/menu.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- menu.php 13 Nov 2005 00:29:58 -0000 1.7
+++ menu.php 13 Nov 2005 01:52:16 -0000 1.8
@@ -1,13 +1,26 @@
<?
class htmlmenu {
- function htmlmenu($name, $style) {
+ function htmlmenu($name, $style, $extra = "") {
echo '<table class="menu" cellspacing="0">';
echo '<tr class="'.$style.'">';
echo " <th>$name</th>";
?>
</tr>
+ <tfoot>
+ <tr>
+ <td><img src="images/menu-bottom.gif" alt="" /></td>
+ </tr>
+
+<?php
+ if ($extra) {
+ echo "<tr><td>$extra</td></tr>\n";
+ }
+?>
+
+
+ </tfoot>
<tbody>
<tr>
<td>
@@ -24,25 +37,12 @@
}
}
- function done($extra = "") {
+ function done() {
?>
</ul>
</td>
</tr>
</tbody>
- <tfoot>
- <tr>
- <td><img src="images/menu-bottom.gif" /></td>
- </tr>
-
-<?php
- if ($extra) {
- echo "<tr><td>$extra</td></tr>\n";
- }
-?>
-
-
- </tfoot>
</table>
<?php
Index: sidebar.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/sidebar.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- sidebar.php 13 Nov 2005 00:29:58 -0000 1.28
+++ sidebar.php 13 Nov 2005 01:52:16 -0000 1.29
@@ -35,7 +35,7 @@
$g->done();
- $g = new htmlmenu("Misc. Menu", "menu-misc");
+ $g = new htmlmenu("Misc. Menu", "menu-misc", '<img src="'.$file_root.'/images/hangmonk.gif" alt="monkey" align="right">');
$g->add("Subprojects", $file_root."/subprojects.php");
$g->add("Demos", $file_root."/demos.php");
@@ -43,7 +43,7 @@
$g->add("Contact", $file_root."/contact.php");
$g->add("Links", $file_root."/links.php");
- $g->done('<img src="'.$file_root.'/images/hangmonk.gif" alt="monkey" align="right">');
+ $g->done();
}
function sidebar_end ()
More information about the Scummvm-git-logs
mailing list