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 / widgets-export.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-export.php
49 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 _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 _e(
17 'This will generate a complete export file containing all ' .
18 'your sidebars and the current sidebar configuration.', 'custom-sidebars'
19 );
20 ?>
21 </p>
22 <p>
23 <label for="description"><?php _e( 'Optional description for the export file:', 'custom-sidebars' ); ?></label><br />
24 <textarea id="description" name="export-description" placeholder="" cols="80" rows="3"></textarea>
25 </p>
26 <p>
27 <button class="button-primary">
28 <i class="dashicons dashicons-download"></i> <?php _e( 'Export', 'custom-sidebars' ); ?>
29 </button>
30 </p>
31 <?php wp_nonce_field( 'custom-sidebars-export' ); ?>
32 </form>
33 <hr />
34 <h2><?php _e( 'Import', 'custom-sidebars' ); ?></h2>
35 <form class="frm-preview-import">
36 <input type="hidden" name="do" value="preview-import" />
37 <p>
38 <label for="import-file"><?php _e( 'Select a file to import', 'custom-sidebars' ); ?></label>
39 <input type="file" id="import-file" name="data" />
40 </p>
41 <p>
42 <button class="button-primary">
43 <i class="dashicons dashicons-upload"></i> <?php _e( 'Preview', 'custom-sidebars' ); ?>
44 </button>
45 </p>
46 <?php wp_nonce_field( 'custom-sidebars-import' ); ?>
47 </form>
48 </div>
49