liquid_feedback_frontend
diff app/main/index/index.lua @ 273:7196685f9dd7
More optical enhancements, more repositioning
author | bsw |
---|---|
date | Wed Feb 08 18:49:22 2012 +0100 (2012-02-08) |
parents | e3613831cd1e |
children | f460555c9896 |
line diff
1.1 --- a/app/main/index/index.lua Wed Feb 08 00:55:17 2012 +0100 1.2 +++ b/app/main/index/index.lua Wed Feb 08 18:49:22 2012 +0100 1.3 @@ -45,50 +45,10 @@ 1.4 slot.put_into("title", encode.html(config.app_title)) 1.5 1.6 if app.session.member then 1.7 - app.html_title.title = app.session.member.name 1.8 + app.html_title.title = app.session.member.name 1.9 end 1.10 1.11 1.12 -slot.select("actions", function() 1.13 - 1.14 - if app.session.member then 1.15 - ui.link{ 1.16 - content = function() 1.17 - ui.image{ static = "icons/16/application_form.png" } 1.18 - slot.put(_"Edit my profile") 1.19 - end, 1.20 - module = "member", 1.21 - view = "edit" 1.22 - } 1.23 - ui.link{ 1.24 - content = function() 1.25 - ui.image{ static = "icons/16/user_gray.png" } 1.26 - slot.put(_"Upload images") 1.27 - end, 1.28 - module = "member", 1.29 - view = "edit_images" 1.30 - } 1.31 - ui.link{ 1.32 - content = function() 1.33 - ui.image{ static = "icons/16/wrench.png" } 1.34 - slot.put(_"Settings") 1.35 - end, 1.36 - module = "member", 1.37 - view = "settings" 1.38 - } 1.39 - if config.download_dir then 1.40 - ui.link{ 1.41 - content = function() 1.42 - ui.image{ static = "icons/16/database_save.png" } 1.43 - slot.put(_"Download") 1.44 - end, 1.45 - module = "index", 1.46 - view = "download" 1.47 - } 1.48 - end 1.49 - end 1.50 -end) 1.51 - 1.52 util.help("index.index", _"Home") 1.53 1.54 execute.view{