Line | |
---|
1 | {combine_css path=$USER_COLLEC_PATH|cat:'template/style_collections.css'} |
---|
2 | |
---|
3 | {footer_script require='jquery'} |
---|
4 | jQuery('.new_col').click(function() { |
---|
5 | var name = prompt('{'Collection name:'|translate|escape:javascript}'); |
---|
6 | if (name != null) { |
---|
7 | jQuery(this).attr('href', jQuery(this).attr('href') +'&name='+ name); |
---|
8 | return true; |
---|
9 | } |
---|
10 | else { |
---|
11 | return false; |
---|
12 | } |
---|
13 | }); |
---|
14 | |
---|
15 | jQuery('.titrePage h2').append(' [{$COLLECTIONS_COUNT}]'); |
---|
16 | {/footer_script} |
---|
17 | |
---|
18 | |
---|
19 | <p style="text-align:left;font-weight:bold;margin:20px;"><a href="{$U_CREATE}" class="new_col">{'Create a new collection'|translate}</a></p> |
---|
20 | |
---|
21 | {if empty($CATEGORIES)} |
---|
22 | {'You have no collection'|translate} |
---|
23 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.