source: extensions/Autosize/template/autosize.tpl @ 7536

Revision 7536, 2.7 KB checked in by cljosse, 9 years ago (diff)

[Autosize][beta] save.

RevLine 
[6953]1 {* $Id: autosize/template/picture.tpl  *}
[7536]2   
3 {html_head}
4<!-- autosize/template/picture.tpl  -->
5    {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1}
6    {known_script id="conflit_script" src=$AUTOSIZE_PATH|@cat:"js/conflit.js"}
7    {known_script id="dimensions" src=$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"}
[7193]8
[6953]9{*jQuery is always available by default*}
[7536]10
11 <script type="text/javascript"> 
12    var cl_visible = "{$cl_visible}" =="true";
13    var DEBUG = '{$DEBUG}';
[7124]14    var thumbnail = '{$thumbnail}';
15    var theme = '{$theme}';
16    var visible = '{$visible}';
17    var version = '{$version}';
[7353]18
[7124]19    var scaled_width =  '{$SCALED_WIDTH}'; // valeur par defaut
20    var scaled_height = '{$SCALED_HEIGHT}'; // valeur par defaut
21    var img_width='{$IMG_WIDTH }';
22    var img_height = '{ $IMG_HEIGHT }';
[6953]23
[7124]24    var marge_basse='{ $MARGE_BASSE }';
25    var echelle_max='{ $ECHELLE_MAX }';
26    var mini_width='{ $MINI_WIDTH   }';
27    var mini_height = '{ $MINI_HEIGHT   }';
28
29    var webmaster_width='{$webmaster_width   }';
[7394]30    var webmaster_height = '{ $webmaster_height   }';
31    var webmaster_enabled = '{ $webmaster_enabled   }';
32
[7124]33    var admin_width='{ $admin_width   }';
[7394]34    var admin_height = '{ $admin_height   }';
35    var admin_enabled = '{ $admin_enabled   }';
36
[7124]37    var generic_width='{ $generic_width   }';
[7394]38    var generic_height = '{ $generic_height   }';
39    var generic_enabled = '{ $generic_enabled   }';
40
[7124]41    var guest_width='{ $guest_width   }';
[7394]42    var guest_height = '{$guest_height}';
43    var guest_enabled = '{ $guest_enabled   }';
44
[7124]45    var normal_width='{$normal_width}';
[7394]46    var normal_height = '{$normal_height}';
47    var normal_enabled = '{ $normal_enabled   }';
48
[7124]49    var user_status='{$user_status}';
[7353]50   
[7124]51    var check_auto_w = '{$check_auto_w}';
[7316]52    var check_desc_v = '{$check_desc_v}';
[6953]53     </script>
54
[7536]55{known_script id="Affiche_script" src=$AUTOSIZE_PATH|@cat:"js/Affiche_script.js"}
[7193]56
[6953]57 <!--  << autosize/template/picture.tpl   -->
[7536]58{/html_head} 
[7008]59
[7536]60
61{if $DEBUG == "true"}
62  {assign var="visible" value="block"}
63
64
65 
[6953]66<!---  autosize/template/picture.tpl  body --->
[7394]67  <div id="Debug"  align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div>
68   <div id="Debug1"  align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div>
69  <div id="Debug2"  align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div>
[7536]70 {else}
71  {assign var="visible" value="none"} {/if}<!--  << autosize/template/picture.tpl body  -->
Note: See TracBrowser for help on using the repository browser.