+//
+// 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|
-{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) |