annotate app/main/lf2/settings.lua @ 217:73dbc9e2bfd4
Cummulative patch for enhancements at next generation frontend
| author |
bsw |
| date |
Sat Mar 12 19:22:50 2011 +0100 (2011-03-12) |
| parents |
|
| children |
7ea52c710503 |
| rev |
line source |
|
bsw@217
|
1 slot.set_layout("lf2")
|
|
bsw@217
|
2
|
|
bsw@217
|
3 slot.put_into("leftright_pre", '<div class="sidebar_right">')
|
|
bsw@217
|
4 slot.put_into("leftright_post", '</div>')
|
|
bsw@217
|
5
|
|
bsw@217
|
6
|
|
bsw@217
|
7 ui.box{ content = function()
|
|
bsw@217
|
8 ui.box_row{ content = function()
|
|
bsw@217
|
9 ui.box_col{ content = function()
|
|
bsw@217
|
10 ui.link{ module = "lf2", view = "settings_password", text = _"Change your password" }
|
|
bsw@217
|
11 end }
|
|
bsw@217
|
12 ui.box_col{ content = function()
|
|
bsw@217
|
13 ui.link{ module = "lf2", view = "settings_name", text = _"Member name" }
|
|
bsw@217
|
14 end }
|
|
bsw@217
|
15 ui.box_col{ content = function()
|
|
bsw@217
|
16 ui.link{ module = "lf2", view = "settings_email", text = _"Change your email address" }
|
|
bsw@217
|
17 end }
|
|
bsw@217
|
18 ui.box_col{ content = function()
|
|
bsw@217
|
19 ui.link{ module = "lf2", view = "settings_privacy", text = _"Privacy settings" }
|
|
bsw@217
|
20 end }
|
|
bsw@217
|
21 ui.box_col{ content = function()
|
|
bsw@217
|
22 ui.link{ module = "lf2", view = "settings_api", text = _"API settings" }
|
|
bsw@217
|
23 end }
|
|
bsw@217
|
24 ui.box_col{ content = function()
|
|
bsw@217
|
25 ui.link{ module = "lf2", view = "settings_", text = _"" }
|
|
bsw@217
|
26 end }
|
|
bsw@217
|
27 end }
|
|
bsw@217
|
28 end } |