PluginProbe ʕ •ᴥ•ʔ
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager / 3.3
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager v3.3
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 / quick-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 8 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
quick-edit.php
43 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
14 ?>
15 <fieldset class="inline-edit-col-left cs-quickedit">
16 <div class="inline-edit-col">
17 <?php
18
19
20 foreach ( $sidebars as $s ) {
21 $sb_name = $available[ $s ]['name'];
22 ?>
23 <div class="inline-edit-group">
24 <label>
25 <span class="title"><?php echo esc_html( $sb_name ); ?></span>
26 <select name="cs_replacement_<?php echo esc_attr( $s ); ?>"
27 class="cs-replacement-field <?php echo esc_attr( $s ); ?>">
28 <option value=""></option>
29 <?php foreach ( $available as $a ) : ?>
30 <option value="<?php echo esc_attr( $a['id'] ); ?>" <?php selected( $selected[ $s ], $a['id'] ); ?>>
31 <?php echo esc_html( $a['name'] ); ?>
32 </option>
33 <?php endforeach; ?>
34 </select>
35 </label>
36 </div>
37 <?php
38 }
39
40 ?>
41 </div>
42 </fieldset>
43