source: extensions/Autosize/admin/template/admin.tpl @ 8981

Last change on this file since 8981 was 8981, checked in by cljosse, 13 years ago

[Autosize][beta] Add cookies, adjust size of picture.


File size: 8.3 KB
Line 
1{html_head}
2 <script type="text/javascript">
3    var fade_in = '{$fade_in}';
4     var DEBUG = '{$DEBUG}';
5     var thumbnail = '{$thumbnail}';
6     var theme = '{$theme}';
7 var cl_version = '{$cl_version}';
8     var scaled_width = '{$SCALED_WIDTH}'; // valeur par defaut
9     var scaled_height = '{$SCALED_HEIGHT}'; // valeur par defaut
10     var img_width = '{$IMG_WIDTH }';
11     var img_height = '{ $IMG_HEIGHT }';
12
13     var marge_basse = '{ $MARGE_BASSE }';
14     var echelle_max = '{ $ECHELLE_MAX }';
15     var mini_width = '{ $MINI_WIDTH   }';
16     var mini_height = '{ $MINI_HEIGHT }';
17     var mini_width2 = '{ $MINI_WIDTH2 }';
18     var mini_height2 = '{ $MINI_HEIGHT2 }';
19     var webmaster_width = '{$webmaster_width   }';
20     var webmaster_height = '{ $webmaster_height   }';
21     var admin_width = '{ $admin_width   }';
22     var admin_height = '{ $admin_height   }';
23     var generic_width = '{ $generic_width   }';
24     var generic_height = '{ $generic_height   }';
25     var guest_width = '{ $guest_width   }';
26     var guest_height = '{$guest_height}';
27     var normal_width = '{$normal_width}';
28     var normal_height = '{$normal_height}';
29     var user_status = '{$user_status}';
30
31     var check_auto_w = '{$check_auto_w}';
32
33     var check_desc_v = '{$check_desc_v}';
34     check_desc_v = (check_desc_v == 'checked="checked"');
35 </script>
36 
37  {if PHPWG_VERSION < 2.2 }
38  {include file=$AUTOSIZE_PATH_ABS|@cat:'admin/template/header_2_1.tpl'}
39{else}
40{include file= $AUTOSIZE_PATH_ABS|@cat:'admin/template/header_2_2.tpl'}
41 {/if}
42 
43   
44{/html_head}
45
46{* $Id: autosize admin.tpl  *}
47 <!--- HEAD autosize TPL --->
48
49{literal}
50<script type="text/javascript">
51
52jQuery().ready(function(){
53  jQuery('.cluetip').cluetip({
54    width: 300,
55    splitTitle: '|'
56  });
57});
58
59</script>
60{/literal}
61<!--============== assign visible =======================-->   
62{assign var="affiche_cde" value="true"}
63{if $affiche_cde == "true"}
64  {assign var="visible" value="block"}
65{else}
66  {assign var="visible" value="none"}
67{/if}
68{if $check_auto_w == true}
69     {assign var="visible_w" value="visible"}
70  {else}
71     {assign var="visible_w" value="hidden"}
72{/if}
73<div class="titrePage">
74                <h2>{'Autosize'|translate} {'version'|translate}{$cl_version}</h2>
75</div>
76  <span>{'cl_autosize_Howto'|translate}</span>
77
78
79
80<!--============== !DIV ==={$IMG_WIDTH  }=={$IMG_HEIGHT  }======-->     
81<table >
82  <form action="" method="post" name="form_autosize" id="form_autosize"    >
83
84  <table id="table0" style=" background:none;border:outset;width:90%; z-index:-500 " >
85    <fieldset>
86        <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend>
87        <td>{'User status'|@translate}</td>
88
89        <td>{'cl_autosize_height'|@translate}</td>
90        <td style="visibility:visible">{'cl_autosize_width'|@translate}
91         <input type="checkbox" name="check_auto_w" value="on"  {$check_auto_w}  /></td>
92         <td style="visibility:visible">{'cl_autosize_enabled'|@translate}
93        </td>
94
95        <tr>
96        <td>{'user_status_webmaster'|@translate}</td>
97        <td><input name="webmaster_height" id="Text7" type="text"  value ="{$webmaster_height}" /></td>
98        <td style="visibility:{$visible_w}"><input name="webmaster_width" id="webmaster_width" type="text"  value ="{$webmaster_width}" /></td>
99         <td ><input name="webmaster_enabled" id="webmaster_enabled" type="checkbox"  value ="on" {$webmaster_enabled}  /></td>
100        </tr>
101        <tr>
102        <td>{'user_status_admin'|@translate}</td>
103        <td><input name="admin_height" id="admin_height" type="text"  value ="{$admin_height}" /></td>
104        <td style="visibility:{$visible_w}"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
105          <td ><input name="admin_enabled" id="admin_enabled" type="checkbox"  value ="on" {$admin_enabled} /></td>
106        </tr>
107        <tr>
108        <td>{'user_status_generic'|@translate}</td>
109        <td><input name="generic_height" id="Text1" type="text"  value ="{$generic_height}" /></td>
110        <td style="visibility:{$visible_w}"><input name="generic_width" id="generic_width" type="text"  value ="{$generic_width}" /></td>
111        <td ><input name="generic_enabled" id="generic_enabled" type="checkbox"  value ="on" {$generic_enabled} /></td>
112        </tr>
113        <tr>
114        <td>{'user_status_guest'|@translate}</td>
115        <td><input name="guest_height" id="Text3" type="text"  value ="{$guest_height}" /></td>
116        <td style="visibility:{$visible_w}"><input name="guest_width" id="guest_width" type="text"  value ="{$guest_width}" /></td>
117         <td ><input name="guest_enabled" id="guest_enabled" type="checkbox"  value ="on" {$guest_enabled} /></td>
118        </tr>
119        <tr>
120        <td>{'user_status_normal'|@translate}</td>
121        <td><input name="normal_height" id="Text5" type="text"  value ="{$normal_height}" /></td>
122        <td style="visibility:{$visible_w}"><input name="normal_width" id="normal_width" type="text"  value ="{$normal_width}" /></td>
123         <td ><input name="normal_enabled" id="normal_enabled" type="checkbox"  value ="on" {$normal_enabled} /></td>
124        </tr>
125
126  </fieldset>
127
128  </table>
129
130<br />
131 <table id="table_d" style=" background:none;border:outset;width:90%; z-index:-500 " >
132   <fieldset>
133        <legend class="cluetip" title="{'cl_autosize_config_title_2'|@translate}|{'cl_autosize_hlp_line2'|@translate}">{'cl_autosize_config_title_2'|@translate}</legend>
134
135    <!--======== Dimensions HL ===================-->   
136    <tr>
137      <td class="cluetip" title="{'cl_autosize_miniheight'|@translate}|{'cl_autosize_hlp_line3'|@translate}" >{'cl_autosize_miniheight'|translate}</td>
138      <td ><input name="mini_height" id="mini_height" type="text"  value ="{$MINI_HEIGHT}" /> px
139           </td>
140         
141     <td class="cluetip" title="{'cl_autosize_miniwidth'|translate}|{'cl_autosize_hlp_line3'|@translate}"  > {'cl_autosize_miniwidth'|translate}</td>
142   <td  >
143    <input name="mini_width"  id="mini_width" type="text" value =  "{$MINI_WIDTH}" /> px
144       </tr>
145    <!--======== Dimensions HL2 ===================--> 
146    <tr>
147      <td class="cluetip" title="{'cl_autosize_miniheight2'|@translate}|{'cl_autosize_hlp_line32'|@translate}" >{'cl_autosize_miniheight2'|translate}</td>
148      <td ><input name="mini_height2" id="Text2" type="text"  value ="{$MINI_HEIGHT2}" /> px
149           </td>
150         
151     <td class="cluetip" title="{'cl_autosize_miniwidth2'|translate}|{'cl_autosize_hlp_line32'|@translate}"  > {'cl_autosize_miniwidth2'|translate}</td>
152   <td  >
153    <input name="mini_width2"  id="Text4" type="text" value =  "{$MINI_WIDTH2}" /> px
154       </tr>
155   <!--======== Positions  ===================-->       
156<tr >
157 <td class="cluetip" title="{'cl_autosize_echelle_max'|translate}|{'cl_autosize_hlp_line4'|@translate}" > {'cl_autosize_echelle_max'|translate}</td>
158 <td  >
159 <input name="echelle_max" id="echelle_max"  type="text" value ="{$ECHELLE_MAX}" />
160 </td>
161 
162</tr>
163
164<tr > 
165<td class="cluetip" title="{'cl_autosize_marge_basse'|translate}|{'cl_autosize_hlp_line5'|@translate}" > {'cl_autosize_marge_basse'|translate}</td>
166<td><input name="marge_basse" id="marge_basse" type="text" value ="{$MARGE_BASSE}" /> px</td>
167
168</tr>             
169<tr > 
170<td class="cluetip" title="{'cl_autosize_fade_in'|translate}|{'cl_autosize_hlp_fade_in'|@translate}" > {'cl_autosize_fade_in'|translate}</td>
171<td><input name="fade_in" id="fade_in" type="text" value ="{$fade_in}" /> </td>
172
173</tr>   
174  <!--======================================================================================-->
175     <tr >
176         
177         </tr>
178
179
180  </fieldset>
181 </table>
182 <!--=================== Bloc choix =============================-->     
183 <table>
184  <tr><td style="visibility:visible">{'cl_autosize_icon_view'|@translate}
185         <input type="checkbox" name="check_icon_v" value="on"  {$check_icon_v}  />
186  </td>
187  <td>{'cl_autosize_desc_view'|@translate}
188         <input type="checkbox" name="check_desc_v" value="on"  {$check_desc_v}  />
189  </td>
190  <td>
191  </td>
192 
193  </tr>
194</table>
195 
196  <table>
197  <td><input name="submit" type="submit" value="{'cl_autosize_save'|@translate}" /></td>
198</table>
199</form>
200 
201 </table >               
202 
203 
Note: See TracBrowser for help on using the repository browser.