11
12
from os.path import getmtime, exists
15
15
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
16
16
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
17
17
from Cheetah.Template import Template
18
from Cheetah.DummyTransaction import DummyTransaction
18
from Cheetah.DummyTransaction import *
19
19
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
20
20
from Cheetah.CacheRegion import CacheRegion
21
21
import Cheetah.Filters as Filters
25
25
##################################################
26
26
## MODULE CONSTANTS
30
True, False = (1==1), (1==0)
31
27
VFFSL=valueFromFrameOrSearchList
32
28
VFSL=valueFromSearchList
34
30
currentTime=time.time
35
__CHEETAH_version__ = '2.0.1'
36
__CHEETAH_versionTuple__ = (2, 0, 1, 'final', 0)
37
__CHEETAH_genTime__ = 1244966471.4076991
38
__CHEETAH_genTimestamp__ = 'Sun Jun 14 10:01:11 2009'
31
__CHEETAH_version__ = '2.2.1'
32
__CHEETAH_versionTuple__ = (2, 2, 1, 'final', 0)
33
__CHEETAH_genTime__ = 1244715456.8824029
34
__CHEETAH_genTimestamp__ = 'Thu Jun 11 12:17:36 2009'
39
35
__CHEETAH_src__ = 'prewikka/templates/TopLayout.tmpl'
40
36
__CHEETAH_srcLastModified__ = 'Tue May 5 16:55:59 2009'
41
__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
37
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
43
39
if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
44
40
raise AssertionError(
58
54
def __init__(self, *args, **KWs):
60
HTMLDocument.__init__(self, *args, **KWs)
56
super(TopLayout, self).__init__(*args, **KWs)
61
57
if not self._CHEETAH__instanceInitialized:
63
59
allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
111
107
########################################
112
108
## START - generated method body
114
write('''<body class="''')
115
_v = VFFSL(SL,"body_class",True) # '$body_class' on line 7, col 14
116
if _v is not None: write(_filter(_v, rawExpr='$body_class')) # from line 7, col 14.
110
write(u'''<body class="''')
111
_v = VFFSL(SL,"body_class",True) # u'$body_class' on line 7, col 14
112
if _v is not None: write(_filter(_v, rawExpr=u'$body_class')) # from line 7, col 14.
118
114
\t<div id="top_view">
119
115
\t\t<div id="top_view_header">
120
116
\t\t\t<div id="top_view_header_software">''')
121
_v = VFFSL(SL,"prewikka.software",True) # '$prewikka.software' on line 10, col 39
122
if _v is not None: write(_filter(_v, rawExpr='$prewikka.software')) # from line 10, col 39.
117
_v = VFFSL(SL,"prewikka.software",True) # u'$prewikka.software' on line 10, col 39
118
if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.software')) # from line 10, col 39.
124
120
\t\t\t<div id="top_view_header_place">''')
125
_v = VFFSL(SL,"prewikka.place",True) # '$prewikka.place' on line 11, col 36
126
if _v is not None: write(_filter(_v, rawExpr='$prewikka.place')) # from line 11, col 36.
121
_v = VFFSL(SL,"prewikka.place",True) # u'$prewikka.place' on line 11, col 36
122
if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.place')) # from line 11, col 36.
128
124
\t\t\t<div id="top_view_header_title">''')
129
_v = VFFSL(SL,"prewikka.title",True) # '$prewikka.title' on line 12, col 36
130
if _v is not None: write(_filter(_v, rawExpr='$prewikka.title')) # from line 12, col 36.
125
_v = VFFSL(SL,"prewikka.title",True) # u'$prewikka.title' on line 12, col 36
126
if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.title')) # from line 12, col 36.
134
_v = VFFSL(SL,"toplayout_content",True) # '$toplayout_content' on line 14, col 3
135
if _v is not None: write(_filter(_v, rawExpr='$toplayout_content')) # from line 14, col 3.
130
_v = VFFSL(SL,"toplayout_content",True) # u'$toplayout_content' on line 14, col 3
131
if _v is not None: write(_filter(_v, rawExpr=u'$toplayout_content')) # from line 14, col 3.