liquid_feedback_frontend
view app/main/area/list.lua @ 227:9245f74e08f5
Added tag beta33 for changeset 4905d7d79486
author | bsw |
---|---|
date | Tue May 17 12:12:29 2011 +0200 (2011-05-17) |
parents | c0835d707465 |
children | 6725c13b6ce0 |
line source
1 local areas_selector = Area:build_selector{ active = true }
4 if app.session.member_id then
5 slot.put_into("title", _'Area list')
6 else
7 slot.put_into("title", encode.html(config.app_title))
8 end
11 if not app.session.member_id and config.motd_public then
12 local help_text = config.motd_public
13 ui.container{
14 attr = { class = "wiki motd" },
15 content = function()
16 slot.put(format.wiki_text(help_text))
17 end
18 }
19 end
21 util.help("area.list", _"Area list")
24 execute.view{
25 module = "area",
26 view = "_list",
27 params = { areas_selector = areas_selector }
28 }