aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/photos_add_ploader.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-03-09 14:22:48 +0000
committerpatdenice <patdenice@piwigo.org>2011-03-09 14:22:48 +0000
commit8b64b57a27139a671800c6768133be0a8bb6d35f (patch)
tree238df6041c9c5ab9edd93d2465d9fbf3b03598d7 /admin/themes/default/template/photos_add_ploader.tpl
parent0552013a5765ffa46aabf93068eeb2109c2cb9e4 (diff)
feature:2114
Simplify all admin templates. git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/photos_add_ploader.tpl')
-rw-r--r--admin/themes/default/template/photos_add_ploader.tpl20
1 files changed, 9 insertions, 11 deletions
diff --git a/admin/themes/default/template/photos_add_ploader.tpl b/admin/themes/default/template/photos_add_ploader.tpl
index 9412aa21d..8047baeca 100644
--- a/admin/themes/default/template/photos_add_ploader.tpl
+++ b/admin/themes/default/template/photos_add_ploader.tpl
@@ -1,20 +1,19 @@
-{html_head}
-{literal}
-<script type="text/javascript">
-$().ready(function(){
- $("#pLoaderPage img").fadeTo("fast", 0.6);
+{footer_script}{literal}
+jQuery().ready(function(){
+ jQuery("#pLoaderPage img").fadeTo("fast", 0.6);
- $("#pLoaderPage img").hover(
+ jQuery("#pLoaderPage img").hover(
function(){
- $(this).fadeTo("fast", 1.0); // Opacity on hover
+ jQuery(this).fadeTo("fast", 1.0); // Opacity on hover
},
function(){
- $(this).fadeTo("fast", 0.6); // Opacity on mouseout
+ jQuery(this).fadeTo("fast", 0.6); // Opacity on mouseout
}
);
});
-</script>
+{/literal}{/footer_script}
+{html_head}{literal}
<style type="text/css">
#pLoaderPage {
width:600px;
@@ -46,8 +45,7 @@ $().ready(function(){
margin:20px;
}
</style>
-{/literal}
-{/html_head}
+{/literal}{/html_head}
<div class="titrePage">
<h2>{'Piwigo Uploader'|@translate}</h2>