source: branches/2.0/template/yoga/picture_content.tpl @ 3996

Last change on this file since 3996 was 3121, checked in by rvelices, 15 years ago

merge 3120 from trunk
optimizations (php only)

  • removed unnecessary call to array_unique in get_image_ids_for_tags
  • put back in smarty exec time counting (debug mode) for each included template
  • prefix some smarty modifiers with @ in some templates
  • do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 477 bytes
Line 
1{* $Id: picture_content.tpl 3121 2009-02-04 02:33:50Z rvelices $ *}
2{if isset($high) }
3<a href="javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')">
4{/if}
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|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
8        {/if}>
9{if isset($high) }
10</a>
11  <p>{'picture_high'|@translate}</p>
12{/if}
Note: See TracBrowser for help on using the repository browser.