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

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

[extensions] autosize compatibility with theme simple

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}';
7var 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    clickThrough: true
57  });
58});
59
60</script>
61{/literal}
62<!--============== assign visible =======================-->   
63{assign var="affiche_cde" value="true"}
64{if $affiche_cde == "true"}
65  {assign var="visible" value="block"}
66{else}
67  {assign var="visible" value="none"}
68{/if}
69{if $check_auto_w == true}
70     {assign var="visible_w" value="visible"}
71  {else}
72     {assign var="visible_w" value="hidden"}
73{/if}
74<div class="titrePage">
75                <h2>{'Autosize'|translate} {'version'|translate} {$cl_version}</h2>
76</div>
77  <span>{'cl_autosize_Howto'|translate}</span>
78
79
80
81<!--============== !DIV ==={$IMG_WIDTH  }=={$IMG_HEIGHT  }======-->     
82<table >
83  <form action="" method="post" name="form_autosize" id="form_autosize"    >
84
85  <table id="table0" style=" background:none;border:outset;width:90%; z-index:-500 " >
86    <fieldset>
87        <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend>
88        <td>{'User status'|@translate}</td>
89
90        <td>{'cl_autosize_height'|@translate}</td>
91        <td style="visibility:visible">{'cl_autosize_width'|@translate}
92         <input type="checkbox" name="check_auto_w" value="on"  {$check_auto_w}  /></td>
93         <td style="visibility:visible">{'cl_autosize_enabled'|@translate}
94        </td>
95
96        <tr>
97        <td>{'user_status_webmaster'|@translate}</td>
98        <td><input name="webmaster_height" id="Text7" type="text"  value ="{$webmaster_height}" /></td>
99        <td style="visibility:{$visible_w}"><input name="webmaster_width" id="webmaster_width" type="text"  value ="{$webmaster_width}" /></td>
100         <td ><input name="webmaster_enabled" id="webmaster_enabled" type="checkbox"  value ="on" {$webmaster_enabled}  /></td>
101        </tr>
102        <tr>
103        <td>{'user_status_admin'|@translate}</td>
104        <td><input name="admin_height" id="admin_height" type="text"  value ="{$admin_height}" /></td>
105        <td style="visibility:{$visible_w}"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
106          <td ><input name="admin_enabled" id="admin_enabled" type="checkbox"  value ="on" {$admin_enabled} /></td>
107        </tr>
108        <tr>
109        <td>{'user_status_generic'|@translate}</td>
110        <td><input name="generic_height" id="Text1" type="text"  value ="{$generic_height}" /></td>
111        <td style="visibility:{$visible_w}"><input name="generic_width" id="generic_width" type="text"  value ="{$generic_width}" /></td>
112        <td ><input name="generic_enabled" id="generic_enabled" type="checkbox"  value ="on" {$generic_enabled} /></td>
113        </tr>
114        <tr>
115        <td>{'user_status_guest'|@translate}</td>
116        <td><input name="guest_height" id="Text3" type="text"  value ="{$guest_height}" /></td>
117        <td style="visibility:{$visible_w}"><input name="guest_width" id="guest_width" type="text"  value ="{$guest_width}" /></td>
118         <td ><input name="guest_enabled" id="guest_enabled" type="checkbox"  value ="on" {$guest_enabled} /></td>
119        </tr>
120        <tr>
121        <td>{'user_status_normal'|@translate}</td>
122        <td><input name="normal_height" id="Text5" type="text"  value ="{$normal_height}" /></td>
123        <td style="visibility:{$visible_w}"><input name="normal_width" id="normal_width" type="text"  value ="{$normal_width}" /></td>
124         <td ><input name="normal_enabled" id="normal_enabled" type="checkbox"  value ="on" {$normal_enabled} /></td>
125        </tr>
126
127  </fieldset>
128
129  </table>
130
131<br />
132 <table id="table_d" style=" background:none;border:outset;width:90%; z-index:-500 " >
133   <fieldset>
134        <legend class="cluetip" title="{'cl_autosize_config_title_2'|@translate}|{'cl_autosize_hlp_line2'|@translate}">{'cl_autosize_config_title_2'|@translate}</legend>
135
136    <!--======== Dimensions HL ===================-->   
137    <tr>
138      <td class="cluetip" title="{'cl_autosize_miniheight'|@translate}|{'cl_autosize_hlp_line3'|@translate}" >{'cl_autosize_miniheight'|translate}</td>
139      <td ><input name="mini_height" id="mini_height" type="text"  value ="{$MINI_HEIGHT}" /> px
140           </td>
141         
142     <td class="cluetip" title="{'cl_autosize_miniwidth'|translate}|{'cl_autosize_hlp_line3'|@translate}"  > {'cl_autosize_miniwidth'|translate}</td>
143   <td  >
144    <input name="mini_width"  id="mini_width" type="text" value =  "{$MINI_WIDTH}" /> px
145       </tr>
146    <!--======== Dimensions HL2 ===================--> 
147    <tr>
148      <td class="cluetip" title="{'cl_autosize_miniheight2'|@translate}|{'cl_autosize_hlp_line32'|@translate}" >{'cl_autosize_miniheight2'|translate}</td>
149      <td ><input name="mini_height2" id="Text2" type="text"  value ="{$MINI_HEIGHT2}" /> px
150           </td>
151         
152     <td class="cluetip" title="{'cl_autosize_miniwidth2'|translate}|{'cl_autosize_hlp_line32'|@translate}"  > {'cl_autosize_miniwidth2'|translate}</td>
153   <td  >
154    <input name="mini_width2"  id="Text4" type="text" value =  "{$MINI_WIDTH2}" /> px
155       </tr>
156   <!--======== Positions  ===================-->       
157<tr >
158 <td class="cluetip" title="{'cl_autosize_echelle_max'|translate}|{'cl_autosize_hlp_line4'|@translate}" > {'cl_autosize_echelle_max'|translate}</td>
159 <td  >
160 <input name="echelle_max" id="echelle_max"  type="text" value ="{$ECHELLE_MAX}" />
161 </td>
162 
163</tr>
164
165<tr > 
166<td class="cluetip" title="{'cl_autosize_marge_basse'|translate}|{'cl_autosize_hlp_line5'|@translate}" > {'cl_autosize_marge_basse'|translate}</td>
167<td><input name="marge_basse" id="marge_basse" type="text" value ="{$MARGE_BASSE}" /> px</td>
168
169</tr>             
170<tr > 
171<td class="cluetip" title="{'cl_autosize_fade_in'|translate}|{'cl_autosize_hlp_fade_in'|@translate}" > {'cl_autosize_fade_in'|translate}</td>
172<td><input name="fade_in" id="fade_in" type="text" value ="{$fade_in}" /> </td>
173
174</tr>   
175  <!--======================================================================================-->
176     <tr >
177         
178         </tr>
179
180
181  </fieldset>
182 </table>
183 <!--=================== Bloc choix =============================-->     
184 <table>
185  <tr><td style="visibility:visible">{'cl_autosize_icon_view'|@translate}
186         <input type="checkbox" name="check_icon_v" value="on"  {$check_icon_v}  />
187  </td>
188  <td>{'cl_autosize_desc_view'|@translate}
189         <input type="checkbox" name="check_desc_v" value="on"  {$check_desc_v}  />
190  </td>
191  <td>
192  </td>
193 
194  </tr>
195</table>
196 
197  <table>
198  <td><input name="submit" type="submit" value="{'cl_autosize_save'|@translate}" /></td>
199</table>
200</form>
201 
202 </table >               
203 
204 
Note: See TracBrowser for help on using the repository browser.