コード例 #1
0
ファイル: appl.py プロジェクト: brailcom/wiking
 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
ファイル: appl.py プロジェクト: brailcom/wiking
 def login_dialog_bottom_content(self, req):
     return text2content(req, self._text_content(req, wiking.cms.texts.login_dialog_bottom_text))
コード例 #3
0
ファイル: appl.py プロジェクト: brailcom/wiking
 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
ファイル: appl.py プロジェクト: dusek/wiking
 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