Changeset 3032 for trunk/template


Ignore:
Timestamp:
Dec 30, 2008, 9:19:45 PM (15 years ago)
Author:
vdigital
Message:
  • 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

Location:
trunk/template/yoga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/mainpage_categories.tpl

    r2550 r3032  
    77                        <div class="illustration">
    88                        <a href="{$cat.URL}">
    9                                 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{'hint_category'|@translate}">
     9                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|replace:'"':' '} - {'hint_category'|@translate}">
    1010                        </a>
    1111                        </div>
  • trunk/template/yoga/picture_content.tpl

    r2225 r3032  
    33<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
    44{/if}
    5   <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}">
     5  <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
     6        {if isset($COMMENT_IMG)}
     7                title="{$COMMENT_IMG|replace:'"':' '}" {else} title="{$current.TITLE|replace:'"':' '} - {$ALT_IMG}"
     8        {/if}>
    69{if isset($high) }
    710</a>
Note: See TracChangeset for help on using the changeset viewer.