PluginProbe ʕ •ᴥ•ʔ
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager / 3.32
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager v3.32
trunk 2.1.2.0 3.0.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3 3.31 3.32 3.35 3.36 3.37 3.38
custom-sidebars / views / bulk-edit.php
custom-sidebars / views Last commit date
bulk-edit.php 7 years ago col-sidebars.php 7 years ago import.php 7 years ago metabox.php 5 years ago quick-edit.php 9 years ago widgets-delete.php 9 years ago widgets-editor.php 8 years ago widgets-export.php 8 years ago widgets-location.php 7 years ago widgets.php 7 years ago
bulk-edit.php
50 lines
1 <?php
2 /**
3 * Form displayed in the Quick Edit box of the post list.
4 *
5 * Uses:
6 * $selected
7 */
8
9 global $wp_registered_sidebars;
10 $available = CustomSidebars::sort_sidebars_by_name( $wp_registered_sidebars );
11
12 $sidebars = CustomSidebars::get_options( 'modifiable' );
13 static $print_nonce = true;
14
15 if ( $print_nonce ) {
16 $print_nonce = false;
17 wp_nonce_field( 'bulk-edit-cs', 'custom-sidebars-editor-bulk-edit' );
18 }
19
20 ?>
21 <fieldset class="inline-edit-col-left cs-quickedit">
22 <div class="inline-edit-col">
23 <label><?php _e( 'Custom Sidebars', 'custom-sidebars' ); ?></label>
24 <?php
25
26
27 foreach ( $sidebars as $s ) {
28 $sb_name = $available[ $s ]['name'];
29 ?>
30 <div class="inline-edit-group">
31 <label>
32 <span class="title"><?php echo esc_html( $sb_name ); ?></span>
33 <select name="cs_replacement_<?php echo esc_attr( $s ); ?>"
34 class="cs-replacement-field <?php echo esc_attr( $s ); ?>">
35 <option value="-"><?php _e( '&mdash; No Change &mdash;', 'custom-sidebars' ); ?></option>
36 <?php foreach ( $available as $a ) : ?>
37 <option value="<?php echo esc_attr( $a['id'] ); ?>" <?php selected( $selected[ $s ], $a['id'] ); ?>>
38 <?php echo esc_html( $a['name'] ); ?>
39 </option>
40 <?php endforeach; ?>
41 </select>
42 </label>
43 </div>
44 <?php
45 }
46
47 ?>
48 </div>
49 </fieldset>
50