[Scummvm-cvs-logs] CVS: web compatibility.php,1.256,1.257 compatibility_stable.php,1.3,1.4 contact.php,1.28,1.29 credits.php,1.7,1.8 demos.php,1.20,1.21 documentation.php,1.5,1.6 donations.php,1.6,1.7 downloads.php,1.56,1.57 faq.php,1.25,1.26 index.php,1.12,1.13 links.php,1.37,1.38 press.php,1.15,1.16 screenshots.php,1.6,1.7 scripts.js,1.3,1.4 status.php,1.7,1.8 styles.css,1.13,1.14

Max Horn fingolfin at users.sourceforge.net
Tue Oct 14 06:10:03 CEST 2003


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1:/tmp/cvs-serv32486

Modified Files:
	compatibility.php compatibility_stable.php contact.php 
	credits.php demos.php documentation.php donations.php 
	downloads.php faq.php index.php links.php press.php 
	screenshots.php scripts.js status.php styles.css 
Log Message:
even more modernization and cleanup; page is now HTML 4.01 Strict compliant (at least the parts I checked with the validator; single pages might still contain invalid stuff)

Index: compatibility.php
===================================================================
RCS file: /cvsroot/scummvm/web/compatibility.php,v
retrieving revision 1.256
retrieving revision 1.257
diff -u -d -r1.256 -r1.257
--- compatibility.php	12 Oct 2003 23:50:35 -0000	1.256
+++ compatibility.php	14 Oct 2003 13:08:35 -0000	1.257
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Compatibility","98%","",20);
+echo html_round_frame_start("Compatibility","");
 
 
 ?>

Index: compatibility_stable.php
===================================================================
RCS file: /cvsroot/scummvm/web/compatibility_stable.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- compatibility_stable.php	12 Oct 2003 23:50:36 -0000	1.3
+++ compatibility_stable.php	14 Oct 2003 13:08:36 -0000	1.4
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Compatibility","98%","",20);
+echo html_round_frame_start("Compatibility","");
 
 
 ?>

Index: contact.php
===================================================================
RCS file: /cvsroot/scummvm/web/contact.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- contact.php	12 Oct 2003 23:50:36 -0000	1.28
+++ contact.php	14 Oct 2003 13:08:36 -0000	1.29
@@ -17,7 +17,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Contact","98%","",20);
+echo html_round_frame_start("Contact","");
 
 ?>
 	<h1>Contact</h1>

Index: credits.php
===================================================================
RCS file: /cvsroot/scummvm/web/credits.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- credits.php	12 Oct 2003 23:50:36 -0000	1.7
+++ credits.php	14 Oct 2003 13:08:36 -0000	1.8
@@ -29,7 +29,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Credits","98%","",20);
+echo html_round_frame_start("Credits","");
 
 ?>
 	<h1>Credits</h1>

Index: demos.php
===================================================================
RCS file: /cvsroot/scummvm/web/demos.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- demos.php	12 Oct 2003 23:50:36 -0000	1.20
+++ demos.php	14 Oct 2003 13:08:36 -0000	1.21
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Game Demos","98%","",20);
+echo html_round_frame_start("Game Demos","");
 
 
 ?>

Index: documentation.php
===================================================================
RCS file: /cvsroot/scummvm/web/documentation.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- documentation.php	12 Oct 2003 23:50:36 -0000	1.5
+++ documentation.php	14 Oct 2003 13:08:36 -0000	1.6
@@ -17,7 +17,7 @@
 sidebar_start();
 
 //display News
-echo html_round_frame_start("ScummVM Documentation","98%","",20);
+echo html_round_frame_start("ScummVM Documentation","");
 echo html_frame_start("","100%",1,1);
 
 if ($view and file_exists($file_root."/docs/".$view.".xml"))

Index: donations.php
===================================================================
RCS file: /cvsroot/scummvm/web/donations.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- donations.php	14 Oct 2003 12:27:47 -0000	1.6
+++ donations.php	14 Oct 2003 13:08:36 -0000	1.7
@@ -17,7 +17,7 @@
 sidebar_start();
 
 //display donations
