This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cities = { | |
| 'KeelungCity': '基隆市', | |
| 'TaipeiCity': '臺北市', | |
| 'NewTaipeiCity': '新北市', | |
| 'TaoyuanCity': '桃園市', | |
| 'HsinchuCounty': '新竹縣', | |
| 'HsinchuCity': '新竹市', | |
| 'MiaoliCounty': '苗栗縣', | |
| 'TaichungCity': '臺中市', | |
| 'NantouCounty': '南投縣', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Title: Helper method for temple folder view | |
| # Parameter List: temples=0, subtemples=0, folders=0, images=0, subimages=0, others=0 | |
| # Bound Names: context, container, script, traverse_subpath | |
| result = {} | |
| is_topic = context.portal_type == 'Topic' | |
| if temples: | |
| if is_topic: | |
| result['temples'] = context.queryCatalog(portal_type=('Temple',), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * slidingPanels is similar to a horizontal accordion navigation, or holding | |
| * some playing cards in your hand... sliding panels around to reveal one of | |
| * interest. | |
| * | |
| * slidingPanels r1 // 2008.02.18 // jQuery 1.2.3+ | |
| * <http://cherne.net/brian/resources/jquery.slidingPanels.html> | |
| * | |
| * REQUIRES jQuery hoverIntent plug-in | |
| * <http://cherne.net/brian/resources/jquery.hoverIntent.html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .carousel { | |
| position: relative; | |
| margin-bottom: 0em; | |
| } | |
| .carousel-banner { | |
| display: none; | |
| overflow: hidden; | |
| } | |
| .carousel-text { | |
| background-color: Black; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###################################################### | |
| # Base Configuration; this provides sane defaults | |
| # for commonly used parts. | |
| # --------------------------------------------------- | |
| # | |
| # Buildout instructions in this file are | |
| # usually only changed by experienced developers. | |
| # | |
| # Beyond here there be dragons! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <metal:page define-macro="master"> | |
| <tal:doctype tal:replace="structure string:<!DOCTYPE html>" /> | |
| <html xmlns="http://www.w3.org/1999/xhtml" | |
| tal:define="portal_state context/@@plone_portal_state; | |
| context_state context/@@plone_context_state; | |
| plone_view context/@@plone; | |
| lang portal_state/language; | |
| view nocall:view | nocall: plone_view; | |
| dummy python: plone_view.mark_view(view); |
NewerOlder