示例#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