[Scummvm-cvs-logs] SF.net SVN: scummvm:[54760] web/trunk/templates/screenshots.tpl

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Dec 4 22:30:40 CET 2010


Revision: 54760
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54760&view=rev
Author:   fingolfin
Date:     2010-12-04 21:30:40 +0000 (Sat, 04 Dec 2010)

Log Message:
-----------
WEB: Fix 'first-letter' style for screenshot categories

Modified Paths:
--------------
    web/trunk/templates/screenshots.tpl

Modified: web/trunk/templates/screenshots.tpl
===================================================================
--- web/trunk/templates/screenshots.tpl	2010-12-04 11:54:08 UTC (rev 54759)
+++ web/trunk/templates/screenshots.tpl	2010-12-04 21:30:40 UTC (rev 54760)
@@ -33,15 +33,15 @@
 			<a href="screenshots/{$arr.category}/">{$arr.title}</a>
 		</div>
 		<div class="scr-content scr-content-{$arr.category}">
-			<ul>
+			<table>
 			{foreach from=$arr.games item=game}
-				<li>
-					<img src="images/cat-{$game->getCategory()}.png" alt="{$game->getName()}">
-					<a href="screenshots/{$arr.category}/{$game->getCategory()}/">{$game->getName()}</a>
-					<span class="green">({$game->getFiles()|@count} shots)</span>
-				</li>
+				<tr>
+					<td><img src="images/cat-{$game->getCategory()}.png" alt=""></td>
+					<td><a href="screenshots/{$arr.category}/{$game->getCategory()}/">{$game->getName()}</a>
+					<span class="green">({$game->getFiles()|@count} shots)</span></td>
+				</tr>
 			{/foreach}
-			</ul>
+			</table>
 		</div>
 	{/foreach}
 </div>


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