Ignore:
Timestamp:
Aug 22, 2008, 2:45:03 AM (16 years ago)
Author:
rvelices
Message:
  • further reduce css rules and remove unused ones
  • added a smarty prefilter so that html output is nicely indented now ...
File:
1 edited

Legend:

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

    r2480 r2481  
    245245{if isset($COMMENT_COUNT)}
    246246<div id="comments">
    247   <h2>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h2>
    248 
    249   <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
    250 
    251   {if isset($comments)}
    252                 {include file='comment_list.tpl'}
    253   {/if}
    254 
    255   {if isset($comment_add)}
    256   <form  method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
    257     <fieldset>
    258       <legend>{'comments_add'|@translate}</legend>
    259       {if $comment_add.SHOW_AUTHOR}
    260       <label>{'upload_author'|@translate}<input type="text" name="author"></label>
    261       {/if}
    262       <label>{'comment'|@translate}<textarea name="content" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
    263       <input type="hidden" name="key" value="{$comment_add.KEY}" />
    264       <input class="submit" type="submit" value="{'Submit'|@translate}">
    265     </fieldset>
    266   </form>
    267   {/if}
    268 
     247        <h3>[{$COMMENT_COUNT}] {'comments_title'|@translate}</h3>
     248
     249        {if !empty($COMMENT_NAV_BAR)}
     250        <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
     251        {/if}
     252
     253        {if isset($comments)}
     254                {include file='comment_list.tpl' comment_separator=true}
     255        {/if}
     256
     257        {if isset($comment_add)}
     258        <form  method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
     259        <fieldset>
     260                <legend>{'comments_add'|@translate}</legend>
     261                {if $comment_add.SHOW_AUTHOR}
     262                <label>{'upload_author'|@translate}<input type="text" name="author"></label>
     263                {/if}
     264                <label>{'comment'|@translate}<textarea name="content" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
     265                <input type="hidden" name="key" value="{$comment_add.KEY}" />
     266                <input class="submit" type="submit" value="{'Submit'|@translate}">
     267        </fieldset>
     268        </form>
     269        {/if}
    269270</div>
    270271{/if} {*comments*}
Note: See TracChangeset for help on using the changeset viewer.