Changeset 18950 for trunk/themes


Ignore:
Timestamp:
Nov 6, 2012, 9:46:56 PM (11 years ago)
Author:
rvelices
Message:
  • fill add comment form fields only if the input comment has been rejected
  • simplify templates
Location:
trunk/themes/default/template
Files:
2 edited

Legend:

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

    r18712 r18950  
    168168{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
    169169{if !empty($cats_navbar)}
    170   {assign var=navbar value=$cats_navbar}
    171   {include file='navigation_bar.tpl'|@get_extent:'navbar'}
     170        {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
    172171{/if}
    173172
     
    178177{/if}
    179178{if !empty($thumb_navbar)}
    180   {assign var=navbar value=$thumb_navbar}
    181   {include file='navigation_bar.tpl'|@get_extent:'navbar'}
     179        {include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}
    182180{/if}
    183181
  • trunk/themes/default/template/picture.tpl

    r18757 r18950  
    33*}
    44{if isset($MENUBAR)}{$MENUBAR}{/if}
    5 <div id="content" {if isset($MENUBAR)}class="contentWithMenu"{/if}>
     5<div id="content"{if isset($MENUBAR)} class="contentWithMenu"{/if}>
    66{if isset($errors) or not empty($infos)}
    77{include file='infos_errors.tpl'}
Note: See TracChangeset for help on using the changeset viewer.