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