www/adium.im 351:e0befe15a48c: Now really fix the videos page, a...

commits at adium.im commits at adium.im
Sat Dec 4 01:26:00 UTC 2010


details:	http://hg.adium.im/www/adium.im/rev/e0befe15a48c
revision:	351:e0befe15a48c
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Sat Dec 04 02:25:40 2010 +0100

Now really fix the videos page, also some of the w3c validator warnings.

diffs (71 lines):

diff -r f32902823bc9 -r e0befe15a48c screencasts/index.php
--- a/screencasts/index.php	Sat Dec 04 02:16:29 2010 +0100
+++ b/screencasts/index.php	Sat Dec 04 02:25:40 2010 +0100
@@ -60,9 +60,9 @@
 <head>
 	<title>Adium - Videos</title>
 	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-	<link rel="stylesheet" type="text/css" href="/styles/layoutstyle.css" />
-	<link rel="stylesheet" type="text/css" href="/styles/defaultstyle.css" />
-	<link rel="stylesheet" type="text/css" href="/help/css/common.css" />
+	<link rel="stylesheet" type="text/css" href="../styles/layoutstyle.css" />
+	<link rel="stylesheet" type="text/css" href="../styles/defaultstyle.css" />
+	<link rel="stylesheet" type="text/css" href="../help/css/common.css" />
 	<link rel="shortcut icon" href="/favicon.ico" />
 	<style type="text/css" media="screen">
 		#videoHolder {
@@ -121,7 +121,7 @@
 			document.title = "Adium - Videos - " + episodeName;
 		
 			// Embed won't let us change the "src" on its own.
-			// So we just modify the <div> containing it.
+			// So we just modify the div containing it.
 			document.getElementById("video").innerHTML = '<embed type="video/quicktime" src="http://media.revver.com/qt;sharer=0/' + episodeID + '.mov" pluginspage="http://www.apple.com/quicktime/download/" scale="aspect" cache="False" width="480" height="376" autoplay="True" />';
 
 			// Style current info.
@@ -153,10 +153,11 @@
 		</div>
 		<div id="nav"> <a name="adiumdocumentation.html" id="adiumdocumentation.html"></a><a name="ax-discover" id="ax-discover"></a> 
 		 	<div id="navleft"><a class="navleftsty" href="../">Adium Help</a> <a class="navleftsty active" href="http://adium.im/screencasts/">Adium Videos</a> <a class="navleftsty" href="AdiumDocumentation.html">Adium Documentation</a></div>
+		</div>
         <div id="central">
             <div id="content">
 					<div id="videoHolder">
-						<div id="video"><img src="previews/qtime.png" /></div>
+						<div id="video"><img src="previews/qtime.png" alt="Quicktime Logo" /></div>
 						<div id="episodeInfo"><a id="episodeLink" href="">The video will appear above once you select one to watch.</a></div>
 					</div>
 					
@@ -167,7 +168,7 @@
 					foreach ($episodes as $episode) {
 						$which = !$which; // SMARTY
 						printf('<tr id="episode%d" class="episode episode%d">', $count, $which);
-						printf('<td class="episodeImgae"><a href="/screencasts/%s" onclick="changeEpisode(%d, %d, \'%s\'); return false;"><img src="previews/episode%d.png" style="border: 0;" /></a></td>', $episode['permalink_name'], $count, $episode['revver_id'], $episode['title'], $count);
+						printf('<td class="episodeImgae"><a href="/screencasts/%s" onclick="changeEpisode(%d, %d, \'%s\'); return false;"><img src="previews/episode%d.png" alt="Preview of Episode %s" style="border: 0;" /></a></td>', $episode['permalink_name'], $count, $episode['revver_id'], $episode['title'], $count, $episode['title']);
 						printf('<td>');
 						printf('<a href="/screencasts/%s" onclick="javascript:changeEpisode(%d, %d, \'%s\'); return false;">Episode %d: %s</a>', $episode['permalink_name'], $count, $episode['revver_id'], $episode['title'], $count++, $episode['title']);
 						printf('<p>%s</p>', $episode['description']);
@@ -184,7 +185,7 @@
 					</script>
 					<?php } ?>
 				</div>
-				<p style="text-align: center; font-size: small;">Yes, you can get the <a href="http://www.pixelgirlpresents.com/desktops.php?cat=cute&res=1600x1200">cow image</a> used in the videos, too.</p>
+				<p style="text-align: center; font-size: small;">Yes, you can get the <a href="http://www.pixelgirlpresents.com/desktops.php?cat=cute&res=1600x1200">cow image</a> used in the videos, too.</p>
 			</div>
         </div>
 		<div id="footerfixed">
@@ -194,12 +195,11 @@
 </div>
 			<div id="powered">
 				<a href="http://developer.apple.com/ada"><img class="libgaim" src="/images/ada.png" border="0" alt="Apple design awards 05 special mention"/></a>
-				<a href="http://www.pidgin.im"><img class="libgaim" src="/images/powered_by_libpurple.png" alt="Adium is powered by libpurple"></a>
-                <a class="cachefly" href="http://www.cachefly.com"><img src="/images/cachefly.png" alt="CacheFly Logo"></a>
+				<a href="http://www.pidgin.im"><img class="libgaim" src="/images/powered_by_libpurple.png" alt="Adium is powered by libpurple" /></a>
+                <a class="cachefly" href="http://www.cachefly.com"><img src="/images/cachefly.png" alt="CacheFly Logo" /></a>
 				<a class="networkredux" href="http://www.networkredux.com"><img src="/images/network_redux.png" border="0" alt="Network Redux Logo"/></a>
 			</div>
 		</div>
-    </div>
 	<script type="text/javascript">
 		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));




More information about the commits mailing list