- Timestamp:
- 06/19/2023 06:09:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/customizer-controls.php
r12156 r13504 4 4 * 5 5 * @since 3.0.0 6 * @version 3.1.06 * @version 12.0.0 7 7 */ 8 8 … … 32 32 public function render_content() { 33 33 $id = 'customize-control-' . str_replace( '[', '-', str_replace( ']', '', $this->id ) ); 34 $class = 'customize-control customize-control-' . $this->type;35 34 $setting = "bp_nouveau_appearance[{$this->type}_nav_order]"; 36 35 $item_nav = array(); … … 62 61 } else { 63 62 $item_nav = bp_nouveau_member_customizer_nav(); 64 65 $guide = __( 'Drag each possible member navigation items that are listed below into the order you prefer.', 'buddypress' ); 63 $guide = __( 'Drag each possible member navigation items that are listed below into the order you prefer.', 'buddypress' ); 66 64 } 67 65 ?> … … 76 74 <ul id="<?php echo esc_attr( $id ); ?>" class="ui-sortable" style="margin-top: 0px; height: 500px;" data-bp-type="<?php echo esc_attr( $this->type ); ?>"> 77 75 78 <?php 79 $i = 0; 80 foreach ( $item_nav as $item ) : 81 $i += 1; 82 ?> 76 <?php foreach ( $item_nav as $item ) : ?> 83 77 <li data-bp-nav="<?php echo esc_attr( $item->slug ); ?>"> 84 78 <div class="menu-item-bar">
Note: See TracChangeset
for help on using the changeset viewer.