1 | {$MENUBAR} |
---|
2 | |
---|
3 | {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} |
---|
4 | |
---|
5 | <div id="content" class="content"> |
---|
6 | <div class="titrePage"> |
---|
7 | {if !empty($PLUGIN_INDEX_PANIER_BEFORE) }{$PLUGIN_INDEX_PANIER_BEFORE}{/if} |
---|
8 | <ul class="categoryActions"> |
---|
9 | <li> |
---|
10 | <a href="{$preview.U_HOME}" title="{'home_hint'|@translate}"> |
---|
11 | <img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}" /> |
---|
12 | </a> |
---|
13 | </li> |
---|
14 | <li> |
---|
15 | <a href="{$preview.U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"> |
---|
16 | <img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)" /> |
---|
17 | </a> |
---|
18 | </li> |
---|
19 | </ul> |
---|
20 | |
---|
21 | {if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if} |
---|
22 | |
---|
23 | <h2>{'dl_title_telechargement'|@translate}</h2> |
---|
24 | </div> |
---|
25 | |
---|
26 | {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} |
---|
27 | |
---|
28 | {if isset($errors)} |
---|
29 | <div class="errors"> |
---|
30 | <ul> |
---|
31 | {foreach from=$errors item=error} |
---|
32 | <li>{$error}</li> |
---|
33 | {/foreach} |
---|
34 | </ul> |
---|
35 | </div> |
---|
36 | {/if} |
---|
37 | |
---|
38 | {if isset($waiting)} |
---|
39 | <script> |
---|
40 | document.getElementById('conteneur').style.display = "none"; |
---|
41 | document.getElementById('content-progress').style.display = "none"; |
---|
42 | </script> |
---|
43 | {/if} |
---|
44 | |
---|
45 | {if !empty($prefix)} |
---|
46 | <form name="prefix" id="prefix" action="{$prefix.F_ACTION}" method="post" class="filter"> |
---|
47 | <fieldset> |
---|
48 | <legend>{'dl_prefix_file'|@translate}</legend> |
---|
49 | <input id="nom" name="nom" type="text" value="{$prefix.VALUE}" maxlength="20"> |
---|
50 | <input id="submit" type="submit" value="{'dl_prefix_button'|@translate}"> |
---|
51 | </fieldset> |
---|
52 | </form> |
---|
53 | {/if} |
---|
54 | |
---|
55 | {if !empty($telechargements)} |
---|
56 | <form id="user_dir" action="{$F_ACTION}" method="post"> |
---|
57 | <table> |
---|
58 | <thead> |
---|
59 | <tr> |
---|
60 | <th>{'dl_th_file'|@translate}</th> |
---|
61 | <th>{'dl_th_date'|@translate}</th> |
---|
62 | <th>{'dl_th_action'|@translate}</th> |
---|
63 | </tr> |
---|
64 | </thead> |
---|
65 | {foreach from=$telechargements item=telechargement} |
---|
66 | <tr> |
---|
67 | <td> |
---|
68 | <a href="{$telechargement.FIC_CHEMIN}{$telechargement.FIC_NAME}"> |
---|
69 | <img src="{$ROOT_URL}plugins/download_multi/template/images/bullet_disk.png"> |
---|
70 | {$telechargement.FIC_NAME} |
---|
71 | </a> |
---|
72 | </td> |
---|
73 | <td>{$telechargement.FIC_DATE}</td> |
---|
74 | <td> |
---|
75 | <input type="checkbox" name="fic[]" value="{$telechargement.FIC_NAME}"> |
---|
76 | </td> |
---|
77 | </tr> |
---|
78 | {/foreach} |
---|
79 | <tr> |
---|
80 | <td colspan="3"> |
---|
81 | <input name="all" type="button" value="{'dl_bt_select'|@translate}" OnClick="cocher('user_dir');" /> |
---|
82 | <input name="reset" type="reset" value="{'dl_bt_unselect'|@translate}" /> |
---|
83 | <input name="select" type="submit" value="{'dl_bt_delete'|@translate}" /> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | </table> |
---|
87 | </form> |
---|
88 | {/if} |
---|
89 | |
---|
90 | {if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} |
---|
91 | |
---|
92 | </div> <!-- content --> |
---|
93 | |
---|
94 | {if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} |
---|