Changeset 10465 for trunk/src/bp-core/admin/bp-core-admin-components.php
- Timestamp:
- 01/25/2016 09:37:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-components.php
r10433 r10465 161 161 <h3 class="screen-reader-text"><?php _e( 'Components list', 'buddypress' ); ?></h3> 162 162 163 <table class="w idefat fixed plugins" cellspacing="0">163 <table class="wp-list-table widefat plugins"> 164 164 <thead> 165 165 <tr> 166 <t h scope="col" id="cb" class="manage-column column-cb check-column"> </th>167 <th scope="col" id="name" class="manage-column column- name" style="width: 190px;"><?php _e( 'Component', 'buddypress' ); ?></th>166 <td id="cb" class="manage-column column-cb check-column"><input id="cb-select-all-1" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-1"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 167 <th scope="col" id="name" class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 168 168 <th scope="col" id="description" class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> 169 169 </tr> 170 170 </thead> 171 172 <tfoot>173 <tr>174 <th scope="col" class="manage-column column-cb check-column"> </th>175 <th scope="col" class="manage-column column-name" style="width: 190px;"><?php _e( 'Component', 'buddypress' ); ?></th>176 <th scope="col" class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th>177 </tr>178 </tfoot>179 171 180 172 <tbody id="the-list"> … … 191 183 192 184 <tr id="<?php echo esc_attr( $name ); ?>" class="<?php echo esc_attr( $name ) . ' ' . esc_attr( $class ); ?>"> 193 <th scope="row" >185 <th scope="row" class="check-column"> 194 186 195 187 <?php if ( !in_array( $name, array( 'core', 'members' ) ) ) : ?> 196 188 197 <input type="checkbox" id="bp_components[<?php echo esc_attr( $name ); ?>]" name="bp_components[<?php echo esc_attr( $name ); ?>]" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /> 189 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1"<?php checked( isset( $active_components[esc_attr( $name )] ) ); ?> /><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( 'Select %s', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 190 191 <?php else : ?> 192 193 <input type="checkbox" id="<?php echo esc_attr( "bp_components[$name]" ); ?>" name="<?php echo esc_attr( "bp_components[$name]" ); ?>" value="1" checked="checked" disabled><label for="<?php echo esc_attr( "bp_components[$name]" ); ?>" class="screen-reader-text"><?php printf( __( '%s is a required component', 'buddypress' ), esc_html( $labels['title'] ) ); ?></label> 198 194 199 195 <?php endif; ?> 200 196 201 197 </th> 202 <td class="plugin-title " style="width: 190px;">198 <td class="plugin-title column-primary"> 203 199 <span></span> 204 <label for="bp_components[<?php echo esc_attr( $name ); ?>]"> 205 <strong><?php echo esc_html( $labels['title'] ); ?></strong> 206 </label> 207 208 <div class="row-actions-visible"> 209 210 </div> 200 <strong><?php echo esc_html( $labels['title'] ); ?></strong> 211 201 </td> 212 202 … … 215 205 <p><?php echo $labels['description']; ?></p> 216 206 </div> 217 <div class="active second plugin-version-author-uri"> 218 219 </div> 207 220 208 </td> 221 209 </tr> … … 232 220 233 221 </tbody> 222 223 <tfoot> 224 <tr> 225 <td class="manage-column column-cb check-column"><input id="cb-select-all-2" type="checkbox" disabled><label class="screen-reader-text" for="cb-select-all-2"><?php _e( 'Bulk selection is disabled', 'buddypress' ); ?></label></td> 226 <th class="manage-column column-title column-primary"><?php _e( 'Component', 'buddypress' ); ?></th> 227 <th class="manage-column column-description"><?php _e( 'Description', 'buddypress' ); ?></th> 228 </tr> 229 </tfoot> 230 234 231 </table> 235 232
Note: See TracChangeset
for help on using the changeset viewer.