liquid_feedback_frontend

diff app/main/index/login.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 07953b0ef62c
line diff
     1.1 --- a/app/main/index/login.lua	Thu Apr 22 21:01:46 2010 +0200
     1.2 +++ b/app/main/index/login.lua	Fri Apr 23 14:13:08 2010 +0200
     1.3 @@ -43,6 +43,15 @@
     1.4    }
     1.5  end)
     1.6  
     1.7 +if config.motd_public then
     1.8 +  local help_text = config.motd_public
     1.9 +  ui.container{
    1.10 +    attr = { class = "wiki motd" },
    1.11 +    content = function()
    1.12 +      slot.put(format.wiki_text(help_text))
    1.13 +    end
    1.14 +  }
    1.15 +end
    1.16  
    1.17  ui.tag{
    1.18    tag = 'p',

Impressum / About Us