Skip to:
Content

Changeset 6627


Ignore:
Timestamp:
12/11/12 13:33:27 (16 months ago)
Author:
johnjamesjacoby
Message:

Use bp_core_can_edit_settings() in settings.php of bp-default and bp-legacy. Fixes issue where navigation was missing for capable users.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/members/single/settings.php

    r6316 r6627  
    1212<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 
    1313    <ul> 
    14         <?php if ( bp_is_my_profile() ) : ?> 
    15          
     14        <?php if ( bp_core_can_edit_settings() ) : ?> 
     15 
    1616            <?php bp_get_options_nav(); ?> 
    17          
     17 
    1818        <?php endif; ?> 
    1919    </ul> 
     
    3838        bp_get_template_part( 'members/single/plugins'                 ); 
    3939        break; 
    40 endswitch;; 
     40endswitch; 
  • trunk/bp-themes/bp-default/members/single/settings.php

    r6146 r6627  
    1212<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 
    1313    <ul> 
    14         <?php if ( bp_is_my_profile() ) : ?> 
     14        <?php if ( bp_core_can_edit_settings() ) : ?> 
    1515         
    1616            <?php bp_get_options_nav(); ?> 
Note: See TracChangeset for help on using the changeset viewer.