예제 #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