liquid_feedback_frontend
view app/main/index/usage_terms.lua @ 157:24e47baf5f9b
strip html from fallback title
if the slot is used for title, make sure the html is stripped from it
if the slot is used for title, make sure the html is stripped from it
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Fri Oct 08 20:31:09 2010 +0200 (2010-10-08) |
parents | 00d1004545f1 |
children | b219676f1093 |
line source
1 slot.select("actions", function()
2 ui.link{
3 module = "index",
4 view = "about",
5 content = function()
6 ui.image{ static = "icons/16/cancel.png" }
7 slot.put(_"Back")
8 end
9 }
10 end)
12 ui.container{
13 attr = { class = "wiki use_terms" },
14 content = function()
15 slot.put(format.wiki_text(config.use_terms))
16 end
17 }