source: extensions/Comments_on_Albums/template/albums_simple.tpl @ 12618

Last change on this file since 12618 was 12618, checked in by mistic100, 12 years ago

fix display with simple and stripped themes, disable with luciano theme

File size: 1.4 KB
Line 
1{* this is inspired by theme/simple/template/picture.tpl *}
2
3{if $is_simple !== false}{combine_css path=$COA_PATH|@cat:'template/style_albums_simple.css'}{/if}
4
5{if (isset($COMMENT_COUNT) and ($COMMENT_COUNT>0)) or isset($comment_add) }
6<div id="theComments">
7  <h3 title="{'Add a comment'|@translate}">{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
8    {if !empty($COMMENT_NAV_BAR)}
9    <div class="navigationBar">{$COMMENT_NAV_BAR}</div>
10    {/if}
11    {if isset($comment_add)}
12    <div id="commentAdd">
13      <h4>{'Add a comment'|@translate}</h4>
14      <form  method="post" action="{$comment_add.F_ACTION}" class="filter">
15        {if $comment_add.SHOW_AUTHOR}
16        <p><label>{'Author'|@translate}&nbsp;:</label></p>
17        <p><input type="text" name="author" /></p>
18        {/if}
19        <p><label>{'Comment'|@translate}&nbsp;:</label></p>
20        <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
21        <p><input type="hidden" name="key" value="{$comment_add.KEY}" />
22          <input class="submit" type="submit" value="{'Submit'|@translate}"></p>
23      </form>
24    </div>
25    {/if}
26    {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
27    {if isset($comments)}
28    <div id="commentList">
29      {include file='comment_list.tpl'}
30    </div>
31    {/if}
32</div>
33{/if} {*comments*}
Note: See TracBrowser for help on using the repository browser.