Add class to style admin checklists

This commit is contained in:
Brian Miyaji
2016-08-28 20:40:47 +10:00
parent 35b5c31e49
commit 8277cdf98d
2 changed files with 3 additions and 3 deletions

View File

@@ -845,7 +845,7 @@ if ( !function_exists( 'sp_post_checklist' ) ) {
if ( ! isset( $slug ) )
$slug = $meta;
?>
<div id="<?php echo $slug; ?>-all" class="posttypediv tabs-panel sp-tab-panel sp-tab-filter-panel sp-select-all-range" style="display: <?php echo $display; ?>;">
<div id="<?php echo $slug; ?>-all" class="posttypediv tabs-panel wp-tab-panel sp-tab-panel sp-tab-filter-panel sp-select-all-range" style="display: <?php echo $display; ?>;">
<input type="hidden" value="0" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" />
<ul class="categorychecklist form-no-clear">
<li class="sp-select-all-container"><label class="selectit"><input type="checkbox" class="sp-select-all"> <strong><?php _e( 'Select All', 'sportspress' ); ?></strong></label></li>
@@ -929,7 +929,7 @@ if ( !function_exists( 'sp_column_checklist' ) ) {
if ( ! isset( $post_id ) )
global $post_id;
?>
<div id="<?php echo $meta; ?>-all" class="posttypediv tabs-panel sp-tab-panel sp-select-all-range" style="display: <?php echo $display; ?>;">
<div id="<?php echo $meta; ?>-all" class="posttypediv tabs-panel wp-tab-panel sp-tab-panel sp-select-all-range" style="display: <?php echo $display; ?>;">
<input type="hidden" value="0" name="sp_columns[]" />
<ul class="categorychecklist form-no-clear">
<li class="sp-select-all-container"><label class="selectit"><input type="checkbox" class="sp-select-all"> <strong><?php _e( 'Select All', 'sportspress' ); ?></strong></label></li>

View File

@@ -175,7 +175,7 @@ class SportsPress_Lazy_Loading {
$diff = array_diff( $post_ids, $selected );
$selected = array_flip( $selected );
?>
<div id="<?php echo $slug; ?>-all" class="posttypediv tabs-panel sp-tab-panel sp-ajax-checklist sp-select-all-range" style="display: <?php echo $display; ?>;">
<div id="<?php echo $slug; ?>-all" class="posttypediv tabs-panel wp-tab-panel sp-tab-panel sp-ajax-checklist sp-select-all-range" style="display: <?php echo $display; ?>;">
<input type="hidden" value="0" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" />
<ul class="categorychecklist form-no-clear">
<?php if ( is_array( $posts ) && sizeof( $posts ) ) { ?>