X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/867613f209f2f414afd261258c73b6adf4bdd905..19c3385da7c17892b9a9389c88028897ff5ca8ad:/templates/skeleton.py?ds=inline diff --git a/templates/skeleton.py b/templates/skeleton.py index 01debf9..fd30729 100644 --- a/templates/skeleton.py +++ b/templates/skeleton.py @@ -33,10 +33,10 @@ VFN=valueForName currentTime=time.time __CHEETAH_version__ = '2.0rc8' __CHEETAH_versionTuple__ = (2, 0, 0, 'candidate', 8) -__CHEETAH_genTime__ = 1191718104.9039481 -__CHEETAH_genTimestamp__ = 'Sat Oct 6 20:48:24 2007' +__CHEETAH_genTime__ = 1192025116.0694621 +__CHEETAH_genTimestamp__ = 'Wed Oct 10 10:05:16 2007' __CHEETAH_src__ = 'skeleton.tmpl' -__CHEETAH_srcLastModified__ = 'Sat Oct 6 20:18:06 2007' +__CHEETAH_srcLastModified__ = 'Wed Oct 10 10:04:55 2007' __CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine' if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple: @@ -87,19 +87,45 @@ class skeleton(Template):
[You are logged in as ''') - _v = VFFSL(SL,"user.username",True) # '$user.username' on line 4, col 26 - if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 4, col 26. - write('''.]
''') - _v = VFFSL(SL,"body",True) # '$body' on line 5, col 1 - if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 5, col 1. + if not VFFSL(SL,"varExists",False)('simple') or not VFFSL(SL,"simple",True): # generated from line 25, col 1 + write('''[You are logged in as ''') + _v = VFFSL(SL,"user.username",True) # '$user.username' on line 26, col 26 + if _v is not None: write(_filter(_v, rawExpr='$user.username')) # from line 26, col 26. + write('''.]
+''') + _v = VFFSL(SL,"body",True) # '$body' on line 28, col 1 + if _v is not None: write(_filter(_v, rawExpr='$body')) # from line 28, col 1. write(''' -