def board(): auth = session.get("auth", {}) user = auth.get("user", None) if user: user_id = user.id else: user_id = None person = Person() person.board(request.args(0) or user_id or redirect(login_url)) return person.render('app/person/board')
def board(): auth = session.get("auth", {}) user = auth.get("user", None) if user: user_id = user.id else: user_id = None person = Person() person.context.leftlogo_enabled = True person.board(request.args(0) or user_id or redirect(login_url), request.vars.postid) return person.render()
def show(): auth = session.get("auth", {}) user = None if auth: user = auth.get("user", None) if user: user_id = user.id else: user_id = None person = Person() person.show(request.args(0) or user_id or redirect(login_url)) return person.render()
def board(): auth = session.get("auth", {}) user = None if auth: user = auth.get("user", None) if user: user_id = user.id else: user_id = None person = Person() person.context.leftlogo_enabled = True person.board( request.args(0) or user_id or redirect(login_url), request.vars.postid) return person.render()
def show(): person = Person() person.show(request.args(0) or session.auth.user.id) return person.render('app/person/show')
def account(): person = Person("account") person.context.left_sidebar_enabled = True if 'profile' in request.args else False person.context.leftlogo_enabled = True return person.render('app/person/account')
def facebook(): session.state = 'facebook' person = Person("facebook") return person.render()
def search(): person = Person() person.context.left_sidebar_enabled = True person.search(request.vars.get('q')) return person.render('app/person/search')
def privatetimeline(): person = Person('privatetimeline') person.context.leftlogo_enabled = True return person.render("app/person/privatetimeline")
def loginbare(): person = Person("loginbare") return person.render('app/person/loginbare')
def account(): person = Person("account") return person.render('app/person/account')
def delete_account(): person = Person('delete_account') return person.render('app/person/account')
def usertimeline(): person = Person('usertimeline') person.context.leftlogo_enabled = True return person.render("app/person/usertimeline")
def usertimeline(): person = Person('usertimeline') return person.render("app/person/usertimeline")
def google(): if 'state' in request.vars and request.vars.state == 'google': session.state = request.vars.state person = Person("google") return person.render()
def board(): person = Person() person.board(request.args(0) or session.auth.user.id) return person.render('app/person/board')
def facebook(): person = Person("facebook") return person.render()
def following(): person = Person() person.following(request.args(0)) return person.render()
def publictimeline(): person = Person('publictimeline') return person.render("app/person/publictimeline")
def privatetimeline(): person = Person('privatetimeline') return person.render("app/person/privatetimeline")
def contacts(): person = Person() person.contacts(request.args(0)) person.context.left_sidebar_enabled = True return person.render('app/person/contacts')
def account(): person = Person("account") person.context.left_sidebar_enabled = True if 'profile' in request.args else False return person.render('app/person/account')