def standardlink(self, href, text, **kw): # called fm dtml kw['href'] = sesurl(self.session, self.REQUEST, href, 1) return tagimp('a', text, kw)
def rootlink(self, href, text, **kw): # called fm dtml rootpath = self.REQUEST.SERVER_URL # formerly mymodules.rootpath href = '%s/%s' % (rootpath, href) kw['href'] = sesurl(self.session, self.REQUEST, href) return tagimp('a', text, kw)
def seslink( self, href, text, **kw): # called fm dtml as 'sesurl' (should be changed to seslink!) #kw ['href'] = self.session.url (href) kw['href'] = sesurl(self.session, self.REQUEST, href) return tagimp('a', text, kw)
def standardlink (self, href, text, **kw): # called fm dtml kw ['href'] = sesurl (self.session, self.REQUEST, href, 1) return tagimp ('a', text, kw)
def rootlink (self, href, text, **kw): # called fm dtml rootpath = self.REQUEST.SERVER_URL # formerly mymodules.rootpath href = '%s/%s' % (rootpath, href) kw ['href'] = sesurl (self.session, self.REQUEST, href) return tagimp ('a', text, kw)
def seslink (self, href, text, **kw): # called fm dtml as 'sesurl' (should be changed to seslink!) #kw ['href'] = self.session.url (href) kw ['href'] = sesurl (self.session, self.REQUEST, href) return tagimp ('a', text, kw)