Changeset 2831 for branches/2.0/template


Ignore:
Timestamp:
Nov 6, 2008, 2:15:23 AM (16 years ago)
Author:
rvelices
Message:
  • remove some unnecessary modifiers from template - it should be somehow faster (arguably though)
Location:
branches/2.0/template/yoga
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/template/yoga/menubar.tpl

    r2717 r2831  
    77                {include file=$block->template|@get_extent:$id }
    88                {else}
    9                 {$block->raw_content|@default}
     9                {$block->raw_content}
    1010                {/if}
    1111        </dl>
  • branches/2.0/template/yoga/menubar_links.tpl

    r2636 r2831  
    55                        <li>
    66                                <a href="{$link.URL}"
    7                                         {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME|@escape:'javascript'}','{$link.new_window.FEATURES|@escape:'javascript'}'); return false;"{/if}
     7                                        {if isset($link.new_window) }onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}
    88                                >
    99                                {$link.LABEL}
  • branches/2.0/template/yoga/thumbnails.tpl

    r2515 r2831  
    1212                </span>
    1313                <span class="thumbLegend">
    14                 {$thumbnail.NAME|@default}
     14                {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
    1515                {$thumbnail.ICON_TS}
    1616                {if isset($thumbnail.NB_COMMENTS)}
Note: See TracChangeset for help on using the changeset viewer.