aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-26 11:36:29 +0000
committermistic100 <mistic@piwigo.org>2011-05-26 11:36:29 +0000
commitb3dcaf91b477658d4607e5e76b414de906f49690 (patch)
treefe89ee09652df984ac5cdb1c31aca4348686b8f9 /themes
parent39a5928de404ac0f603fb73ea62dffc9e1203a5a (diff)
add an id=theMainImage for main image and class=imageComment for image comment
git-svn-id: http://piwigo.org/svn/trunk@11062 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/picture.tpl2
-rw-r--r--themes/default/template/picture_content.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index d029aa33d..79c5075af 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -100,7 +100,7 @@ y.callService(
{$ELEMENT_CONTENT}
{if isset($COMMENT_IMG)}
-<p>{$COMMENT_IMG}</p>
+<p class="imageComment">{$COMMENT_IMG}</p>
{/if}
{if isset($U_SLIDESHOW_STOP)}
diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl
index c4c6da3bf..53681b585 100644
--- a/themes/default/template/picture_content.tpl
+++ b/themes/default/template/picture_content.tpl
@@ -2,7 +2,7 @@
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
{/if}
- <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
+ <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" id="theMainImage"
{if isset($COMMENT_IMG)}
title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
{/if}>