Exemplo n.º 1
0
 def index(self, page=1):
     c.contents = h.readContents(session[_("pages.dat")][_("Customers")])[0]
     return render(path.join(get_lang()[0], "derived/user/index.mako"))
Exemplo n.º 2
0
 def index(self):      
     c.contents = h.readContents(session[_('pages.dat')][_('Contact us')],context=c,helper=h)[0]
     return render(path.join(get_lang()[0],"derived/contactus/index.mako"))
Exemplo n.º 3
0
 def edit(self,id):
      c.menu_items = h.top_menu(self.menu_items,_('Home'))          
      c.id = id
      c.contents = h.readContents([id],context=c,helper=h)[0]
      return render('/derived/page/edit.html')
Exemplo n.º 4
0
 def index(self):           
     c.contents = h.readContents(session[_('pages.dat')][_('About us')],context=c,helper=h)[0]    
     return render(path.join(get_lang()[0],'derived/about/index.mako'))