PluginProbe ʕ •ᴥ•ʔ
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager / 3.35
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager v3.35
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 / widgets-editor.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
widgets-editor.php
67 lines
1 <?php
2 /**
3 * Contents of the Add/Edit sidebar popup in the widgets screen.
4 *
5 * This file is included in widgets.php.
6 */
7 ?>
8
9 <form class="wpmui-form">
10 <input type="hidden" name="do" value="save" />
11 <input type="hidden" name="sb" id="csb-id" value="" />
12 <?php wp_nonce_field( 'custom-sidebars-edit-sidebar' ); ?>
13 <div class="wpmui-grid-8 no-pad-top">
14 <div class="col-3">
15 <label for="csb-name"><?php _e( 'Name', 'custom-sidebars' ); ?></label>
16 <input type="text" name="name" id="csb-name" maxlength="40" placeholder="<?php _e( 'Sidebar name here...', 'custom-sidebars' ); ?>" />
17 <div class="hint"><?php _e( 'The name should be unique.', 'custom-sidebars' ); ?></div>
18 </div>
19 <div class="col-5">
20 <label for="csb-description"><?php _e( 'Description', 'custom-sidebars' ); ?></label>
21 <input type="text" name="description" id="csb-description" maxlength="200" placeholder="<?php _e( 'Sidebar description here...', 'custom-sidebars' ); ?>" />
22 </div>
23 </div>
24 <hr class="csb-more-content" />
25 <div class="wpmui-grid-8 csb-more-content">
26 <div class="col-8 hint">
27 <strong><?php _e( 'Caution:', 'custom-sidebars' ); ?></strong>
28 <?php _e(
29 'Before-after title-widget properties define the html code that will wrap ' .
30 'the widgets and their titles in the sidebars, more info about them on the '.
31 '<a href="http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress" target="_blank">Justin ' .
32 'Tadlock Blog</a>. Do not use these fields if you are not sure what you are doing, it can break ' .
33 'the design of your site. Leave these fields blank to use the theme sidebars design.', 'custom-sidebars'
34 ); ?>
35 </div>
36 </div>
37 <div class="wpmui-grid-8 csb-more-content">
38 <div class="col-4">
39 <label for="csb-before-title"><?php _e( 'Before Title', 'custom-sidebars' ); ?></label>
40 <textarea rows="4" name="before_title" id="csb-before-title"></textarea>
41 </div>
42 <div class="col-4">
43 <label for="csb-after-title"><?php _e( 'After Title', 'custom-sidebars' ); ?></label>
44 <textarea rows="4" name="after_title" id="csb-after-title"></textarea>
45 </div>
46 </div>
47 <div class="wpmui-grid-8 csb-more-content">
48 <div class="col-4">
49 <label for="csb-before-widget"><?php _e( 'Before Widget', 'custom-sidebars' ); ?></label>
50 <textarea rows="4" name="before_widget" id="csb-before-widget"></textarea>
51 </div>
52 <div class="col-4">
53 <label for="csb-after-widget"><?php _e( 'After Widget', 'custom-sidebars' ); ?></label>
54 <textarea rows="4" name="after_widget" id="csb-after-widget"></textarea>
55 </div>
56 </div>
57 <div class="buttons">
58 <label for="csb-more" class="wpmui-left">
59 <input type="checkbox" id="csb-more" />
60 <?php _e( 'Advanced - Edit custom wrapper code', 'custom-sidebars' ); ?>
61 </label>
62
63 <button type="button" class="button-link btn-cancel"><?php _e( 'Cancel', 'custom-sidebars' ); ?></button>
64 <button type="button" class="button-primary btn-save"><?php _e( 'Create Sidebar', 'custom-sidebars' ); ?></button>
65 </div>
66 </form>
67