annotate app/main/member/_action/update.lua @ 62:0e75b5f04fe5
Show motd only if available
author |
bsw |
date |
Thu Apr 22 16:15:23 2010 +0200 (2010-04-22) |
parents |
afd9f769c7ae |
children |
733f65c0c0a0 |
rev |
line source |
bsw@2
|
1 param.update(app.session.member,
|
bsw@2
|
2 "organizational_unit",
|
bsw@2
|
3 "internal_posts",
|
bsw@2
|
4 "realname",
|
bsw@2
|
5 "birthday",
|
bsw@2
|
6 "address",
|
bsw@2
|
7 "email",
|
bsw@2
|
8 "xmpp_address",
|
bsw@2
|
9 "website",
|
bsw@2
|
10 "phone",
|
bsw@2
|
11 "mobile_phone",
|
bsw@2
|
12 "profession",
|
bsw@2
|
13 "external_memberships",
|
bsw@2
|
14 "external_posts",
|
bsw@2
|
15 "statement"
|
bsw@2
|
16 )
|
bsw/jbe@0
|
17
|
bsw/jbe@0
|
18 app.session.member:save()
|
bsw/jbe@0
|
19
|
bsw/jbe@0
|
20
|
bsw/jbe@0
|
21 slot.put_into("notice", _"Your page has been updated") |