PluginProbe ʕ •ᴥ•ʔ
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager / 3.38
Custom Sidebars – Dynamic Sidebar Classic Widget Area Manager v3.38
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-export.php
custom-sidebars / views Last commit date
bulk-edit.php 3 years ago col-sidebars.php 1 year ago import.php 1 year ago metabox.php 1 year ago quick-edit.php 9 years ago widgets-delete.php 3 years ago widgets-editor.php 1 year ago widgets-export.php 1 year ago widgets-location.php 1 year ago widgets.php 3 years ago
widgets-export.php
46 lines
1 <?php
2 /**
3 * Contents of the Import/Export popup in the widgets screen.
4 *
5 * This file is included in widgets.php.
6 */
7 ?>
8
9 <div class="wpmui-form module-export">
10 <h2 class="no-pad-top"><?php esc_html_e( 'Export', 'custom-sidebars' ); ?></h2>
11 <form class="frm-export">
12 <input type="hidden" name="do" value="export" />
13 <p>
14 <i class="dashicons dashicons-info light"></i>
15 <?php
16 esc_html_e('This will generate a complete export file containing all your sidebars and the current sidebar configuration.', 'custom-sidebars');
17 ?>
18 </p>
19 <p>
20 <label for="description"><?php esc_html_e( 'Optional description for the export file:', 'custom-sidebars' ); ?></label><br />
21 <textarea id="description" name="export-description" placeholder="" cols="80" rows="3"></textarea>
22 </p>
23 <p>
24 <button class="button-primary">
25 <i class="dashicons dashicons-download"></i> <?php esc_html_e( 'Export', 'custom-sidebars' ); ?>
26 </button>
27 </p>
28 <?php wp_nonce_field( 'custom-sidebars-export' ); ?>
29 </form>
30 <hr />
31 <h2><?php esc_html_e( 'Import', 'custom-sidebars' ); ?></h2>
32 <form class="frm-preview-import">
33 <input type="hidden" name="do" value="preview-import" />
34 <p>
35 <label for="import-file"><?php esc_html_e( 'Select a file to import', 'custom-sidebars' ); ?></label>
36 <input type="file" id="import-file" name="data" />
37 </p>
38 <p>
39 <button class="button-primary">
40 <i class="dashicons dashicons-upload"></i> <?php esc_html_e( 'Preview', 'custom-sidebars' ); ?>
41 </button>
42 </p>
43 <?php wp_nonce_field( 'custom-sidebars-import' ); ?>
44 </form>
45 </div>
46