source: extensions/BatchDownloader/admin/template/config.tpl @ 16379

Last change on this file since 16379 was 16379, checked in by mistic100, 12 years ago

first commit, not complete
TODO : use multisize, download history, localization, compatibility with User Selection (and create User Selection !!)

File size: 2.7 KB
Line 
1{combine_css path=$BATCH_DOWNLOAD_PATH|@cat:"admin/template/style.css"}
2
3{combine_script id='jquery.chosen' load='footer' path='themes/default/js/plugins/chosen.jquery.min.js'}
4{combine_css path="themes/default/js/plugins/chosen.css"}
5
6{footer_script}{literal}
7jQuery(document).ready(function() {
8  jQuery(".chzn-select").chosen();
9});
10{/literal}{/footer_script}
11
12<div class="titrePage">
13        <h2>Advanced Downloader</h2>
14</div>
15
16<form method="post" action="" class="properties">
17<fieldset>
18  <legend>{'Download access'|@translate}</legend>
19 
20  <ul>
21    <li>
22      <label>
23        <span class="property">{'User groups'|@translate}</span>
24        <select name="groups[]" data-placeholder="{'Everybody'|@translate}" class="chzn-select" multiple="multiple" style="width:370px;">
25          {html_options options=$group_options selected=$batch_download.groups}
26        </select>
27      </label>
28    </li>
29    <li>
30      <label>
31        <span class="property">{'Privacy level'|@translate}</span>
32        <select name="level">
33          {html_options options=$level_options selected=$batch_download.level}
34        </select>
35      </label>
36    </li>
37  </ul>
38</fieldset>
39
40<fieldset>
41  <legend>{'Archives configuration'|@translate}</legend>
42 
43  <ul>
44    <li>
45      <label>
46        <span class="property">{'Maximum photo size'|@translate}</span>
47        <select name="photo_size">
48          {html_options options=$sizes_options selected=$batch_download.photo_size}
49        </select>
50        NOT IMPLEMENTED
51      </label>
52    </li>
53    <li>
54      <label>
55        <span class="property">{'Archive prefix'|@translate}</span>
56        <input type="text" name="archive_prefix" value="{$batch_download.archive_prefix}">
57      </label>
58    </li>
59    <li>
60      <label>
61        <span class="property">{'Archive comment'|@translate}</span>
62        <input type="text" name="archive_comment" value="{$batch_download.archive_comment}" size="80">
63      </label>
64    </li>
65    <li>
66      <label>
67        <span class="property">{'Delete unterminated downloads after'|@translate}</span>
68        <input type="text" name="archive_timeout" value="{$batch_download.archive_timeout}" size="3">{'hours'|@translate}
69      </label>
70    </li>
71    <li>
72      <label>
73        <span class="property">{'Maximum number if photos in each set'|@translate}</span>
74        <input type="text" name="max_elements" value="{$batch_download.max_elements}" size="3">
75      </label>
76    </li>
77    <li>
78      <label>
79        <span class="property">{'Maximum size of each archive'|@translate}</span>
80        <input type="text" name="max_size" value="{$batch_download.max_size}" size="4">MB
81      </label>
82    </li>
83  </ul>
84</fieldset>
85
86<p><input type="submit" name="save_config" value="{'Save Settings'|@translate}"></p> 
87</form>
Note: See TracBrowser for help on using the repository browser.