source: extensions/gally/gally-default/template/config.js.tpl @ 8528

Last change on this file since 8528 was 8528, checked in by grum, 10 years ago

Release 1.4.0
Rewrite some JS
fix bug bug:1983

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1{* template for the js config *}
2{literal}
3<script type="text/javascript">
4// configuration options for interfaces
5options = { {/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  displayHighResIcon:{if #displayHighResIcon#=='yes'}true{else}false{/if},
30  highResClickMode:"{#highResClickMode#}",
31{/if} {if $BODY_ID=='theCategoryPage'}
32  menuAnimated:"{#menuAnimated#}",
33  menuWidth:"{#menuWidth#}",
34  menuMaxWidth:"{#menuMaxWidth#}",
35  menuMSIEMaxWidth:"{#menuMSIEMaxWidth#}",
36{/if}
37  manageTips:{if #manageTips#=='yes'}true{else}false{/if},
38  manageTipsPos:"{#manageTipsPos#}",
39  animateDelay:{#animateDelay#},
40  themePath:"{$themeconf.icon_dir}"
41{literal}
42}
43</script>
44{/literal}
Note: See TracBrowser for help on using the repository browser.