mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 08:02:59 +02:00
- 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
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div class="thumbnailCategory">
|
||||
<div class="illustration">
|
||||
<a href="{$cat.URL}">
|
||||
<img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{'hint_category'|@translate}">
|
||||
<img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|replace:'"':' '} - {'hint_category'|@translate}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="description">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user