[Scummvm-cvs-logs] CVS: web/include sidebar.php,1.13,1.14 menu.php,1.2,1.3 html.php,1.6,1.7
Max Horn
fingolfin at users.sourceforge.net
Sun Oct 12 14:25:03 CEST 2003
Update of /cvsroot/scummvm/web/include
In directory sc8-pr-cvs1:/tmp/cvs-serv32259/include
Modified Files:
sidebar.php menu.php html.php
Log Message:
cleanup; removed border=0 attributes on img-elements (not needed anymore, same effect is achieved via CSS)
Index: sidebar.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/sidebar.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- sidebar.php 9 Oct 2003 11:27:56 -0000 1.13
+++ sidebar.php 12 Oct 2003 21:24:00 -0000 1.14
@@ -35,7 +35,7 @@
$g->add("Project Home", "http://sourceforge.net/projects/scummvm/");
$g->add("Forums", "http://sourceforge.net/forum/?group_id=37116");
- $g->add("Bug Tracking", "http://sourceforge.net/tracker/?group_id=37116&atid=418820");
+ $g->add("Bug Tracking", "http://sourceforge.net/tracker/?group_id=37116&atid=418820");
$g->add("Daily Snapshots", "/daily/");
$g->add("CVS Tree", "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/scummvm/scummvm/");
@@ -49,7 +49,7 @@
$g->add("Credits", $file_root."/credits.php");
$g->add("Contact", $file_root."/contact.php");
- $g->done("",'<img src="'.$file_root.'/images/hangmonk.gif" border=0 alt="monkey">');
+ $g->done('<img src="'.$file_root.'/images/hangmonk.gif" alt="monkey">');
?>
<p> </p>
@@ -63,7 +63,7 @@
<p align="center">
<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=37116"
- width="88" height="31" border="0" alt="SourceForge"></a>
+ width="88" height="31" alt="SourceForge"></a>
</p>
</td>
Index: menu.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/menu.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- menu.php 12 Apr 2002 21:09:38 -0000 1.2
+++ menu.php 12 Oct 2003 21:24:00 -0000 1.3
@@ -8,61 +8,46 @@
class htmlmenu {
- function htmlmenu($name, $form = null)
+ function htmlmenu($name)
{
- global $file_root;
-
- if ($form)
- {
- echo "<form action='$form' method=get>\n";
- }
-
- echo "<table width=120 border=0 cellspacing=0 cellpadding=0>\n";
- echo "<tr>\n";
- echo " <td width='100%' class=topMenu><span class=menuTitle> $name</span></td>\n";
- echo " <td align=right valign=top class=topMenu><img src='".$file_root."/images/main_right_top.gif' border=0 alt='---'></td>\n";
- echo " </tr>\n";
- echo "</table>\n";
- echo "<table width=120 border=0 cellspacing=0 cellpadding=2>\n";
- echo "<tr>\n";
- echo " <td class=sideMenu><img src='".$file_root."/images/blank.gif' border=0 height=5 width=1 alt='---'></td>\n";
- echo "</tr>\n";
+ global $file_root;
+
+ echo "<table width=120 border=0 cellspacing=0 cellpadding=0>\n";
+ echo "<tr>\n";
+ echo " <td width='100%' class=topMenu><span class=menuTitle> $name</span></td>\n";
+ echo " <td align=right valign=top class=topMenu><img src='".$file_root."/images/main_right_top.gif' alt='---'></td>\n";
+ echo " </tr>\n";
+ echo "</table>\n";
+ echo "<table width=120 border=0 cellspacing=0 cellpadding=2>\n";
+ echo "<tr>\n";
+ echo " <td class=sideMenu><img src='".$file_root."/images/blank.gif' height=5 width=1 alt='---'></td>\n";
+ echo "</tr>\n";
}
/* add a table row */
function add($name, $url = null)
{
- if($url)
- {
- echo " <tr><td width='100%' class=sideMenu><span class=menuItem> <a href='$url' class=menuItem>$name</a></span></td></tr>\n";
- } else {
- echo " <tr><td width='100%' class=sideMenu><span class=menuItem> $name</span></td></tr>\n";
- }
- }
-
- function addmisc($stuff, $align = "left")
- {
- echo " <tr><td width='100%' class=sideMenu align=$align><span class=menuItem> $stuff</span></td></tr>\n";
+ echo "<tr><td width='100%' class=sideMenu><span class=menuItem> ";
+ if($url) {
+ echo "<a href='$url' class=menuItem>$name</a>";
+ } else {
+ echo "$name";
+ }
+ echo "</span></td></tr>\n";
}
- function done($form = null, $extra = "")
+ function done($extra = "")
{
- global $file_root;
-
- echo "</table>\n";
- echo "<table width=120 border=0 cellspacing=0 cellpadding=0>\n";
- echo "<tr>\n";
- echo " <td align=right class=sideMenu><img src='".$file_root."/images/main_right_bottom.gif' border=0 alt='---'></td>\n";
- echo "</tr>\n";
- echo "</table>";
- echo $extra;
- echo "<br>\n";
-
- if ($form)
- {
- echo "</form>\n";
- }
+ global $file_root;
+ echo "</table>\n";
+ echo "<table width=120 border=0 cellspacing=0 cellpadding=0>\n";
+ echo "<tr>\n";
+ echo " <td align=right class=sideMenu><img src='".$file_root."/images/main_right_bottom.gif' alt='---'></td>\n";
+ echo "</tr>\n";
+ echo "</table>";
+ echo $extra;
+ echo "<br>\n";
}
}
?>
Index: html.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/html.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- html.php 28 Feb 2003 02:14:22 -0000 1.6
+++ html.php 12 Oct 2003 21:24:00 -0000 1.7
@@ -154,9 +154,9 @@
if($title) {
$str .= '<tr><td class="topMenu">'."\n";
$str .= ' <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>'."\n";
- $str .= ' <td valign=top align=left><img src="'.$file_root.'/images/main_left_top.gif" border="0" alt="-"></td>'."\n";
+ $str .= ' <td valign=top align=left><img src="'.$file_root.'/images/main_left_top.gif" alt="-"></td>'."\n";
$str .= ' <td width="100%" align="center"><span class="menuTitle"> '.$title.' </span></td>'."\n";
- $str .= ' <td valign=top align="right"><img src="'.$file_root.'/images/main_right_top.gif" border="0" alt="-"></td>'."\n";
+ $str .= ' <td valign=top align="right"><img src="'.$file_root.'/images/main_right_top.gif" alt="-"></td>'."\n";
$str .= ' </tr></table>'."\n";
$str .= '</td></tr>'."\n";
}
@@ -175,9 +175,9 @@
{
$str .= '<tr><td class="topMenu">'."\n";
$str .= ' <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>'."\n";
- $str .= ' <td valign=bottom align=left><img src="'.$file_root.'/images/main_left_bottom.gif" border="0" alt="-"></td>'."\n";
+ $str .= ' <td valign=bottom align=left><img src="'.$file_root.'/images/main_left_bottom.gif" alt="-"></td>'."\n";
$str .= ' <td width="100%" align="center"><span class="menuTitle"> '.$text.' </span></td>'."\n";
- $str .= ' <td valign=bottom align="right"><img src="'.$file_root.'/images/main_right_bottom.gif" border="0" alt="-"></td>'."\n";
+ $str .= ' <td valign=bottom align="right"><img src="'.$file_root.'/images/main_right_bottom.gif" alt="-"></td>'."\n";
$str .= ' </tr></table>'."\n";
$str .= '</td></tr>'."\n";
}
@@ -393,21 +393,21 @@
<meta name="author" content="Jeremy Newman <jnewman at dracowulf.com>">
<link rel="stylesheet" href="<?=$file_root?>/styles.css" type="text/css">
<?=$extra?>
- <script language="JavaScript" src="<?=$file_root?>/scripts.js" type="text/javascript"></script>
+ <script src="<?=$file_root?>/scripts.js" type="text/javascript"></script>
</head>
-<body bgcolor="#6699CC" text="#000000">
+<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image:url(<?=$file_root?>/images/scummvm_top_tile.png)">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><img src="<?=$file_root?>/images/scummvm_logo.png" border="0" width="407" height="111" alt="ScummVM"></td>
+ <td><img src="<?=$file_root?>/images/scummvm_logo.png" width="407" height="111" alt="ScummVM"></td>
<td width="100%">
</td>
- <td><img src="<?=$file_root?>/images/scummvm_chars.png" width="193" height="111" border="0" alt="-"></td>
+ <td><img src="<?=$file_root?>/images/scummvm_chars.png" width="193" height="111" alt="-"></td>
</tr>
</table>
</td>
More information about the Scummvm-git-logs
mailing list