aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2011-03-26 15:53:38 +0000
committerflop25 <flop25@piwigo.org>2011-03-26 15:53:38 +0000
commiteacd53fb971857692f8eb295b3257a079dc0de09 (patch)
tree0f942444980fad3fbe078774f9367df3182068b1 /admin/themes
parent46893b9a4d3dd519287cda8436b3351962002d9b (diff)
use of tiptip for the name of the picture, and this name is now in the alt attribute.
git-svn-id: http://piwigo.org/svn/trunk@9868 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r--admin/themes/default/template/element_set_ranks.tpl11
1 files changed, 9 insertions, 2 deletions
diff --git a/admin/themes/default/template/element_set_ranks.tpl b/admin/themes/default/template/element_set_ranks.tpl
index be708168c..3352a6355 100644
--- a/admin/themes/default/template/element_set_ranks.tpl
+++ b/admin/themes/default/template/element_set_ranks.tpl
@@ -28,6 +28,13 @@ jQuery(document).ready(function() {
checkOrderOptions();
});
+jQuery(document).ready(function() {
+jQuery('.clipwrapper').tipTip({
+'delay' : 0,
+'fadeIn' : 200,
+'fadeOut' : 200
+});
+});
{/literal}{/footer_script}
<h2>{'Manage photo ranks'|@translate}</h2>
@@ -44,9 +51,9 @@ jQuery(document).ready(function() {
<ul class="thumbnails">
{foreach from=$thumbnails item=thumbnail}
<li class="rank-of-image" style="width:{$thumbnail.CLIPING_li}px; height:{$thumbnail.CLIPING_li}px; ">
- <div class="clipwrapper" style="width:{$thumbnail.CLIPING}px; height:{$thumbnail.CLIPING}px; ">
+ <div class="clipwrapper" style="width:{$thumbnail.CLIPING}px; height:{$thumbnail.CLIPING}px; " title="{$thumbnail.NAME|@replace:'"':' '}">
<div class="clip" style="clip:rect({$thumbnail.CLIP_TOP}px {$thumbnail.CLIP_RIGHT}px {$thumbnail.CLIP_BOTTOM}px {$thumbnail.CLIP_LEFT}px);top:-{$thumbnail.CLIP_TOP}px;left:-{$thumbnail.CLIP_LEFT}px">
- <img src="{$thumbnail.TN_SRC}" class="thumbnail" alt="">
+ <img src="{$thumbnail.TN_SRC}" class="thumbnail" alt="{$thumbnail.NAME|@replace:'"':' '}">
</div>
</div>
<input type="text" name="rank_of_image[{$thumbnail.ID}]" value="{$thumbnail.RANK}" style="display:none">