Changeset 11062


Ignore:
Timestamp:
05/26/11 13:36:29 (9 years ago)
Author:
mistic100
Message:

add an id=theMainImage for main image and class=imageComment for image comment

Location:
trunk/themes/default/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/picture.tpl

    r10812 r11062  
    101101 
    102102{if isset($COMMENT_IMG)} 
    103 <p>{$COMMENT_IMG}</p> 
     103<p class="imageComment">{$COMMENT_IMG}</p> 
    104104{/if} 
    105105 
  • trunk/themes/default/template/picture_content.tpl

    r8898 r11062  
    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}" id="theMainImage" 
    66        {if isset($COMMENT_IMG)} 
    77                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}" 
Note: See TracChangeset for help on using the changeset viewer.