Ñò
ˆ_‚Jc @ sì d d k l Z d d k l Z d d k l Z l Z l Z l Z l Z l
Z
l Z d d k l
Z
d d k Z d d k l Z d e f d „ ƒ YZ d e f d
„ ƒ YZ d „ Z d d d „ Z d
„ Z d „ Z d „ Z d „ Z d S( iÿÿÿÿ( t
quote_plus( t XML( t app_globalst configt sessiont tmpl_contextt requestt responset
templating( t
predicatesN( t Buncht MissingRendererErrorc B s e Z d „ Z RS( c C s0 t t | ƒ i d t d | ƒ ƒ | | _ d S( Ns£ The renderer for '%(template_engine)s' templates is missing. Try adding the following line in you app_cfg.py:
"base_config.renderers.append('%(template_engine)s')"t template_engine( t superR t __init__t dictR ( t selfR ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyR
s
( t __name__t
__module__R ( ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyR s t DeprecatedFlashVariablec B s# e Z d „ Z d „ Z d „ Z RS( c C s | | _ | | _ d S( N( t callablet msg( R R R ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyR s c C s2 d d k } | i | i t d ƒ t | i ƒ ƒ S( Niÿÿÿÿi ( t warningst warnR t DeprecationWarningt unicodeR ( R R ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyt __unicode__ s c C s2 d d k } | i | i t d ƒ t | i ƒ ƒ S( Niÿÿÿÿi ( R R R R t boolR ( R R ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyt __nonzero__ s ( R R R R R ( ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyR s c C sC t d t i d t i d t d „ d ƒ d t d „ d ƒ d t d
t i d t i i d ƒ d
t
d t i i i ƒ d t
t d h ƒ d t
t d h ƒ d t i d d t i i j d t ƒ } t i d ƒ p
t i d ƒ } t d t d t d t d t d
t i d | d | ƒ } t i d d ƒ } | o | i | ƒ ƒ n | S( sÎ Create a Bunch of variables that should be available in all templates.
These variables are:
WARNING: This function should not be called from outside of the render()
code. Please consider this function as private.
quote_plus
the urllib quote_plus function
url
the turbogears.url function for creating flexible URLs
identity
the current visitor's identity information
session
the current beaker.session if the session_filter.on it set
in the app.cfg configuration file. If it is not set then session
will be None.
locale
the default locale
inputs
input values from a form
errors
validation errors
request
the WebOb Request Object
config
the app's config object
auth_stack_enabled
A boolean that determines if the auth stack is present in the environment
predicates
The :mod:`repoze.what.predicates` module.
R t flash_objt flashc S s
t i i S( ( t tgR t message( ( ( s- /usr/lib/python2.6/site-packages/tg/render.pyt