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

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

[plugins] Comments on Albums

  • corrections
  • public list available
File size: 1.2 KB
Line 
1{combine_script id="jquery"}
2{combine_css path=$COA_PATH|@cat:'template/style_albums.css'}
3
4{footer_script require="jquery"}{literal}
5        // cancel all color changements and set default color to comments
6        jQuery('.thumbnailCategory').css('color', jQuery('body').css('color'));
7{/literal}{/footer_script}
8
9<a name="comments"></a>
10<div id="comments">
11        {if $COMMENT_COUNT > 0}
12                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3>
13        {/if}
14
15        {if isset($comments)}
16                {include file='comment_list.tpl'}
17        {/if}
18       
19        {if !empty($comment_navbar)}{include file=$COA_ABSOLUTE_PATH|@cat:'template/navigation_bar.tpl'}{/if}
20
21        {if isset($comment_add)}
22        <form method="post" action="{$comment_add.F_ACTION}" class="filter" id="addComment">
23                <fieldset>
24                        <legend>{'Add a comment'|@translate}</legend>
25                        {if $comment_add.SHOW_AUTHOR}
26                                <label>{'Author'|@translate}<input type="text" name="author"></label>
27                        {/if}
28                        <label>{'Comment'|@translate}<textarea name="content" id="contentid" rows="5" cols="80">{$comment_add.CONTENT}</textarea></label>
29                        <input type="hidden" name="key" value="{$comment_add.KEY}">
30                        <input type="submit" value="{'Submit'|@translate}">
31                </fieldset>
32        </form>
33        {/if}
34</div>
Note: See TracBrowser for help on using the repository browser.