Line | |
---|
1 | {* template for config variables assignation *} |
---|
2 | {literal} |
---|
3 | <script type="text/javascript"> |
---|
4 | // configuration options |
---|
5 | var options = { {/literal} |
---|
6 | imageAutosize:{if $stripped.imageAutosize}true{else}false{/if}, |
---|
7 | imageAutosizeMargin:{$stripped.imageAutosizeMargin}, |
---|
8 | imageAutosizeMinHeight:{$stripped.imageAutosizeMinHeight}, |
---|
9 | {if $BODY_ID=='thePicturePage'} |
---|
10 | themeStyle:"{$stripped.themeStyle}", |
---|
11 | animatedTabs:{if $stripped.animatedTabs}true{else}false{/if}, |
---|
12 | defaultTab:"{$stripped.defaultTab}", |
---|
13 | marginContainer:{$stripped.marginContainer}, |
---|
14 | paddingContainer:{$stripped.paddingContainer}, |
---|
15 | defaultZoomSize:"{$stripped.defaultZoomSize}", |
---|
16 | highResClickMode:"{$stripped.highResClickMode}", |
---|
17 | navArrows:{if $stripped.navArrows}true{else}false{/if} |
---|
18 | {else} |
---|
19 | animatedMenu:{if $stripped.animatedMenu}true{else}false{/if} |
---|
20 | {/if} |
---|
21 | {literal} |
---|
22 | } |
---|
23 | </script> |
---|
24 | {/literal} |
---|
Note: See
TracBrowser
for help on using the repository browser.