source: extensions/Comments_on_Albums/template/coa_albums.tpl @ 10984

Last change on this file since 10984 was 10984, checked in by mistic100, 13 years ago

code cleanup

File size: 1.2 KB
Line 
1{* this is inspired by theme/defaults/template/picture.tpl *}
2 
3{combine_css path=$COA_PATH|@cat:'template/style_albums.css'}
4{if $themeconf.name == 'Sylvia'}{combine_css path=$COA_PATH|@cat:'template/style_albums_sylvia.css'}{/if}
5
6<a name="comments"></a>
7{if isset($COMMENT_COUNT)}
8<div id="comments">
9  {if $COMMENT_COUNT > 0}
10    <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
11  {/if}
12
13  {if isset($comments)}
14    {include file='comment_list.tpl'}
15  {/if}
16 
17  {if !empty($comment_navbar)}{include file=$COA_ABSOLUTE_PATH|@cat:'template/navigation_bar.tpl'}{/if}
18
19  {if isset($comment_add)}
20  <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
21    <fieldset>
22      <legend>{'Add a comment'|@translate}</legend>
23      {if $comment_add.SHOW_AUTHOR}
24        <label>{'Author'|@translate}<input type="text" name="author"></label>
25      {/if}
26      <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
27      <input type="hidden" name="key" value="{$comment_add.KEY}">
28      <input type="submit" value="{'Submit'|@translate}">
29    </fieldset>
30  </form>
31  {/if}
32</div>
33{/if}{*comments*}
Note: See TracBrowser for help on using the repository browser.