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
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,
[10202]55    splitTitle: '|'    ,
56    clickThrough: true
[6912]57  });
58});
[7353]59
[6912]60</script>
[7353]61{/literal}
[6912]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}
[6978]69{if $check_auto_w == true}
70     {assign var="visible_w" value="visible"}
71  {else}
72     {assign var="visible_w" value="hidden"}
73{/if}
[6912]74<div class="titrePage">
[9283]75                <h2>{'Autosize'|translate} {'version'|translate} {$cl_version}</h2>
[6912]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>
[6913]87        <legend class="cluetip" title="{'cl_autosize_config_title_1'|@translate}|{'cl_autosize_hlp_line1'|@translate}">{'cl_autosize_config_title_1'|@translate}</legend>
[10202]88        <td>{'User status'|@translate}</td>
[7931]89
[6978]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>
[7394]93         <td style="visibility:visible">{'cl_autosize_enabled'|@translate}
94        </td>
95
[6912]96        <tr>
97        <td>{'user_status_webmaster'|@translate}</td>
98        <td><input name="webmaster_height" id="Text7" type="text"  value ="{$webmaster_height}" /></td>
[7394]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>
[6912]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>
[6978]105        <td style="visibility:{$visible_w}"><input name="admin_width" id="admin_width" type="text"  value ="{$admin_width}" /></td>
[7394]106          <td ><input name="admin_enabled" id="admin_enabled" type="checkbox"  value ="on" {$admin_enabled} /></td>
[6912]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>
[7394]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>
[6912]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>
[7394]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>
[6912]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>
[7394]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>
[6912]125        </tr>
126
127  </fieldset>
[7229]128
[6912]129  </table>
[6978]130
[6913]131<br />
[6912]132 <table id="table_d" style=" background:none;border:outset;width:90%; z-index:-500 " >
133   <fieldset>
[6913]134        <legend class="cluetip" title="{'cl_autosize_config_title_2'|@translate}|{'cl_autosize_hlp_line2'|@translate}">{'cl_autosize_config_title_2'|@translate}</legend>
[7962]135
[6912]136    <!--======== Dimensions HL ===================-->   
137    <tr>
[6913]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>
[6912]141         
[6913]142     <td class="cluetip" title="{'cl_autosize_miniwidth'|translate}|{'cl_autosize_hlp_line3'|@translate}"  > {'cl_autosize_miniwidth'|translate}</td>
[6912]143   <td  >
[6913]144    <input name="mini_width"  id="mini_width" type="text" value =  "{$MINI_WIDTH}" /> px
145       </tr>
[7962]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>
[6912]156   <!--======== Positions  ===================-->       
157<tr >
[6913]158 <td class="cluetip" title="{'cl_autosize_echelle_max'|translate}|{'cl_autosize_hlp_line4'|@translate}" > {'cl_autosize_echelle_max'|translate}</td>
[6912]159 <td  >
[6913]160 <input name="echelle_max" id="echelle_max"  type="text" value ="{$ECHELLE_MAX}" />
161 </td>
[6912]162 
163</tr>
[7316]164
[6912]165<tr > 
[6913]166<td class="cluetip" title="{'cl_autosize_marge_basse'|translate}|{'cl_autosize_hlp_line5'|@translate}" > {'cl_autosize_marge_basse'|translate}</td>
[7725]167<td><input name="marge_basse" id="marge_basse" type="text" value ="{$MARGE_BASSE}" /> px</td>
[6912]168
169</tr>             
[7725]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>
[6912]173
[7725]174</tr>   
[6912]175  <!--======================================================================================-->
176     <tr >
177         
178         </tr>
179
180
181  </fieldset>
[7229]182 </table>
[7316]183 <!--=================== Bloc choix =============================-->     
[7229]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}  />
[7316]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>
[7229]195</table>
196 
[6912]197  <table>
[6913]198  <td><input name="submit" type="submit" value="{'cl_autosize_save'|@translate}" /></td>
[6912]199</table>
200</form>
201 
[8864]202 </table >               
[6912]203 
[8864]204 
Note: See TracBrowser for help on using the repository browser.