Changeset 16931 for extensions/Autosize/template/autosize.tpl
- Timestamp:
- Jul 23, 2012, 3:01:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/template/autosize.tpl
r12527 r16931 2 2 {html_head} <!-- autosize/template/autosize.tpl --> 3 3 <script type="text/javascript"> 4 var src_img = '{$SRC_IMG}'; 5 var fade_in = '{$fade_in}'; 6 var cl_visible = "{$cl_visible}" =="true"; 7 var thumbnail = '{$thumbnail}'; 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 }'; 4 5 var Autosize_options={ldelim} 6 7 cookies :{$cookies} , 8 deriv_type :'{$deriv_type}' , 9 type_size:'{$deriv_type}' , 10 DEBUG_autosize:'{$DEBUG_autosize}', 11 theme:'{$theme}', 12 src_img : '{$SRC_IMG}', 13 fade_in : '{$fade_in}', 14 cl_visible : "{$cl_visible}" =="true", 15 thumbnail : '{$thumbnail}', 12 16 13 var cookie_width='{$COOKIE_WIDTH }'; 14 var cookie_height = '{ $COOKIE_HEIGHT }'; 17 scaled_width : '{$SCALED_WIDTH}', // valeur par defaut 18 scaled_height : '{$SCALED_HEIGHT}', // valeur par defaut 19 ratio:'{$IMG_WIDTH/$IMG_HEIGHT }' , 20 img_width:'{$IMG_WIDTH }', 21 img_height : '{ $IMG_HEIGHT }', 15 22 23 cookie_width:'{$COOKIE_WIDTH }', 24 cookie_height : '{ $COOKIE_HEIGHT }', 16 25 17 var marge_basse='{ $MARGE_BASSE }';18 var echelle_max='{ $ECHELLE_MAX }';19 var mini_width='{ $MINI_WIDTH }';20 var mini_height = '{ $MINI_HEIGHT }';21 var mini_width2 = '{ $MINI_WIDTH2 }';22 var mini_height2 = '{ $MINI_HEIGHT2 }';26 marge_basse:'{ $MARGE_BASSE }', 27 echelle_max:'{ $ECHELLE_MAX }', 28 mini_width:'{ $MINI_WIDTH }', 29 mini_height : '{ $MINI_HEIGHT }', 30 mini_width2 : '{ $MINI_WIDTH2 }', 31 mini_height2 : '{ $MINI_HEIGHT2 }', 23 32 24 var webmaster_width='{$webmaster_width }'; 25 var webmaster_height = '{ $webmaster_height }'; 26 var webmaster_enabled = '{ $webmaster_enabled }'; 33 webmaster_type:'{$webmaster_type.SELECTED }', 34 webmaster_enabled : '{ $webmaster_enabled }', 27 35 28 var admin_width='{ $admin_width }'; 29 var admin_height = '{ $admin_height }'; 30 var admin_enabled = '{ $admin_enabled }'; 36 admin_type : '{ $admin_type.SELECTED }', 37 admin_enabled : '{ $admin_enabled }', 31 38 32 var generic_width='{ $generic_width }'; 33 var generic_height = '{ $generic_height }'; 34 var generic_enabled = '{ $generic_enabled }'; 39 generic_type:'{ $generic_type.SELECTED }', 40 generic_enabled : '{ $generic_enabled }', 35 41 36 var guest_width='{ $guest_width }'; 37 var guest_height = '{$guest_height}'; 38 var guest_enabled = '{ $guest_enabled }'; 42 guest_type:'{ $guest_type.SELECTED }', 43 guest_enabled : '{ $guest_enabled }', 39 44 40 var normal_width='{$normal_width}'; 41 var normal_height = '{$normal_height}'; 42 var normal_enabled = '{ $normal_enabled }'; 45 normal_type:'{$normal_type.SELECTED }', 46 normal_enabled : '{ $normal_enabled }', 43 47 44 var user_status='{$user_status}';45 46 var check_auto_w = '{$check_auto_w}';47 48 var check_desc_v = ('{$check_desc_v}' == 'checked="checked"') ? true : false; 48 user_status:'{$user_status}', 49 check_auto_w : '{$check_auto_w}', 50 check_desc_v : '{$check_desc_v}' 51 } ; 52 49 53 </script> 50 54 … … 54 58 <script type="text/javascript"> 55 59 var visible = '{$visible}'; 56 </script> 60 </script> 61 62 {/html_head} 57 63 {if $DEBUG_autosize == "true"} 58 64 {assign var="visible" value="block"} … … 101 107 {/if} 102 108 103 {/html_head} 109 104 110 <!-- << autosize/template/autosize.tpl body --> 105 111
Note: See TracChangeset
for help on using the changeset viewer.