annotate app/main/lf2/settings.lua @ 218:7ea52c710503
Some little changes for next generation frontend
 | author | 
 bsw | 
 | date | 
 Sun Mar 13 16:53:33 2011 +0100 (2011-03-13) | 
 | parents | 
 73dbc9e2bfd4  | 
 | children | 
  | 
 
 | 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@218
 | 
     8   ui.box_row{ class = "head", content = function() ui.box_col{ class = "head", content = _"Member settings" } end }
 | 
| 
bsw@218
 | 
     9   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    10     ui.link{ module = "lf2", view = "settings_password", text = _"Change password" }
 | 
| 
bsw@218
 | 
    11   end } end }
 | 
| 
bsw@218
 | 
    12   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    13     ui.link{ module = "lf2", view = "settings_name", text = _"Change member or login name" }
 | 
| 
bsw@218
 | 
    14   end } end }
 | 
| 
bsw@218
 | 
    15   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    16     ui.link{ module = "lf2", view = "settings_email", text = _"Change notification email address" }
 | 
| 
bsw@218
 | 
    17   end } end }
 | 
| 
bsw@218
 | 
    18   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    19     ui.link{ module = "lf2", view = "settings_privacy", text = _"Privacy settings" }
 | 
| 
bsw@218
 | 
    20   end } end }
 | 
| 
bsw@218
 | 
    21   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    22     ui.link{ module = "lf2", view = "settings_api", text = _"API settings" }
 | 
| 
bsw@218
 | 
    23   end } end }
 | 
| 
bsw@218
 | 
    24   ui.box_row{ content = function() ui.box_col{ content = function()
 | 
| 
bsw@218
 | 
    25     ui.link{ module = "lf2", view = "settings_", text = _"" }
 | 
| 
bsw@218
 | 
    26   end } end }
 | 
| 
bsw@217
 | 
    27 end } |