Remove border=0 from img tags

This commit is contained in:
Paul van Schayck
2004-12-15 00:14:04 +00:00
committed by WineHQ
parent d1a279f4ac
commit f2b58f208e
7 changed files with 27 additions and 27 deletions

View File

@@ -74,13 +74,13 @@ function get_screenshot_img($appId, $versionId="")
if(!$result || !mysql_num_rows($result)) if(!$result || !mysql_num_rows($result))
{ {
$imgFile = "<img src='".$apidb_root."images/no_screenshot.gif' border=0 alt='No Screenshot' />"; $imgFile = "<img src='".$apidb_root."images/no_screenshot.gif' alt='No Screenshot' />";
} }
else else
{ {
$ob = mysql_fetch_object($result); $ob = mysql_fetch_object($result);
$imgFile = "<img src='appimage.php?imageId=$ob->id&width=128&height=128' ". $imgFile = "<img src='appimage.php?imageId=$ob->id&width=128&height=128' ".
"border=0 alt='$ob->description' />"; "alt='$ob->description' />";
} }
$img = html_frame_start("",'128','',2); $img = html_frame_start("",'128','',2);

View File

@@ -29,13 +29,13 @@ function get_screenshot_img($appId, $versionId)
if(!$result || !mysql_num_rows($result)) if(!$result || !mysql_num_rows($result))
{ {
$imgFile = "<img src='".$apidb_root."images/no_screenshot.gif' border=0 alt='No Screenshot'>"; $imgFile = "<img src='".$apidb_root."images/no_screenshot.gif' alt='No Screenshot'>";
} }
else else
{ {
$ob = mysql_fetch_object($result); $ob = mysql_fetch_object($result);
$imgFile = "<img src='appimage.php?appId=$appId&versionId=$versionId&width=128&height=128' ". $imgFile = "<img src='appimage.php?appId=$appId&versionId=$versionId&width=128&height=128' ".
"border=0 alt='$ob->description'>"; "alt='$ob->description'>";
} }
$img = html_frame_start("",'128','',2); $img = html_frame_start("",'128','',2);

View File

@@ -186,7 +186,7 @@ function html_imagebutton($text, $url, $extra = "")
$java = "onMouseDown = 'document.img$i.src = \"$img2\"; return true;' "; $java = "onMouseDown = 'document.img$i.src = \"$img2\"; return true;' ";
$java .= "onMouseUp = 'document.img$i.src = \"$img1\"; return true;' "; $java .= "onMouseUp = 'document.img$i.src = \"$img1\"; return true;' ";
return "\n<a href='$url' $extra $java>\n <img src='$img1' name='img$i' alt='$text' border=0> </a>\n"; return "\n<a href='$url' $extra $java>\n <img src='$img1' name='img$i' alt='$text'> </a>\n";
} }
@@ -206,19 +206,19 @@ $str .= '
<tr><td> <tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="topMenu"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="topMenu">
<tr> <tr>
<td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_left.gif" border="0" alt=""></td> <td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_left.gif" alt=""></td>
<td rowspan="3" valign="middle" align="left"><img src="'.$apidb_root.'images/winehq_border_dot_left.gif" border="0" alt=""></td> <td rowspan="3" valign="middle" align="left"><img src="'.$apidb_root.'images/winehq_border_dot_left.gif" alt=""></td>
<td width="100%" rowspan="3" align="center"><span class="menuTitle">'.$title.'</span></td> <td width="100%" rowspan="3" align="center"><span class="menuTitle">'.$title.'</span></td>
<td rowspan="3" valign="middle" align="right"><img src="'.$apidb_root.'images/winehq_border_dot_right.gif" border="0" alt=""></td> <td rowspan="3" valign="middle" align="right"><img src="'.$apidb_root.'images/winehq_border_dot_right.gif" alt=""></td>
<td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_right.gif" border="0" alt=""></td> <td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_right.gif" alt=""></td>
</tr> </tr>
<tr> <tr>
<td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" border="0" alt=""></td> <td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" alt=""></td>
<td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" border="0" alt=""></td> <td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
<td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_left.gif" border="0" alt=""></td> <td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_left.gif" alt=""></td>
<td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_right.gif" border="0" alt=""></td> <td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_right.gif" alt=""></td>
</tr> </tr>
</table> </table>
</td></tr> </td></tr>
@@ -228,7 +228,7 @@ $str .= '
$str .= ' $str .= '
<tr> <tr>
<td><img src="'.$apidb_root.'images/blank.gif" border=0 width=5 height=1 alt="-"></td> <td><img src="'.$apidb_root.'images/blank.gif" width=5 height=1 alt="-"></td>
<td width="100%"><table width="100%" border=0 cellpadding=0 cellspacing=0> <td width="100%"><table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr><td class=topMenu> <tr><td class=topMenu>
<table width="100%" border=0 cellpadding="'.$innerPad.'" cellspacing="1" '.$extra.'><tr><td class=white> <table width="100%" border=0 cellpadding="'.$innerPad.'" cellspacing="1" '.$extra.'><tr><td class=white>
@@ -245,7 +245,7 @@ $str = '
</td></tr></table></td></tr> </td></tr></table></td></tr>
</table> </table>
</td> </td>
<td><img src="'.$apidb_root.'images/blank.gif" border=0 width=5 height=1 alt="-"></td> <td><img src="'.$apidb_root.'images/blank.gif" width=5 height=1 alt="-"></td>
</tr> </tr>
</table> </table>
<br> <br>

