liquid_feedback_frontend

annotate app/main/index/_action/set_lang.lua @ 62:0e75b5f04fe5

Show motd only if available
author bsw
date Thu Apr 22 16:15:23 2010 +0200 (2010-04-22)
parents a3ac899559de
children c587d8762e62
rev   line source
bsw/jbe@4 1 local lang = param.get("lang")
bsw@15 2 if lang == "de" or lang == "en" or lang == "eo" then
bsw/jbe@4 3 app.session.lang = param.get("lang")
bsw/jbe@4 4 app.session:save()
bsw/jbe@4 5 end

Impressum / About Us