Пример #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))
Пример #2
0
 def login_dialog_bottom_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.login_dialog_bottom_text))
Пример #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
Пример #4
0
 def top_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.top))
Пример #5
0
 def login_dialog_bottom_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.login_dialog_bottom_text))
Пример #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))
Пример #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