mς γΈEc@s‹dZdkZdkZdklZdklZdklZdkl Z dk l Z e ƒZ d„Z defd „ƒYZeZdS( stA 'PageTemplateFile' without security restrictions. $Id: pagetemplatefile.py 68579 2006-06-10 23:13:52Z philikon $ N(s package_home(sPageTemplateFile(sSecureModuleImporter(screateTrustedZopeEngine(s ViewMappercCstS(N(t_engine(((tE/data/zmath/zope/lib/python/Products/Five/browser/pagetemplatefile.pyt getEnginestZopeTwoPageTemplateFilecBs8tZdZeed„Zd„Zd„Zd„ZRS(sͺA strange hybrid between Zope 2 and Zope 3 page template. Uses Zope 2's engine, but with security disabled and with some initialization and API from Zope 3. cCs³|i|iƒ|i|ƒ}tii||ƒ|_tii |iƒpt d|iƒ‚ntii |iƒ\}}tii|ƒ|_tt|ƒi|i|ƒdS(Ns No such file(tselftZBindings_editt_default_bindingstget_path_from_prefixt_prefixtpathtostjointfilenametisfilet ValueErrortsplitexttbasepathtexttbasenamet__name__tsupertPageTemplateFilet__init__(RR Rt content_typeRRR ((RR%scCsMt|tƒo |}n0|djotidƒi}nt|ƒ}|S(Ni( t isinstanceRtstrR tNonetsyst _getframet f_globalst package_home(RRR ((RR4s    cCstƒS(N(R(R((Rt pt_getEngine=scCsθy|iƒ}Wn"tj o|iiƒ}nX|iƒ}|ii}t |ddƒ}hd|<d|<d|<d|<dd<dh<d|<d |<d t <}|dj o!||d