source: trunk/template/yoga/picture_content.tpl @ 3213

Last change on this file since 3213 was 3120, checked in by rvelices, 16 years ago

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
RevLine 
[2225]1{* $Id: picture_content.tpl 3120 2009-02-04 02:30:48Z 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}
[3032]5  <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
6        {if isset($COMMENT_IMG)}
[3120]7                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
[3032]8        {/if}>
[2225]9{if isset($high) }
[1590]10</a>
[2225]11  <p>{'picture_high'|@translate}</p>
12{/if}
Note: See TracBrowser for help on using the repository browser.