1 | {combine_css path=$USER_COLLEC_PATH|@cat:"admin/template/style.css"} |
---|
2 | |
---|
3 | <div class="titrePage"> |
---|
4 | <h2>User Collections</h2> |
---|
5 | </div> |
---|
6 | |
---|
7 | <form class="filter" method="post" name="filter" action="{$F_FILTER_ACTION}"> |
---|
8 | <fieldset> |
---|
9 | <legend>{'Filter'|@translate}</legend> |
---|
10 | <input type="hidden" name="page" value="user_list"> |
---|
11 | |
---|
12 | <label>{'Name'|@translate} <input type="text" name="name" value="{$F_NAME}"></label> |
---|
13 | |
---|
14 | <label>{'Username'|@translate} <input type="text" name="username" value="{$F_USERNAME}"></label> |
---|
15 | |
---|
16 | <label> |
---|
17 | {'Sort by'|@translate} |
---|
18 | {html_options name=order_by options=$order_options selected=$order_selected} |
---|
19 | </label> |
---|
20 | |
---|
21 | <label> |
---|
22 | {'Sort order'|@translate} |
---|
23 | {html_options name=direction options=$direction_options selected=$direction_selected} |
---|
24 | </label> |
---|
25 | |
---|
26 | <label> |
---|
27 | |
---|
28 | <span><input class="submit" type="submit" name="filter" value="{'Submit'|@translate}"> <a href="{$F_FILTER_ACTION}">{'Reset'|@translate}</a></span> |
---|
29 | </label> |
---|
30 | |
---|
31 | </fieldset> |
---|
32 | |
---|
33 | </form> |
---|
34 | |
---|
35 | <table class="table2" width="97%"> |
---|
36 | <thead> |
---|
37 | <tr class="throw"> |
---|
38 | <td class="name">{'Name'|@translate}</td> |
---|
39 | <td class="user">{'Username'|@translate}</td> |
---|
40 | <td class="status">{'Public'|@translate}</td> |
---|
41 | <td class="date">{'Creation date'|@translate}</td> |
---|
42 | <td class="images">{'Number of images'|@translate}</td> |
---|
43 | <td class="action">{'Actions'|@translate}</td> |
---|
44 | </tr> |
---|
45 | </thead> |
---|
46 | |
---|
47 | {foreach from=$sets item=set name=sets_loop} |
---|
48 | <tr class="{if $smarty.foreach.sets_loop.index is odd}row1{else}row2{/if}"> |
---|
49 | <td> |
---|
50 | <a href="{$set.U_PUBLIC}">{$set.NAME}</a> |
---|
51 | </td> |
---|
52 | <td>{$set.USERNAME}</td> |
---|
53 | <td style="text-align:center;">{if $set.IS_PUBLIC}{'Yes'|@translate}{else}{'No'|@translate}{/if}</td> |
---|
54 | <td style="text-align:center;">{$set.DATE_CREATION}</td> |
---|
55 | <td>{$set.NB_IMAGES}</td> |
---|
56 | <td style="padding-left:25px;"> |
---|
57 | <a href="{$set.U_EDIT}" title="{'Edit this collection'|@translate}"><img src="{$themeconf.admin_icon_dir}/edit_s.png"></a> |
---|
58 | <a href="{$set.U_EXPORT}" title="{'Export image list'|@translate}"><img src="{$themeconf.admin_icon_dir}/plug_install.png"><span class="icon-upload"></span></a> <!-- temp 2.5/2.6 --> |
---|
59 | <a href="{$set.U_DELETE}" title="{'Delete this collection'|@translate}" onClick="return confirm('{'Are you sure?'|@translate}');"><img src="{$themeconf.admin_icon_dir}/delete.png"></a> |
---|
60 | </td> |
---|
61 | </tr> |
---|
62 | {/foreach} |
---|
63 | |
---|
64 | {if not $sets} |
---|
65 | <tr class="row2"> |
---|
66 | <td colspan="8" style="text-align:center;font-style:italic;">{'No results'|@translate}</td> |
---|
67 | </tr> |
---|
68 | {/if} |
---|
69 | </table> |
---|