fckeditor -> ckeditor
[Plinn.git] / skins / control / setAndGetSessionVar.py
1 ##parameters=key, value, allowFalse = 1
2 sd = context.session_data_manager.getSessionData(create = 1)
3 if allowFalse :
4 sd[key] = value
5 return value
6 else :
7 if value :
8 sd[key] = value
9 return sd.get(key, None)