Ejemplo n.º 1
0
 def footer_content(self, req):
     text = self._text_content(req, wiking.cms.texts.footer)
     return text2content(req, text.replace('$webmaster_address', wiking.cfg.webmaster_address))
Ejemplo n.º 2
0
 def login_dialog_bottom_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.login_dialog_bottom_text))
Ejemplo n.º 3
0
 def top_content(self, req):
     content = super(Application, self).top_content(req)
     top_text = self._text_content(req, wiking.cms.texts.top)
     if top_text:
         content.append(lcg.Container(text2content(req, top_text), name='top-text'))
     return content
Ejemplo n.º 4
0
Archivo: appl.py Proyecto: dusek/wiking
 def top_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.top))
Ejemplo n.º 5
0
 def login_dialog_bottom_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.login_dialog_bottom_text))
Ejemplo n.º 6
0
 def footer_content(self, req):
     text = self._text_content(req, wiking.cms.texts.footer)
     return text2content(req, text.replace('$webmaster_address', wiking.cfg.webmaster_address))
Ejemplo n.º 7
0
 def top_content(self, req):
     content = super(Application, self).top_content(req)
     top_text = self._text_content(req, wiking.cms.texts.top)
     if top_text:
         content.append(lcg.Container(text2content(req, top_text), name='top-text'))
     return content