Add class to style admin checklists
This commit is contained in:
@@ -845,7 +845,7 @@ if ( !function_exists( 'sp_post_checklist' ) ) {
|
|||||||
if ( ! isset( $slug ) )
|
if ( ! isset( $slug ) )
|
||||||
$slug = $meta;
|
$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 . ']'; ?>[]" />
|
<input type="hidden" value="0" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" />
|
||||||
<ul class="categorychecklist form-no-clear">
|
<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>
|
<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 ) )
|
if ( ! isset( $post_id ) )
|
||||||
global $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[]" />
|
<input type="hidden" value="0" name="sp_columns[]" />
|
||||||
<ul class="categorychecklist form-no-clear">
|
<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>
|
<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>
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ class SportsPress_Lazy_Loading {
|
|||||||
$diff = array_diff( $post_ids, $selected );
|
$diff = array_diff( $post_ids, $selected );
|
||||||
$selected = array_flip( $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 . ']'; ?>[]" />
|
<input type="hidden" value="0" name="<?php echo $slug; ?><?php if ( isset( $index ) ) echo '[' . $index . ']'; ?>[]" />
|
||||||
<ul class="categorychecklist form-no-clear">
|
<ul class="categorychecklist form-no-clear">
|
||||||
<?php if ( is_array( $posts ) && sizeof( $posts ) ) { ?>
|
<?php if ( is_array( $posts ) && sizeof( $posts ) ) { ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user