liquid_feedback_frontend

diff app/main/member/show_tab.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 8e11fb45c688
children 733f65c0c0a0
line diff
     1.1 --- a/app/main/member/show_tab.lua	Thu Apr 22 21:01:46 2010 +0200
     1.2 +++ b/app/main/member/show_tab.lua	Fri Apr 23 14:13:08 2010 +0200
     1.3 @@ -19,11 +19,7 @@
     1.4  
     1.5  if show_as_homepage and app.session.member_id == member.id then
     1.6  
     1.7 -  local lang = locale.get("lang")
     1.8 -  local basepath = request.get_app_basepath() 
     1.9 -  local file_name = basepath .. "/locale/motd/" .. lang .. ".txt"
    1.10 -  local file = io.open(file_name)
    1.11 -  if file ~= nil then
    1.12 +  if config.motd_intern then
    1.13      tabs[#tabs+1] = {
    1.14        class = "yellow",
    1.15        name = "motd",

Impressum / About Us