PluginProbe ʕ •ᴥ•ʔ
Customizer Export/Import / trunk
Customizer Export/Import vtrunk
trunk 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.9.1 0.9.2 0.9.7 0.9.7.1 0.9.7.2 0.9.7.3 0.9.8
customizer-export-import / includes / control.php
customizer-export-import / includes Last commit date
control.php 3 years ago
control.php
33 lines
1 <span class="customize-control-title">
2 <?php _e( 'Export', 'customizer-export-import' ); ?>
3 </span>
4 <span class="description customize-control-description">
5 <?php _e( 'Click the button below to export the customization settings for this theme.', 'customizer-export-import' ); ?>
6 </span>
7 <input type="button" class="button" name="cei-export-button" value="<?php esc_attr_e( 'Export', 'customizer-export-import' ); ?>" />
8
9 <hr class="cei-hr" />
10
11 <span class="customize-control-title">
12 <?php _e( 'Import', 'customizer-export-import' ); ?>
13 </span>
14
15 <?php if ( CEI_Core::can_import() ) : ?>
16 <span class="description customize-control-description">
17 <?php _e( 'Upload a file to import customization settings for this theme.', 'customizer-export-import' ); ?>
18 </span>
19 <div class="cei-import-controls">
20 <input type="file" name="cei-import-file" class="cei-import-file" />
21 <label class="cei-import-images">
22 <input type="checkbox" name="cei-import-images" value="1" /> <?php _e( 'Download and import image files?', 'customizer-export-import' ); ?>
23 </label>
24 <?php wp_nonce_field( 'cei-importing', 'cei-import' ); ?>
25 </div>
26 <div class="cei-uploading"><?php _e( 'Uploading...', 'customizer-export-import' ); ?></div>
27 <input type="button" class="button" name="cei-import-button" value="<?php esc_attr_e( 'Import', 'customizer-export-import' ); ?>" />
28 <?php else : ?>
29 <span class="description customize-control-description">
30 <?php _e( 'You must have the ability to install plugins to upload an export file. Please contact the site administrator for assistance.', 'customizer-export-import' ); ?>
31 </span>
32 <?php endif; ?>
33