Ignore:
Timestamp:
Feb 4, 2009, 3:30:48 AM (15 years ago)
Author:
rvelices
Message:

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
File:
1 edited

Legend:

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

    r3041 r3120  
    55  <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}"
    66        {if isset($COMMENT_IMG)}
    7                 title="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}" {else} title="{$current.TITLE|replace:'"':' '} - {$ALT_IMG}"
     7                title="{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}" {else} title="{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}"
    88        {/if}>
    99{if isset($high) }
Note: See TracChangeset for help on using the changeset viewer.