liquid_feedback_frontend

view app/main/area/list.lua @ 69:c553898f64cb

Moved motd from locale/motd/*-files to configuration setting
author bsw
date Fri Apr 23 14:13:08 2010 +0200 (2010-04-23)
parents 0849be391140
children c0835d707465
line source
1 if app.session.member_id then
2 slot.put_into("title", _'Area list')
3 else
4 slot.put_into("title", encode.html(config.app_title))
5 end
7 if not app.session.member_id and config.motd_public then
8 local help_text = config.motd_public
9 ui.container{
10 attr = { class = "wiki motd" },
11 content = function()
12 slot.put(format.wiki_text(help_text))
13 end
14 }
15 end
17 util.help("area.list", _"Area list")
19 local areas_selector = Area:new_selector():add_where("active")
21 execute.view{
22 module = "area",
23 view = "_list",
24 params = { areas_selector = areas_selector }
25 }
27 --[[
28 execute.view{
29 module = "delegation",
30 view = "_show_box"
31 }
32 --]]

Impressum / About Us