[Scummvm-cvs-logs] CVS: web documentation.php,1.8,1.9 index.php,1.16,1.17 screenshots.php,1.9,1.10

Max Horn fingolfin at users.sourceforge.net
Tue Jan 27 14:55:16 CET 2004


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22829

Modified Files:
	documentation.php index.php screenshots.php 
Log Message:
added descriptions to the screenshots

Index: documentation.php
===================================================================
RCS file: /cvsroot/scummvm/web/documentation.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- documentation.php	27 Jan 2004 21:51:49 -0000	1.8
+++ documentation.php	27 Jan 2004 22:47:25 -0000	1.9
@@ -20,7 +20,7 @@
 echo html_round_frame_start("ScummVM Documentation","");
 echo html_frame_start("","100%",1,1);
 
-$view = $_GET['view'];
+$view = $HTTP_GET_VARS['view'];
 
 if ($view and file_exists($file_root."/docs/".$view.".xml"))
 {

Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- index.php	27 Jan 2004 22:05:25 -0000	1.16
+++ index.php	27 Jan 2004 22:47:25 -0000	1.17
@@ -16,6 +16,8 @@
 html_header("ScummVM", '<script src="'.$file_root.'/screenshots.js" type="text/javascript"></script>');
 sidebar_start();
 
+$shownews = $HTTP_GET_VARS['shownews'];
+
 // display welcome table
 // don't show this if we are in news mode
 if (!$shownews)

Index: screenshots.php
===================================================================
RCS file: /cvsroot/scummvm/web/screenshots.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- screenshots.php	15 Oct 2003 22:21:13 -0000	1.9
+++ screenshots.php	27 Jan 2004 22:47:25 -0000	1.10
@@ -23,6 +23,8 @@
 
 <?
 
+$view = $HTTP_GET_VARS['view'];
+$offset = $HTTP_GET_VARS['offset'];
 
 // if in single view
 if ($view != "")
@@ -36,19 +38,25 @@
 		echo
 		 html_frame_start("Screenshot Viewer","540",2,0,"color0"),
 	     html_frame_tr(
-	     		   html_frame_td(
-			   		 '<img src="'.$file_root.'/screenshots/big_scummvm_'.$view.'.png" '.
-				         'style="margin: 2px;" width=640 height=400 '.
-				         'alt="Screenshot '.$view.'">',
-					 'align=center class="color0"'
-					)
-	                  ),
+				html_frame_td(
+					'<img src="'.$file_root.'/screenshots/big_scummvm_'.$view.'.png" '.
+						'width=640 height=400 '.
+						'alt="Screenshot '.$view.'">',
+					'align=center class="color0" style="padding-top: 10px;"'
+				)
+			),
 	     html_frame_tr(
-	     		   html_frame_td(
-			   		 html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"style='color: white;'"),
-					 'align=left class="color4"'
-			   		)
-	     		  ),
+				html_frame_td(
+					file_get_contents($file_root.'/screenshots/scummvm_'.$view.'.txt'),
+					'align=center class="color0" style="padding-bottom: 10px; font-style: italic;"'
+				)
+			),
+	     html_frame_tr(
+				html_frame_td(
+			   		html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"style='color: white;'"),
+					'align=left class="color4"'
+				)
+			),
 	     html_frame_end();
 	}
 }
@@ -82,11 +90,14 @@
 
 		// display image
 		echo html_frame_td(
+				   '<table cellpadding="0" cellspacing="0"><tr><td align="center">'.
 				   '<a href="'.$PHP_SELF."?view=".$c.'&offset='.$offset.'">'.
 				   '<img src="'.$file_root.'/screenshots/scummvm_'.$c.'.png" '.
-				   'style="margin: 10px;" width=256 height=160 '.
-				   'alt="Screenshot '.$c.'"></a>',
-				   'align=center class="color0"'
+				   'width=256 height=160 alt="Screenshot '.$c.'"></a>'.
+				   '</td></tr><tr><td align="center">'.
+				   file_get_contents($file_root.'/screenshots/scummvm_'.$c.'.txt').
+				   '</td></tr></table>',
+				   'align=center class="color0" style="padding-top: 10px; font-style: italic;"'
 				  );
 
 		// count number of images displayed.





More information about the Scummvm-git-logs mailing list