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

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

[extensions] Comments on Albums

  • first public version
File size: 1.1 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<div id="comments">
8        {if $COMMENT_COUNT > 0}
9                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
10        {/if}
11
12        {if isset($comments)}
13                {include file='comment_list.tpl'}
14        {/if}
15       
16        {if !empty($comment_navbar)}{include file=$COA_ABSOLUTE_PATH|@cat:'template/navigation_bar.tpl'}{/if}
17
18        {if isset($comment_add)}
19        <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
20                <fieldset>
21                        <legend>{'Add a comment'|@translate}</legend>
22                        {if $comment_add.SHOW_AUTHOR}
23                                <label>{'Author'|@translate}<input type="text" name="author"></label>
24                        {/if}
25                        <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
26                        <input type="hidden" name="key" value="{$comment_add.KEY}">
27                        <input type="submit" value="{'Submit'|@translate}">
28                </fieldset>
29        </form>
30        {/if}
31</div>
Note: See TracBrowser for help on using the repository browser.