1 | {include file='include/autosize.inc.tpl'} |
---|
2 | |
---|
3 | {combine_script id='jquery.cluetip' load='footer' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} |
---|
4 | |
---|
5 | {footer_script require='jquery.cluetip'}{literal} |
---|
6 | jQuery(document).ready(function(){ |
---|
7 | jQuery('.cluetip').cluetip({ |
---|
8 | width: 400, |
---|
9 | splitTitle: '|' |
---|
10 | }); |
---|
11 | }); |
---|
12 | {/literal}{/footer_script} |
---|
13 | |
---|
14 | {html_head} |
---|
15 | |
---|
16 | {footer_script}{literal} |
---|
17 | |
---|
18 | window.onload = load; |
---|
19 | |
---|
20 | function GereControle(Controleur, Controle, Masquer) { |
---|
21 | var objControleur = document.getElementById(Controleur); |
---|
22 | var objControle = document.getElementById(Controle); |
---|
23 | |
---|
24 | if (Masquer=='1') |
---|
25 | objControle.style.visibility=(objControleur.checked==true)?'visible':'hidden'; |
---|
26 | else |
---|
27 | objControle.disabled=(objControleur.checked==true)?false:true; |
---|
28 | return true; |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
32 | function load() |
---|
33 | { |
---|
34 | GereControle('PlGallerieActived','PlTypeGallerie', 1); |
---|
35 | } |
---|
36 | |
---|
37 | {/literal}{/footer_script} |
---|
38 | |
---|
39 | {/html_head} |
---|
40 | |
---|
41 | |
---|
42 | <div class="titrePage"> |
---|
43 | <h2>Piclens</h2> |
---|
44 | </div> |
---|
45 | <p> |
---|
46 | {'piclens_admin_title'|@translate} |
---|
47 | </p> |
---|
48 | <form method="post" action="{$PICLENS_F_ACTION}" class="general"> |
---|
49 | <fieldset> |
---|
50 | <legend>{'piclens_cfg_title'|@translate}</legend> |
---|
51 | <TABLE border="0" CELLPADDING="2" ALIGN="LEFT"> |
---|
52 | |
---|
53 | <TR> |
---|
54 | <TD colspan="2"> |
---|
55 | 01 - <input type="checkbox" name="piclens_active" {$PICLENS_ACTIVATED}/> {'piclens_cfg_piclens_actived'|@translate} |
---|
56 | <br/> |
---|
57 | </TD> |
---|
58 | </TR> |
---|
59 | <TR> |
---|
60 | <TD colspan="2"> |
---|
61 | 02 - <input type="checkbox" name="piclens_recursive" {$PICLENS_RECURSIVE_ACTIVATED}/> {'piclens_cfg_recursiv_actived'|@translate} |
---|
62 | <br/> |
---|
63 | </TD> |
---|
64 | </TR> |
---|
65 | <TR> |
---|
66 | <TD colspan="2"> |
---|
67 | 03 - <input type="checkbox" id="PlGallerieActived" name="piclens_gallerie_active" onclick="GereControle('PlGallerieActived','PlTypeGallerie', 1)" {$PICLENS_GALLERIE_ACTIVATED}/> {'piclens_cfg_root_actived'|@translate} |
---|
68 | <label for="piclens_gallerie_type" id="PlType"></label> |
---|
69 | <select id="PlTypeGallerie" name="piclens_gallerie_type"> |
---|
70 | {foreach from=$PlGallerie item=PlGallerie} |
---|
71 | <option value="{$PlGallerie.ID}" {$PlGallerie.SELECTED}>{$PlGallerie.NAME}</option> |
---|
72 | {/foreach} |
---|
73 | </select> |
---|
74 | |
---|
75 | <br/> |
---|
76 | </TD> |
---|
77 | </TR> |
---|
78 | <TR> |
---|
79 | <TD colspan="2"> |
---|
80 | 04 - <input type="checkbox" name="piclens_lite_active" {$PICLENS_LITE_ACTIVATED}/> {'piclens_cfg_lite_actived'|@translate} |
---|
81 | <br/> |
---|
82 | </TD> |
---|
83 | </TR> |
---|
84 | |
---|
85 | <TR> |
---|
86 | <TD> |
---|
87 | 05 - {'piclens_cfg_specials_actived'|@translate} |
---|
88 | <br/> |
---|
89 | </TD> |
---|
90 | <TD> |
---|
91 | <input type="checkbox" name="piclens_favorites_active" {$PICLENS_FAVORITES_ACTIVATED}/> {'piclens_favorites_label'|@translate} |
---|
92 | <br/> |
---|
93 | <input type="checkbox" name="piclens_mostvisited_active" {$PICLENS_MOSTVISITED_ACTIVATED}/> {'piclens_mostvisited_label'|@translate} |
---|
94 | <br/> |
---|
95 | <input type="checkbox" name="piclens_bestrated_active" {$PICLENS_BESTRATED_ACTIVATED}/> {'piclens_bestrated_label'|@translate} |
---|
96 | <br/> |
---|
97 | <input type="checkbox" name="piclens_recentpics_active" {$PICLENS_RECENTPICS_ACTIVATED}/> {'piclens_recentpics_label'|@translate} |
---|
98 | <br/> |
---|
99 | <input type="checkbox" name="piclens_recentcats_active" {$PICLENS_RECENTCATS_ACTIVATED}/> {'piclens_recentcats_label'|@translate} |
---|
100 | <br/> |
---|
101 | <input type="checkbox" name="piclens_tags_active" {$PICLENS_TAGS_ACTIVATED}/> {'piclens_tags_label'|@translate} |
---|
102 | <br/> |
---|
103 | |
---|
104 | </TD> |
---|
105 | </TR> |
---|
106 | |
---|
107 | {if $PICLENS_SECUREIMAGE or $PICLENS_EXTENDEDDESC} |
---|
108 | <TR> |
---|
109 | <TD colspan="2"> |
---|
110 | <fieldset> |
---|
111 | <legend>{'piclens_cfg_otherplugins_title'|@translate}</legend> |
---|
112 | |
---|
113 | <table> |
---|
114 | {if $PICLENS_SECUREIMAGE} |
---|
115 | <TR> |
---|
116 | <TD> |
---|
117 | {'piclens_label_plugins'|@translate|@sprintf:'SecureImage'} |
---|
118 | <br/> |
---|
119 | 0A - <input type="checkbox" name="piclens_secureimage" {$PICLENS_SECUREIMAGE_ACTIVATED}/> {'piclens_cfg_plugins_actived'|@translate|@sprintf:'SecureImage'} |
---|
120 | </TD> |
---|
121 | <td> |
---|
122 | <img class="cluetip" src="{$ICON_INFO}" alt="" title="'SecureImage'|{'piclens_secureimage_detail'|@translate}"> |
---|
123 | </td> |
---|
124 | </TR> |
---|
125 | {/if} |
---|
126 | {if $PICLENS_EXTENDEDDESC} |
---|
127 | <TR> |
---|
128 | <TD> |
---|
129 | {'piclens_label_plugins'|@translate|@sprintf:'Extended Description'} |
---|
130 | <br/> |
---|
131 | 0B - <input type="checkbox" name="piclens_extendeddesc" {$PICLENS_EXTENDEDDESC_ACTIVATED}/> {'piclens_cfg_plugins_actived'|@translate|@sprintf:'Extended Description'} |
---|
132 | </TD> |
---|
133 | <td> |
---|
134 | <img class="cluetip" src="{$ICON_INFO}" alt="" title="'Extended Description'|{'piclens_extendeddesc_detail'|@translate}"> |
---|
135 | </td> |
---|
136 | </TR> |
---|
137 | {/if} |
---|
138 | </table> |
---|
139 | |
---|
140 | </fieldset> |
---|
141 | </div> |
---|
142 | </TD> |
---|
143 | </TR> |
---|
144 | {/if} |
---|
145 | |
---|
146 | |
---|
147 | </table> |
---|
148 | <br/> |
---|
149 | </fieldset> |
---|
150 | |
---|
151 | <fieldset> |
---|
152 | <legend>{'piclens_recurs_mode_title'|@translate}</legend> |
---|
153 | <TABLE border="0" CELLPADDING="3"> |
---|
154 | |
---|
155 | <tr> |
---|
156 | <td align="right">{'piclens_recurs_mode_label'|@translate} </td> |
---|
157 | <td><input type="radio" name="recursive_mode" value="standard" {$standard_CHECKED}> {'piclens_recursive_standard'|@translate}</td> |
---|
158 | <td><img class="cluetip" src="{$ICON_INFO}" alt="" title="{'piclens_recursive_standard_title'|@translate}|{'piclens_recursive_standard_detail'|@translate}"></td> |
---|
159 | </tr> |
---|
160 | <tr> |
---|
161 | <td align="right"></td> |
---|
162 | <td><input type="radio" name="recursive_mode" value="specifique" {$specifique_CHECKED}> {'piclens_recursive_specifique'|@translate}</td> |
---|
163 | <td><img class="cluetip" src="{$ICON_INFO}" alt="" title="{'piclens_recursive_specifique_title'|@translate}|{'piclens_recursive_specifique_detail'|@translate}"></td> |
---|
164 | </tr> |
---|
165 | </tr> |
---|
166 | <tr> |
---|
167 | <td align="center" colspan="3"></td> |
---|
168 | </tr> |
---|
169 | <tr> |
---|
170 | <td align="center" colspan="3">{'piclens_recurs_mode_rem'|@translate} </td> |
---|
171 | </tr> |
---|
172 | </table> |
---|
173 | <br/> |
---|
174 | </fieldset> |
---|
175 | |
---|
176 | <p><input type="submit" name="submit" value="{'piclens_admin_submit'|@translate}" /> |
---|
177 | {if $PICLENS_CFGFILE_PRESENT} |
---|
178 | <input type="submit" name="restore" value="{'piclens_admin_restore'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> |
---|
179 | {/if} |
---|
180 | <input type="submit" name="savefile" value="{'piclens_admin_savefile'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');"> |
---|
181 | </p> |
---|
182 | </form> |
---|