diff options
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/templates/export.tpl | 2 | ||||
-rw-r--r-- | themes/default/templates/photo_index.tpl | 8 | ||||
-rw-r--r-- | themes/default/templates/single_photo.tpl | 2 | ||||
-rw-r--r-- | themes/default/templates/slideshow.tpl | 2 |
4 files changed, 10 insertions, 4 deletions
diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl index 7f6f2de..d7443de 100644 --- a/themes/default/templates/export.tpl +++ b/themes/default/templates/export.tpl @@ -1,7 +1,7 @@ {include file="header.tpl"} <body> <div id="frame"> - <form action="javascript:#" onsubmit="setViewMode(document.getElementsByName('format')[0].options[document.getElementsByName('format')[0].selectedIndex].value); return false;"> + <form action="javascript:#" onsubmit="setViewMode('{$web_path}', document.getElementsByName('format')[0].options[document.getElementsByName('format')[0].selectedIndex].value); return false;"> <select name="format"> <option value="HTML">HTML</option> <option value="MoinMoin">MoinMoin Wiki</option> diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 7fe04ab..fa63b31 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -135,7 +135,13 @@ <br class="cb" /> <script type="text/javascript" language="JavaScript"> <!-- - /*** image preloading ***/ + // image preloading + // + // these few javascript lines will try to speed up loading all the photo + // thumbnails. An array of all photos to display will be built written + // by the smarty-template. The js-code will then loop through this array + // and invoke loading of each photo. Sadly this does not work good on all + // browsers. { counter start=-1 } var current; diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 20b59f8..e8e326d 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -108,7 +108,7 @@ <script type="text/javascript"> <!-- if(autobrowse && document.getElementById("autobrowse_ico")) - document.getElementById("autobrowse_ico").src = '{$web_path}/resources/32_pause.png'; + document.getElementById("autobrowse_ico").src = '{$web_path}/resources/16_pause.png'; /* lets preload to previous and the next image to speedup */ var image_next = new Image(); diff --git a/themes/default/templates/slideshow.tpl b/themes/default/templates/slideshow.tpl index 9a8f1fe..1e64dbc 100644 --- a/themes/default/templates/slideshow.tpl +++ b/themes/default/templates/slideshow.tpl @@ -3,7 +3,7 @@ <script type="text/javascript" src="{$web_path}/slider/js/timer.js"></script> <script type="text/javascript" src="{$web_path}/slider/js/slider.js"></script> <link type="text/css" rel="StyleSheet" href="{$web_path}/slider/css/bluecurve/bluecurve.css" /> - <body onload="startSlideShow();" class="slideshow"> + <body onload="startSlideShow('{$web_path}');" class="slideshow"> <div id="slide_navigation"> <a href="javascript:prevSlide();" onclick="click(this);" title="slive to previous photo"><img id="rew_ico" src="{$web_path}/resources/32_rew.png" /></a> <a href="javascript:pauseSlideShow();" onclick="click(this);"><img id="pause_ico" src="{$web_path}/resources/32_pause.png" /></a> |