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

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

[plugins] Comments on Albums

  • compatible with BBCode Bar and/or Smilies Support
  • better css integration
File size: 1.1 KB
Line 
1{* this is inspired by theme/defaults/template/picture.tpl *}
2       
3{combine_script id="jquery"}
4{combine_css path=$COA_PATH|@cat:'template/style_albums.css'}
5{if $themeconf.name == 'Sylvia'}{combine_css path=$COA_PATH|@cat:'template/style_albums_sylvia.css'}{/if}
6
7<a name="comments"></a>
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>
Note: See TracBrowser for help on using the repository browser.