Index: public/rbscript.js =================================================================== --- public/rbscript.js (revision 0) +++ public/rbscript.js (revision 0) @@ -0,0 +1,37 @@ +// This is the implementation of SimpleSwap +// by Jehiah Czebotar +// Version 1.1 - June 10, 2005 +// Distributed under Creative Commons +// +// Include this script on your page +// then make image rollovers simple like: +// +// +// http://jehiah.com/archive/simple-swap +// + + +function SimpleSwap(el,which){ + el.src=el.getAttribute(which || "origsrc"); +} + +function SimpleSwapSetup(){ + var x = document.getElementsByTagName("img"); + for (var i=0;i {/literal} + Index: private/templates/themelist.tpl =================================================================== --- private/templates/themelist.tpl (revision 20720) +++ private/templates/themelist.tpl (working copy) @@ -30,7 +30,12 @@ {if $themes[td]}

-{html_image file="`$datadir`/`$mainlcd`/`$themes[td].shortname`/`$themes[td].sshot_wps`" href="`$datadir`/`$mainlcd`/`$themes[td].shortname`/`$themes[td].zipfile`"} +{if $themes[td].sshot_menu != ""} +{assign var="oversrc" value="`$datadir`/`$mainlcd`/`$themes[td].shortname`/`$themes[td].sshot_menu`"} +{else} +{assign var="oversrc" value=""} +{/if} +{html_image file="`$datadir`/`$mainlcd`/`$themes[td].shortname`/`$themes[td].sshot_wps`" href="`$datadir`/`$mainlcd`/`$themes[td].shortname`/`$themes[td].zipfile`" oversrc=$oversrc} Size: {$themes[td].size|siprefix}B

Index: private/templates/TODO =================================================================== --- private/templates/TODO (revision 20720) +++ private/templates/TODO (working copy) @@ -2,7 +2,6 @@ MID TERM (add as soon as possible) - Validate .cfg files - Add a target detail editor - - Add a rollover switch to the menu picture (if available) LONG TERM (add later) - Allow uploaders to update themes - Forum login integration for admins (with the right badges)