diff options
author | vdigital <vdigital@piwigo.org> | 2008-12-30 20:19:45 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-12-30 20:19:45 +0000 |
commit | edd0ce68d0db0300db8a9a9b4832f29148f803a1 (patch) | |
tree | 058c270c8a283a170a303dcd143c9b31caef91b3 /template/yoga/picture_content.tpl | |
parent | f0dc31da83f3631b72be4c2878bf5ae58a5b6814 (diff) |
- Change the title logic for a better index in Google images
(It was already done but it should be improved).
merge -c3031 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@3032 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/picture_content.tpl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/template/yoga/picture_content.tpl b/template/yoga/picture_content.tpl index 7e15a1bb3..5c9291357 100644 --- a/template/yoga/picture_content.tpl +++ b/template/yoga/picture_content.tpl @@ -2,7 +2,10 @@ {if isset($high) } <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}" + {if isset($COMMENT_IMG)} + title="{$COMMENT_IMG|replace:'"':' '}" {else} title="{$current.TITLE|replace:'"':' '} - {$ALT_IMG}" + {/if}> {if isset($high) } </a> <p>{'picture_high'|@translate}</p> |