Changeset 6026 for trunk/src/includes/forums/template.php
- Timestamp:
- 05/19/2016 07:35:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/template.php
r6024 r6026 2683 2683 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>> 2684 2684 2685 <?php foreach ( bbp_get_forum_types( ) as $key => $label ) : ?>2685 <?php foreach ( bbp_get_forum_types( $r['forum_id'] ) as $key => $label ) : ?> 2686 2686 2687 2687 <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $r['selected'] ); ?>><?php echo esc_html( $label ); ?></option> … … 2775 2775 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>> 2776 2776 2777 <?php foreach ( bbp_get_forum_statuses( ) as $key => $label ) : ?>2777 <?php foreach ( bbp_get_forum_statuses( $r['forum_id'] ) as $key => $label ) : ?> 2778 2778 2779 2779 <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $r['selected'] ); ?>><?php echo esc_html( $label ); ?></option> … … 2867 2867 <select name="<?php echo esc_attr( $r['select_id'] ) ?>" id="<?php echo esc_attr( $r['select_id'] ) ?>_select"<?php echo $tab; ?>> 2868 2868 2869 <?php foreach ( bbp_get_forum_visibilities( ) as $key => $label ) : ?>2869 <?php foreach ( bbp_get_forum_visibilities( $r['forum_id'] ) as $key => $label ) : ?> 2870 2870 2871 2871 <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $r['selected'] ); ?>><?php echo esc_html( $label ); ?></option>
Note: See TracChangeset
for help on using the changeset viewer.