source: extensions/UserCollections/template/collections_list.tpl @ 25678

Last change on this file since 25678 was 25678, checked in by mistic100, 10 years ago

very big update for Piwigo 2.6

File size: 659 bytes
Line 
1{combine_css path=$USER_COLLEC_PATH|cat:'template/style_collections.css'}
2
3{footer_script require='jquery'}
4jQuery('.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
15jQuery('.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.