Changeset 23384 for trunk/themes


Ignore:
Timestamp:
Jun 20, 2013, 5:38:47 AM (11 years ago)
Author:
rvelices
Message:

smarty 3 - first pass for tests

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

Legend:

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

    r20452 r23384  
    5858
    5959                <span class="commentAuthor">{if $comment.WEBSITE_URL}<a href="{$comment.WEBSITE_URL}" class="external" target="_blank" rel="nofollow">{$comment.AUTHOR}</a>{else}{$comment.AUTHOR}{/if}</span>
    60                         {if $comment.EMAIL}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
     60                        {if isset($comment.EMAIL)}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
    6161                        - <span class="commentDate">{$comment.DATE}</span>
    6262                {if isset($comment.IN_EDIT)}
  • trunk/themes/default/template/index.tpl

    r23320 r23384  
    9494                </a>{/strip}</li>
    9595{/if}
    96 {foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}
     96{if isset($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if}
    9797{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
    9898        </ul>
  • trunk/themes/default/template/menubar_categories.tpl

    r12671 r23384  
    1515  {else}
    1616    </li>
    17     {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
     17    {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)}
    1818  {/if}
    1919    <li {if $cat.SELECTED}class="selected"{/if}>
  • trunk/themes/default/template/picture.tpl

    r23320 r23384  
    7070        </a>
    7171{/if}{/strip}
    72 {foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}
     72{if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}{/if}
    7373{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
    7474{strip}{if isset($favorite)}
Note: See TracChangeset for help on using the changeset viewer.