[Scummvm-cvs-logs] SF.net SVN: scummvm: [27091] web/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Jun 5 00:34:25 CEST 2007


Revision: 27091
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27091&view=rev
Author:   fingolfin
Date:     2007-06-04 15:34:24 -0700 (Mon, 04 Jun 2007)

Log Message:
-----------
more cleanup

Modified Paths:
--------------
    web/trunk/index.php
    web/trunk/screenshots.php

Modified: web/trunk/index.php
===================================================================
--- web/trunk/index.php	2007-06-04 22:29:34 UTC (rev 27090)
+++ web/trunk/index.php	2007-06-04 22:34:24 UTC (rev 27091)
@@ -131,7 +131,6 @@
 	onMouseOver="window.status='Click to View Full Size Image';return true;"
 	onMouseOut="window.status='';return true;"><img
 <?php
-
         echo 'src="./screenshots/'.getScr($randImg) . '" width="128" height="96"'."\n";
 ?>
 	style="margin: 5px"

Modified: web/trunk/screenshots.php
===================================================================
--- web/trunk/screenshots.php	2007-06-04 22:29:34 UTC (rev 27090)
+++ web/trunk/screenshots.php	2007-06-04 22:34:24 UTC (rev 27091)
@@ -67,7 +67,7 @@
 <tr><td width=17 height=10 colspan=2><img src="<?=$file_root?>/images/rs-top-left.png" alt=""></td><td rowspan=2 width=256 height=192>
 <?php
   $image = $screenshots[$randImg];
-  echo "<a href=\"javascript:openWin('$file_root/screenshots/bigscummvm_$image.png','Screenshot:" . screenshot_caption($image) ."',640,483);\"\n";
+  echo "<a href=\"javascript:openWin('" . screenshot_path($image) ."','Screenshot:" . screenshot_caption($image) ."',640,483);\"\n";
   echo "  onMouseOver=\"window.status='Click to View Full Size Image';return true;\"\n";
   echo "  onMouseOut=\"window.status='';return true;\">";
   echo '<img align=right src="'.screenshot_thumb_path($image).'" alt="Random Screenshot"';
@@ -126,7 +126,7 @@
     // display image
     echo html_frame_td(
 	'<table cellpadding="0" cellspacing="0"><tr><td align="center">'.
-	"<a href=\"javascript:openWin('./screenshots/bigscummvm_$image.png','Screenshot: " . screenshot_caption($image) . "',640,483);\">".
+	"<a href=\"javascript:openWin('" . screenshot_path($image) ."','Screenshot: " . screenshot_caption($image) . "',640,483);\">".
 	'<img src="'.screenshot_thumb_path($image).'" '.
 	'width=256 height=192 alt="Screenshot '.$c.'"></a>'.
 	'</td></tr><tr><td align="center">'.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list