Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/wp-tag-groups/views/admin/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/wp-tag-groups/views/admin/settings_tools_export_import.view.php |
<div class="tg_settings_tabs_content">
<p>
<form method="POST" action="<?php esc_url( $_SERVER['REQUEST_URI'] ) ?>">
<h3><?php _e( 'Export', 'tag-groups' ) ?><span class="dashicons dashicons-editor-help chatty-mango-help-icon" data-topic="export"></span></h3>
<div class="chatty-mango-help-container chatty-mango-help-container-export" style="display:none;">
<input type="hidden" name="tag-groups-export-nonce" id="tag-groups-export-nonce" value="<?php echo wp_create_nonce( 'tag-groups-export' ) ?>" />
<p><?php _e( 'Use this button to export all Tag Groups settings and groups and all terms that are assigned to a group into files.', 'tag-groups' ) ?></p>
<p><?php _e( "You can import both files separately. Category hierarchy won't be saved. When you restore terms that were deleted, they receive new IDs and you must assign them to posts again. Exporting cannot substitute a backup.", 'tag-groups' ) ?></p>
</div>
<input type="hidden" id="action" name="tg_action" value="export">
<p><input class="button-primary" type="submit" name="export" value="<?php _e( 'Export Files', 'tag-groups' ) ?>" id="submitbutton" /></p>
</form>
</p>
<p> </p>
<p>
<form method="POST" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ) ?>" enctype="multipart/form-data">
<h3><?php _e( 'Import', 'tag-groups' ) ?><span class="dashicons dashicons-editor-help chatty-mango-help-icon" data-topic="import"></span></h3>
<div class="chatty-mango-help-container chatty-mango-help-container-import" style="display:none;">
<input type="hidden" name="tag-groups-import-nonce" id="tag-groups-import-nonce" value="<?php echo wp_create_nonce( 'tag-groups-import' ) ?>" />
<p><?php _e( 'Below you can import previously exported settings/groups or terms from a file.', 'tag-groups' ) ?></p>
<p<?php _e( 'It is recommended to back up the database of your site before proceeding.', 'tag-groups' ) ?></p>
</div>
<input type="hidden" id="action" name="tg_action" value="import">
<p><input type="file" id="settings_file" name="settings_file"></p>
<p><input class="button-primary" type="submit" name="import" value="<?php _e( 'Import File', 'tag-groups' ) ?>" id="submitbutton" /></p>
</form>
</p>
</div>