source: extensions/Autosize/template/conflit.tpl @ 8093

Revision 8093, 1.3 KB checked in by cljosse, 9 years ago (diff)

[Autosize][beta] compatibility with theme simple


Line 
1{html_head}
2  <!--- {$AUTOSIZE_PATH}template/confilt.tpl (head) ---> 
3  <!--- Ajout scripts {$AUTOSIZE_PATH}--->   
4{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"  now=1}<!--- RECHARGE DE {$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} --->
5{known_script id="dimensions" src=$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"}<!---{$AUTOSIZE_PATH|@cat:"js/jquery.dimensions.js"} --->
6 {known_script id="conflit_script" src=$AUTOSIZE_PATH|@cat:"js/conflit.js"}<!--- {$AUTOSIZE_PATH|@cat:"js/conflit.js"} --->
7
8<script type="text/javascript">
9    var DEBUG = '{$DEBUG}';
10</script>
11
12<!--- fin Ajout scripts  --->
13<script type="text/javascript">
14    var theme = '{$theme}';
15    var cl_version = '{$cl_version}';
16    var cl_plugin = '{$name}';
17    var cl_query = '{$autosize_parametres->query}';
18    var cl_type = '{$autosize_parametres->type}';
19    var cl_plugins=new Array();
20{if $DEBUG}
21 {if not empty($cl_plugins )}
22   {foreach from=$cl_plugins item=cl_plug }
23        value="{$cl_plug}";cl_plugins.push(value);           
24    {/foreach}
25 {/if}
26{/if}
27</script>
28<!---FIN Autosize/template/confilt.tpl (/head) --->     
29{/html_head}
30<!---{$ROOT_URL} --- {$AUTOSIZE_PATH}template/confilt.tpl (body) ---> 
31<!---FIN {$ROOT_URL} --- {$AUTOSIZE_PATH}template/confilt.tpl (body) --->       
Note: See TracBrowser for help on using the repository browser.