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

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

[Autosize][beta] set version on auto.
.


File size: 8.3 KB
RevLine 
[6912]1{html_head}
[6983]2 <script type="text/javascript">
[7725]3    var fade_in = '{$fade_in}';
[7536]4     var DEBUG = '{$DEBUG}';
[7124]5     var thumbnail = '{$thumbnail}';
[6983]6     var theme = '{$theme}';
[9283]7var cl_version = '{$cl_version}';
[7124]8     var scaled_width = '{$SCALED_WIDTH}'; // valeur par defaut
9     var scaled_height = '{$SCALED_HEIGHT}'; // valeur par defaut
[6983]10     var img_width = '{$IMG_WIDTH }';
11     var img_height = '{ $IMG_HEIGHT }';
[7124]12
[6983]13     var marge_basse = '{ $MARGE_BASSE }';
14     var echelle_max = '{ $ECHELLE_MAX }';
15     var mini_width = '{ $MINI_WIDTH   }';
[7962]16     var mini_height = '{ $MINI_HEIGHT }';
17     var mini_width2 = '{ $MINI_WIDTH2 }';
18     var mini_height2 = '{ $MINI_HEIGHT2 }';
[6983]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}';
[7353]30
[6983]31     var check_auto_w = '{$check_auto_w}';
[7316]32
33     var check_desc_v = '{$check_desc_v}';
[8981]34     check_desc_v = (check_desc_v == 'checked="checked"');
35 </script>
[8912]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 
[6936]43   
[6912]44{/html_head}
45
46{* $Id: autosize admin.tpl  *}
47 <!--- HEAD autosize TPL --->
[8912]48
[7353]49{literal}
50<script type="text/javascript">
[6912]51
[7353]52jQuery().ready(function(){
53  jQuery('.cluetip').cluetip({
[6912]54    width: 300,
55    splitTitle: '|'
56  });
57});
[7353]58
[6912]59</script>
[7353]60{/literal}
[6912]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}
[6978]68{if $check_auto_w == true}
69     {assign var="visible_w" value="visible"}
70  {else}
71     {assign var="visible_w" value="hidden"}
72{/if}
[6912]73<div class="titrePage">
[9283]74                <h2>{'Autosize'|translate} {'version'|translate} {$cl_version}</h2>
[6912]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>
[6913]86        <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend>
[7931]87        <td>{'User status'|@translate}</td>
88
[6978]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>
[7394]92         <td style="visibility:visible">{'cl_autosize_enabled'|@translate}
93        </td>
94
[6912]95        <tr>
96        <td>{'user_status_webmaster'|@translate}</td>
97        <td><input name="webmaster_height" id="Text7" type="text"  value ="{$webmaster_height}" /></td>
[7394]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>
[6912]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>
[6978]104        <td style="visibility:{$visible_w}"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
[7394]105          <td ><input name="admin_enabled" id="admin_enabled" type="checkbox"  value ="on" {$admin_enabled} /></td>
[6912]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>
[7394]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>
[6912]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>
[7394]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>
[6912]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>
[7394]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>
[6912]124        </tr>
125
126  </fieldset>
[7229]127
[6912]128  </table>
[6978]129
[6913]130<br />
[6912]131 <table id="table_d" style=" background:none;border:outset;width:90%; z-index:-500 " >
132   <fieldset>
[6913]133        <legend class="cluetip" title="{'cl_autosize_config_title_2'|@translate}|{'cl_autosize_hlp_line2'|@translate}">{'cl_autosize_config_title_2'|@translate}</legend>
[7962]134
[6912]135    <!--======== Dimensions HL ===================-->   
136    <tr>
[6913]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>
[6912]140         
[6913]141     <td class="cluetip" title="{'cl_autosize_miniwidth'|translate}|{'cl_autosize_hlp_line3'|@translate}"  > {'cl_autosize_miniwidth'|translate}</td>
[6912]142   <td  >
[6913]143    <input name="mini_width"  id="mini_width" type="text" value =  "{$MINI_WIDTH}" /> px
144       </tr>
[7962]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>
[6912]155   <!--======== Positions  ===================-->       
156<tr >
[6913]157 <td class="cluetip" title="{'cl_autosize_echelle_max'|translate}|{'cl_autosize_hlp_line4'|@translate}" > {'cl_autosize_echelle_max'|translate}</td>
[6912]158 <td  >
[6913]159 <input name="echelle_max" id="echelle_max"  type="text" value ="{$ECHELLE_MAX}" />
160 </td>
[6912]161 
162</tr>
[7316]163
[6912]164<tr > 
[6913]165<td class="cluetip" title="{'cl_autosize_marge_basse'|translate}|{'cl_autosize_hlp_line5'|@translate}" > {'cl_autosize_marge_basse'|translate}</td>
[7725]166<td><input name="marge_basse" id="marge_basse" type="text" value ="{$MARGE_BASSE}" /> px</td>
[6912]167
168</tr>             
[7725]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>
[6912]172
[7725]173</tr>   
[6912]174  <!--======================================================================================-->
175     <tr >
176         
177         </tr>
178
179
180  </fieldset>
[7229]181 </table>
[7316]182 <!--=================== Bloc choix =============================-->     
[7229]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}  />
[7316]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>
[7229]194</table>
195 
[6912]196  <table>
[6913]197  <td><input name="submit" type="submit" value="{'cl_autosize_save'|@translate}" /></td>
[6912]198</table>
199</form>
200 
[8864]201 </table >               
[6912]202 
[8864]203 
Note: See TracBrowser for help on using the repository browser.