-echo html_round_frame_start("ScummVM Donations","",20);
+echo html_round_frame_start("ScummVM Donations","");
 
 ?>
 <h1>Donations</h1>

Index: downloads.php
===================================================================
RCS file: /cvsroot/scummvm/web/downloads.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- downloads.php	13 Oct 2003 14:36:01 -0000	1.56
+++ downloads.php	14 Oct 2003 13:08:36 -0000	1.57
@@ -17,7 +17,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Downloads","98%","",20);
+echo html_round_frame_start("Downloads","");
 
 ?>
 	<h1>Downloads for ScummVM <span style="color: gray;">version 0.5.1</span></h1>

Index: faq.php
===================================================================
RCS file: /cvsroot/scummvm/web/faq.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- faq.php	13 Oct 2003 14:36:01 -0000	1.25
+++ faq.php	14 Oct 2003 13:08:36 -0000	1.26
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("FAQ :: Frequently Asked Questions","98%","",20);
+echo html_round_frame_start("FAQ :: Frequently Asked Questions","");
 
 ?>
 <p>

Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- index.php	12 Oct 2003 23:50:36 -0000	1.12
+++ index.php	14 Oct 2003 13:08:36 -0000	1.13
@@ -37,7 +37,7 @@
 srand((double) microtime() * 1000000);
 $randImg = rand(0,$total);
 
-echo html_round_frame_start("About ScummVM","98%","",20);
+echo html_round_frame_start("About ScummVM","");
 ?>
 	<table width="100%" border=0 cellpadding=10 cellspacing=0>
 	<tr valign="top">
@@ -95,7 +95,7 @@
 // end of welcome table
 
 //display News
-echo html_round_frame_start("Latest Developments","98%","",20);
+echo html_round_frame_start("Latest Developments","");
 echo html_frame_start("","100%",1,1);
 
 // get list of news items

Index: links.php
===================================================================
RCS file: /cvsroot/scummvm/web/links.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- links.php	12 Oct 2003 23:50:36 -0000	1.37
+++ links.php	14 Oct 2003 13:08:37 -0000	1.38
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Links","98%","",20);
+echo html_round_frame_start("Links","");
 
 ?>
 	<h1>Links</h1>

Index: press.php
===================================================================
RCS file: /cvsroot/scummvm/web/press.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- press.php	14 Oct 2003 12:27:47 -0000	1.15
+++ press.php	14 Oct 2003 13:08:37 -0000	1.16
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Press","",20);
+echo html_round_frame_start("Press","");
 
 ?>
 <h1>ScummVM press coverage</h1>

Index: screenshots.php
===================================================================
RCS file: /cvsroot/scummvm/web/screenshots.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- screenshots.php	13 Oct 2003 18:41:57 -0000	1.6
+++ screenshots.php	14 Oct 2003 13:08:37 -0000	1.7
@@ -16,7 +16,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("Screenshots","98%","",20);
+echo html_round_frame_start("Screenshots","");
 
 ?>
 	<h1>Screenshots</h1>
@@ -45,7 +45,7 @@
 	                  ),
 	     html_frame_tr(
 	     		   html_frame_td(
-			   		 html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"class=menuItem"),
+			   		 html_ahref("  << Back",$PHP_SELF."?offset=".$offset,"style='color: white;'"),
 					 'align=left class="color4"'
 			   		)
 	     		  ),
@@ -115,7 +115,7 @@
 	if ($offset)
 	{
 		$prev = $offset - 4;
-		$prevLink = html_ahref("<< Prev 4 Images",$PHP_SELF."?offset=".$prev,"class=menuItem");
+		$prevLink = html_ahref("<< Prev 4 Images",$PHP_SELF."?offset=".$prev,"style='color: white;'");
 
 	}
 
