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
|
Rev | Line | |
---|
[8911] | 1 | {if PHPWG_VERSION < 2.2 } |
---|
[8940] | 2 | {assign var= file value=$AUTOSIZE_PATH_ABS|@cat:'template/header_2_1.tpl' } |
---|
[8911] | 3 | {else} |
---|
[8940] | 4 | {assign var= file value=$AUTOSIZE_PATH_ABS|@cat:'template/header_2_2.tpl' |
---|
| 5 | } |
---|
| 6 | {/if} { include file= $file } |
---|
[8057] | 7 | <script type="text/javascript"> |
---|
[8911] | 8 | |
---|
[8627] | 9 | var DEBUG = '{$DEBUG}'; |
---|
[7740] | 10 | var theme = '{$theme}'; |
---|
[7962] | 11 | var cl_version = '{$cl_version}'; |
---|
[7912] | 12 | var cl_plugin = '{$name}'; |
---|
[8627] | 13 | {if $DEBUG == "true"} |
---|
[7962] | 14 | var cl_query = '{$autosize_parametres->query}'; |
---|
| 15 | var cl_type = '{$autosize_parametres->type}'; |
---|
| 16 | var cl_plugins=new Array(); |
---|
[8627] | 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} |
---|
[7962] | 22 | {/if} |
---|
[7805] | 23 | </script> |
---|
[8185] | 24 | |
---|
[8627] | 25 | |
---|
[8729] | 26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.