1 | {* template for the js config *} |
---|
2 | {literal} |
---|
3 | <script type="text/javascript"> |
---|
4 | // configuration options for interfaces |
---|
5 | var options = { {/literal} |
---|
6 | imageHaveHighRes:{if isset($high)}true{else}false{/if}, |
---|
7 | {if $BODY_ID=='thePicturePage'} |
---|
8 | imageAutoScroll:{if #imageAutoScroll#=='yes'}true{else}false{/if}, |
---|
9 | imageSimulateHighRes:{if #imageSimulateHighRes#=='yes'}true{else}false{/if}, |
---|
10 | imageCenterMode:"{#imageCenterMode#}", |
---|
11 | imageCenterOffset:{#imageCenterOffset#}, |
---|
12 | imageCenterTopMin:{#imageCenterTopMin#}, |
---|
13 | imageCenterTopBorder:"{#imageCenterTopBorder#}", |
---|
14 | imageScrollMinDeadArea:{#imageScrollMinDeadArea#}, |
---|
15 | interfaceAnimated:"{#interfaceAnimated#}", |
---|
16 | interfaceCanSwitch:{if #interfaceCanSwitch#=='yes'}true{else}false{/if}, |
---|
17 | interfaceHidden:{if #interfaceHidden#=='yes'}true{else}false{/if}, |
---|
18 | interfaceOnImage:"{#interfaceOnImage#}", |
---|
19 | marginContainer:{#marginContainer#}, |
---|
20 | paddingContainer:{#paddingContainer#}, |
---|
21 | tabsAnimated:{if #tabsAnimated#=='yes'}true{else}false{/if}, |
---|
22 | tabsHidden:{#tabsHidden#}, |
---|
23 | tabsVisible:{#tabsVisible#}, |
---|
24 | tabsPosition:"{#tabsPosition#}", |
---|
25 | metaNumCols:{#metaNumCols#}, |
---|
26 | commentRows:{#commentRows#}, |
---|
27 | interfaceTimerDelay:{#interfaceTimerDelay#}, |
---|
28 | defaultZoomSize:"{#defaultZoomSize#}", |
---|
29 | highResClickMode:"{#highResClickMode#}", |
---|
30 | {/if} {if $BODY_ID=='theCategoryPage' or isset($MENUBAR)} |
---|
31 | menuAnimated:"{#menuAnimated#}", |
---|
32 | menuWidth:"{#menuWidth#}", |
---|
33 | menuMaxWidth:"{#menuMaxWidth#}", |
---|
34 | menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}", |
---|
35 | {/if} |
---|
36 | manageTips:{if #manageTips#=='yes'}true{else}false{/if}, |
---|
37 | manageTipsPos:"{#manageTipsPos#}", |
---|
38 | tipsSize:{#tipsSize#}, |
---|
39 | animateDelay:{#animateDelay#}, |
---|
40 | themePath:"{$themeconf.icon_dir}" |
---|
41 | {literal} |
---|
42 | }; |
---|
43 | </script> |
---|
44 | {/literal} |
---|