@@ -123,7 +123,7 @@
 	if (($offset + 4) < $total)
 	{
 		$next = $where + 1;
-		$nextLink = html_ahref("Next 4 Images >>",$PHP_SELF."?offset=".$next,"class=menuItem");
+		$nextLink = html_ahref("Next 4 Images >>",$PHP_SELF."?offset=".$next,"style='color: white;'");
 	}
 
 	echo html_frame_tr(

Index: scripts.js
===================================================================
RCS file: /cvsroot/scummvm/web/scripts.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- scripts.js	12 Oct 2003 21:24:01 -0000	1.3
+++ scripts.js	14 Oct 2003 13:08:37 -0000	1.4
@@ -2,7 +2,7 @@
 function openWin(fileToOpen,nameOfWindow,width,height) {
 	myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=yes,status=no,width="+width+",height="+height);
 	myWindow.document.open();
-	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n')
+	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\n')
 	myWindow.document.write('<html><head><title>ScreenShot Viewer</title></head>')
 	myWindow.document.write('<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">');
 	myWindow.document.write('<a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a>');

Index: status.php
===================================================================
RCS file: /cvsroot/scummvm/web/status.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- status.php	12 Oct 2003 23:50:36 -0000	1.7
+++ status.php	14 Oct 2003 13:08:37 -0000	1.8
@@ -22,7 +22,7 @@
 sidebar_start();
 
 //display welcome table
-echo html_round_frame_start("State of the SCUMM","98%","",20);
+echo html_round_frame_start("State of the SCUMM","");
 
 ?>
 	<h1>State of the SCUMM - 17th October 2002</h1>

Index: styles.css
===================================================================
RCS file: /cvsroot/scummvm/web/styles.css,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- styles.css	13 Oct 2003 19:13:40 -0000	1.13
+++ styles.css	14 Oct 2003 13:08:37 -0000	1.14
@@ -57,10 +57,51 @@
 .color3		{ background-color: #73106b }
 .color4		{ background-color: #999999 }
 
-/* Menu Config */
-.menuTitle	{ font-family: Arial, Helvetica, sans-serif; font-size: 8pt; color: #ffffff; font-weight: bold; }
-.menuItem 	{ font-family: Arial, Helvetica, sans-serif; font-size: 10pt; color: #ffffff; }
-.topMenu	{ background-color: #73106b; background-image: url('images/topmenu_bg.png'); }
+/* Frames */
+.frame			{ background-color: #fff; margin: 0 auto; font-size: 8pt; }
+.frameTitle		{ color: #fff; font-weight: bold; }
+.frameBody		{ padding: 1em 2em; } 
+.frameTop		{ text-align: center; background-color: #73106b; background-image: url('images/topmenu_bg.png'); }
+.frameTop .cornerLeft	{
+	background-image: url('images/main_left_top.gif'); background-repeat: no-repeat; background-position: left top;
+}
+.frameTop .cornerRight	{
+	background-image: url('images/main_right_top.gif'); background-repeat: no-repeat; background-position: right top;
+}
+.frameBottom	{ text-align: center; background-color: #73106b; background-image: url('images/topmenu_bg.png'); }
+.frameBottom .cornerLeft	{
+	background-image: url('images/main_left_bottom.gif'); background-repeat: no-repeat; background-position: left bottom;
+}
+.frameBottom .cornerRight	{
+	background-image: url('images/main_right_bottom.gif'); background-repeat: no-repeat; background-position: right bottom;
+}
+
+
+/* Side bar / content part */
+#sideBar {
+	width: 120px;
+	float: left;
+	text-align: center;
+	vertical-align: top;
+}
+#main {
+	margin-left: 120px;
+	padding-left: 1em;
+	padding-right: 1em;
+	vertical-align: top;
+}
+
+/* Copyright footer */
+#copyright	{
+	width: 45ex;
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 8pt;
+	color: #FFFFFF;
+	text-align: justify;
+	float: right;
+	padding: 1ex;
+}
+#copyright a { color: white; }
 
 /* Side menus */
 .sideMenu {
@@ -97,18 +138,6 @@
 	background-repeat: no-repeat;
 	background-position: right bottom;
 }
-
-/* Copyright */
-.copyright	{
-	width: 45ex;
-	font-family: Arial, Helvetica, sans-serif;
-	font-size: 8pt;
-	color: #FFFFFF;
-	text-align: justify;
-	float: right;
-	padding: 1%;
-}
-.copyright a { color: white; }
 
 /* Percentage Colors */
 .pct0   	{ background-color: #ff5050; }





More information about the Scummvm-git-logs mailing list