liquid_feedback_frontend

annotate app/main/index/_action/set_lang.lua @ 281:b77e6a17ca77

Check unit voting right where neccessary, hide action buttons for units without voting right
author bsw
date Thu Feb 16 15:01:49 2012 +0100 (2012-02-16)
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