View File

@@ -16,14 +16,14 @@ class htmlmenu {
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="topMenu"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="topMenu">
<tr> <tr>
<td width="100%" rowspan="3" align="left"><span class="menuTitle">&nbsp; '.$name.'</span></td> <td width="100%" rowspan="3" align="left"><span class="menuTitle">&nbsp; '.$name.'</span></td>
<td rowspan="3" valign="middle" align="right"><img src="'.$apidb_root.'images/winehq_border_dot_right.gif" border="0" alt=""></td> <td rowspan="3" valign="middle" align="right"><img src="'.$apidb_root.'images/winehq_border_dot_right.gif" alt=""></td>
<td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_right.gif" border="0" alt=""></td> <td valign="top" align="left"><img src="'.$apidb_root.'images/winehq_border_top_right.gif" alt=""></td>
</tr> </tr>
<tr> <tr>
<td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" border="0" alt=""></td> <td><img src="'.$apidb_root.'images/blank.gif" width="1" height="1" alt=""></td>
</tr> </tr>
<tr> <tr>
<td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_right.gif" border="0" alt=""></td> <td valign="bottom" align="right"><img src="'.$apidb_root.'images/winehq_border_bottom_right.gif" alt=""></td>
</tr> </tr>
</table> </table>
</td> </td>
@@ -63,7 +63,7 @@ class htmlmenu {
</td></tr> </td></tr>
</table> </table>
</td> </td>
<td><img src="'.$apidb_root.'images/blank.gif" border=0 width=5 height=1 alt="-"></td> <td><img src="'.$apidb_root.'images/blank.gif" width=5 height=1 alt="-"></td>
</tr> </tr>
</table> </table>
</div> </div>

View File

@@ -29,8 +29,8 @@ function rating_menu()
{ {
global $apidb_root; global $apidb_root;
$s = '<img src="'.$apidb_root.'images/s1.gif" border=0 alt="s1">'; $s = '<img src="'.$apidb_root.'images/s1.gif" alt="s1">';
$n = '<img src="'.$apidb_root.'images/s0.gif" border=0 alt="s0">'; $n = '<img src="'.$apidb_root.'images/s0.gif" alt="s0">';
$j = new htmlmenu("Compatibility Rating","updaterating.php"); $j = new htmlmenu("Compatibility Rating","updaterating.php");
@@ -101,9 +101,9 @@ function rating_stars_for_version($versionId, $system)
$r = rating_for_version($versionId, $system); $r = rating_for_version($versionId, $system);
$s = '<img src="'.$apidb_root.'images/s1.gif" border=0 alt="s1">'; $s = '<img src="'.$apidb_root.'images/s1.gif" alt="s1">';
$n = '<img src="'.$apidb_root.'images/s0.gif" border=0 alt="s0">'; $n = '<img src="'.$apidb_root.'images/s0.gif" alt="s0">';
$h = '<img src="'.$apidb_root.'images/s2.gif" border=0 alt="s2">'; $h = '<img src="'.$apidb_root.'images/s2.gif" alt="s2">';
if ($system == "fake") if ($system == "fake")
{ {

View File

@@ -10,7 +10,7 @@ apidb_header("Wine Application Database");
?> ?>
<img src="images/appdb_montage.jpg" width=391 height=266 border=0 align=right alt="Wine AppDB"> <img src="images/appdb_montage.jpg" width=391 height=266 align=right alt="Wine AppDB">
<h1>Welcome</h1> <h1>Welcome</h1>

View File

@@ -132,7 +132,7 @@ if((!$result || !mysql_num_rows($result)) && (!havepriv("admin") && !isMaintaine
echo "<div align=center><table><tr>\n"; echo "<div align=center><table><tr>\n";
} }
// set img tag // set img tag
$imgSRC = '<img src="appimage.php?imageId='.$ob->id.'&width=128&height=128" border=0 alt="'.$ob->description.'">'; $imgSRC = '<img src="appimage.php?imageId='.$ob->id.'&width=128&height=128" alt="'.$ob->description.'">';
// get image size // get image size
$size = getimagesize("data/screenshots/".$ob->url); $size = getimagesize("data/screenshots/".$ob->url);