Last change
on this file since 18735 was
12404,
checked in by cljosse, 13 years ago
|
[extensions] set_plugins rcompatibility wirh 2.3 and Firefox
|
File size:
582 bytes
|
Rev | Line | |
---|
[11497] | 1 | {html_head} |
---|
| 2 | {known_script id="jquery" src = $ROOT_URL|@cat:"themes/default/js/jquery.packed.js" } |
---|
| 3 | {known_script id="field_set" src= $SET_PLUGINS_PATH|@cat:"js/field_set.js" } |
---|
| 4 | {/html_head} |
---|
| 5 | |
---|
| 6 | <script type="text/javascript"> |
---|
| 7 | |
---|
| 8 | var root = '{$SET_PLUGINS_PATH}'; |
---|
[12404] | 9 | |
---|
[11497] | 10 | var list_visible = '{$list_visible}'; |
---|
| 11 | var nb = '{$nb}'; |
---|
| 12 | {if $liste_plugins} |
---|
| 13 | liste_plugins=new Array(); |
---|
| 14 | {foreach from=$liste_plugins item=plugin name=plugins_name} |
---|
| 15 | |
---|
| 16 | liste_plugins.push('{$plugin.NAME}') ; |
---|
| 17 | {/foreach} |
---|
| 18 | {else} |
---|
| 19 | var liste_plugins = new Array(); |
---|
| 20 | {/if} |
---|
| 21 | </script> |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.