Ejemplo n.º 1
0
def delete():
    article = Article('delete')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/delete")
Ejemplo n.º 2
0
def search():
    article = Article('search')
    return article.render("app/article/search")
Ejemplo n.º 3
0
def tagcloud():
    article = Article('tagcloud')
    return article.render("app/article/tagcloud")
Ejemplo n.º 4
0
def new():
    article = Article('new')
    #article.context.right_sidebar_enabled = True
    return article.render("app/article/new/%s" % article.context.viewname)
Ejemplo n.º 5
0
def search():
    article = Article('search')
    return article.render("app/article/search")
Ejemplo n.º 6
0
def show():
    article = Article('show')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/show/%s" % article.context.article.content_type_id.viewname)
Ejemplo n.º 7
0
def tag():
    article = Article('tag')
    return article.render("app/article/tag")
Ejemplo n.º 8
0
def search():
    article = Article('search')
    article.context.left_sidebar_enabled = True
    article.context.leftlogo_enabled = True
    return article.render("app/article/search")
Ejemplo n.º 9
0
def showcomment():
    article = Article('showcomment')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/showcomment")
Ejemplo n.º 10
0
def delete():
    article = Article('delete')
    article.context.left_sidebar_enabled = True
    article.context.leftlogo_enabled = True
    return article.render("app/article/delete")
Ejemplo n.º 11
0
def list():
    article = Article('list')
    article.context.left_sidebar_enabled = True
    article.context.leftlogo_enabled = True
    return article.render("app/article/list")
Ejemplo n.º 12
0
def tagcloud():
    article = Article('tagcloud')
    return article.render("app/article/tagcloud")
Ejemplo n.º 13
0
def isnotanswer():
    article = Article('isnotanswer')
    return article.render()
Ejemplo n.º 14
0
def showcomment():
    article = Article('showcomment')
    article.context.left_sidebar_enabled = True
    article.context.leftlogo_enabled = True
    return article.render("app/article/showcomment")
Ejemplo n.º 15
0
def list():
    article = Article('list')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/list")
Ejemplo n.º 16
0
def edit():
    article = Article('edit')
    return article.render("app/article/edit/%s" % article.context.article.content_type_id.viewname)
Ejemplo n.º 17
0
def search():
    article = Article('search')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/search")
Ejemplo n.º 18
0
def isnotanswer():
    article = Article('isnotanswer')
    return article.render()
Ejemplo n.º 19
0
def edit():
    article = Article('edit')
    return article.render("app/article/edit/%s" %
                          article.context.article.content_type_id.viewname)
Ejemplo n.º 20
0
def tag():
    article = Article('tag')
    return article.render("app/article/tag")
Ejemplo n.º 21
0
def category():
    article = Article('category')
    return article.render("app/article/category")
Ejemplo n.º 22
0
def category():
    article = Article('category')
    return article.render("app/article/category")
Ejemplo n.º 23
0
def list():
    article = Article('list')
    return article.render("app/article/list")
Ejemplo n.º 24
0
def new():
    article = Article('new')
    #article.context.right_sidebar_enabled = True
    return article.render("app/article/new/%s" % article.context.viewname)
Ejemplo n.º 25
0
def show():
    article = Article('show')
    article.context.left_sidebar_enabled = True
    return article.render("app/article/show/%s" %
                          article.context.article.content_type_id.viewname)
Ejemplo n.º 26
0
def list():
    article = Article('list')
    return article.render("app/article/list")