liquid_feedback_frontend

diff app/main/member/_sidebar_whatcanido.lua @ 1071:58f48a8a202a

Imported and merged LDAP patch
author bsw
date Fri Jul 18 21:42:59 2014 +0200 (2014-07-18)
parents 701a5cf6b067
children 904f6807f7fa
line diff
     1.1 --- a/app/main/member/_sidebar_whatcanido.lua	Thu Jul 17 23:38:35 2014 +0200
     1.2 +++ b/app/main/member/_sidebar_whatcanido.lua	Fri Jul 18 21:42:59 2014 +0200
     1.3 @@ -69,16 +69,18 @@
     1.4        local pages = {}
     1.5  
     1.6        pages[#pages+1] = { view = "settings_notification", text = _"notification settings" }
     1.7 -      if not config.locked_profile_fields.notify_email then
     1.8 +      if not util.is_profile_field_locked(app.session.member, "notify_email") then
     1.9          pages[#pages+1] = { view = "settings_email",          text = _"change your notification email address" }
    1.10        end
    1.11 -      if not config.locked_profile_fields.name then
    1.12 +      if not util.is_profile_field_locked(app.session.member, "name") then
    1.13          pages[#pages+1] = { view = "settings_name",           text = _"change your screen name" }
    1.14        end
    1.15 -      if not config.locked_profile_fields.login then
    1.16 +      if not util.is_profile_field_locked(app.session.member, "login") then
    1.17          pages[#pages+1] = { view = "settings_login",          text = _"change your login" }
    1.18        end
    1.19 -      pages[#pages+1] = { view = "settings_password",       text = _"change your password" }
    1.20 +      if not util.is_profile_field_locked(app.session.member, "password") then
    1.21 +        pages[#pages+1] = { view = "settings_password",       text = _"change your password" }
    1.22 +      end
    1.23        pages[#pages+1] = { view = "developer_settings",      text = _"developer settings" }
    1.24  
    1.25        if config.download_dir then

Impressum / About Us