[14528] | 1 | {* this is a copy of theme/default/template/comments.tpl a bit modified *} |
---|
[9634] | 2 | |
---|
[14528] | 3 | {* <!-- stripped uses a custom layout -->*} |
---|
| 4 | {if $themeconf.name|strstr:"stripped"} |
---|
| 5 | <div class="titrePage"> |
---|
| 6 | <div class="browsePath"> |
---|
| 7 | <h2> |
---|
| 8 | {if isset($MENUBAR)} |
---|
| 9 | <span id="menuswitcher" title="{'Show/hide menu'|@translate}">{'Menu'|@translate}</span><span class="arrow"> »</span> |
---|
| 10 | {/if} |
---|
| 11 | <a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate} |
---|
| 12 | </h2> |
---|
| 13 | </div> |
---|
| 14 | </div> |
---|
[9634] | 15 | |
---|
[14528] | 16 | <div id="content"> |
---|
| 17 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
| 18 | <div id="content_cell"> |
---|
| 19 | <div class="content_block"> |
---|
| 20 | {else} |
---|
| 21 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
| 22 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
[9634] | 23 | |
---|
[14528] | 24 | <div class="titrePage"> |
---|
| 25 | <ul class="categoryActions"> |
---|
| 26 | </ul> |
---|
| 27 | <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2> |
---|
| 28 | </div> |
---|
| 29 | {/if} |
---|
| 30 | |
---|
| 31 | {include file='infos_errors.tpl'} |
---|
| 32 | |
---|
| 33 | <form class="filter"> |
---|
| 34 | <fieldset> |
---|
| 35 | <legend>{'Display comments on'|@translate}</legend> |
---|
| 36 | <span style="font-size:1.1em;"><a href="comments.php">{'Photos'|@translate}</a> | <a href="#" style="font-weight:bold;">{'Albums'|@translate}</a></span> |
---|
| 37 | </fieldset> |
---|
| 38 | </form> |
---|
| 39 | |
---|
[9634] | 40 | <form class="filter" action="{$F_ACTION}?display_mode=albums" method="get"> |
---|
| 41 | |
---|
| 42 | <fieldset> |
---|
| 43 | <legend>{'Filter'|@translate}</legend> |
---|
| 44 | |
---|
[14528] | 45 | <label>{'Keyword'|@translate} <input type="text" name="keyword" value="{$F_KEYWORD}"></label> |
---|
[9634] | 46 | |
---|
[14528] | 47 | <label>{'Author'|@translate} <input type="text" name="author" value="{$F_AUTHOR}"></label> |
---|
[9634] | 48 | |
---|
| 49 | <label> |
---|
| 50 | {'Album'|@translate} |
---|
| 51 | <select name="cat"> |
---|
| 52 | <option value="0">------------</option> |
---|
| 53 | {html_options options=$categories selected=$categories_selected} |
---|
| 54 | </select> |
---|
| 55 | </label> |
---|
| 56 | |
---|
| 57 | <label> |
---|
| 58 | {'Since'|@translate} |
---|
| 59 | <select name="since"> |
---|
| 60 | {html_options options=$since_options selected=$since_options_selected} |
---|
| 61 | </select> |
---|
| 62 | </label> |
---|
| 63 | |
---|
| 64 | </fieldset> |
---|
| 65 | |
---|
| 66 | <fieldset> |
---|
| 67 | |
---|
| 68 | <legend>{'Display'|@translate}</legend> |
---|
| 69 | |
---|
| 70 | <label> |
---|
| 71 | {'Sort by'|@translate} |
---|
| 72 | <select name="sort_by"> |
---|
| 73 | {html_options options=$sort_by_options selected=$sort_by_options_selected} |
---|
| 74 | </select> |
---|
| 75 | </label> |
---|
| 76 | |
---|
| 77 | <label> |
---|
| 78 | {'Sort order'|@translate} |
---|
| 79 | <select name="sort_order"> |
---|
| 80 | {html_options options=$sort_order_options selected=$sort_order_options_selected} |
---|
| 81 | </select> |
---|
| 82 | </label> |
---|
| 83 | |
---|
| 84 | <label> |
---|
| 85 | {'Number of items'|@translate} |
---|
| 86 | <select name="items_number"> |
---|
| 87 | {html_options options=$item_number_options selected=$item_number_options_selected} |
---|
| 88 | </select> |
---|
| 89 | </label> |
---|
| 90 | |
---|
| 91 | </fieldset> |
---|
| 92 | |
---|
| 93 | <input type="hidden" name="display_mode" value="albums"/> |
---|
| 94 | <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p> |
---|
| 95 | |
---|
| 96 | </form> |
---|
| 97 | |
---|
| 98 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
| 99 | |
---|
| 100 | {if isset($comments)} |
---|
| 101 | <div id="comments"> |
---|
[14528] | 102 | {include file='comment_list.tpl' comment_derivative_params=$derivative_params} |
---|
[9634] | 103 | </div> |
---|
| 104 | {/if} |
---|
| 105 | |
---|
| 106 | </div> <!-- content --> |
---|
[14528] | 107 | {if $themeconf.name|strstr:"stripped"}</div></div>{/if} |
---|