source: extensions/cl_conflit/template/conflit.tpl @ 8629

Revision 8629, 833 bytes checked in by cljosse, 9 years ago (diff)

[cl_conflit] compatibility whith piwishack


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