Last change
on this file since 8940 was
8940,
checked in by cljosse, 13 years ago
|
[Autosize][beta] bug on template
|
File size:
761 bytes
|
Line | |
---|
1 | {if PHPWG_VERSION < 2.2 } |
---|
2 | {assign var= file value=$AUTOSIZE_PATH_ABS|@cat:'template/header_2_1.tpl' } |
---|
3 | {else} |
---|
4 | {assign var= file value=$AUTOSIZE_PATH_ABS|@cat:'template/header_2_2.tpl' |
---|
5 | } |
---|
6 | {/if} { include file= $file } |
---|
7 | <script type="text/javascript"> |
---|
8 | |
---|
9 | var DEBUG = '{$DEBUG}'; |
---|
10 | var theme = '{$theme}'; |
---|
11 | var cl_version = '{$cl_version}'; |
---|
12 | var cl_plugin = '{$name}'; |
---|
13 | {if $DEBUG == "true"} |
---|
14 | var cl_query = '{$autosize_parametres->query}'; |
---|
15 | var cl_type = '{$autosize_parametres->type}'; |
---|
16 | var cl_plugins=new Array(); |
---|
17 | {if not empty($cl_plugins )} |
---|
18 | {foreach from=$cl_plugins item=cl_plug } |
---|
19 | value="{$cl_plug}";cl_plugins.push(value); |
---|
20 | {/foreach} |
---|
21 | {/if} |
---|
22 | {/if} |
---|
23 | </script> |
---|
24 | |
---|
25 | |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.