Current Path: > home > codekrsu > > shopceylon.store > wp-content > plugins > code-snippets > php > > views
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
partials | Directory | - | - | |
import.php | File | 3572 bytes | February 14 2025 13:16:14. | |
manage.php | File | 3935 bytes | February 14 2025 13:16:14. | |
welcome.php | File | 7015 bytes | February 14 2025 13:16:14. |
<?php /** * HTML for the Import Snippets page. * * @package Code_Snippets * @subpackage Views */ namespace Code_Snippets; /** * Loaded from import menu. * * @var Import_Menu $this */ if ( ! defined( 'ABSPATH' ) ) { return; } $max_size_bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() ); ?> <div class="wrap"> <h1> <?php esc_html_e( 'Import Snippets', 'code-snippets' ); if ( code_snippets()->is_compact_menu() ) { $this->render_page_title_actions( [ 'manage', 'add', 'settings' ] ); } ?> </h1> <?php $this->print_messages(); ?> <div class="narrow"> <p><?php esc_html_e( 'Upload one or more Code Snippets export files and the snippets will be imported.', 'code-snippets' ); ?></p> <p> <?php /* translators: %s: link to snippets admin menu */ $text = __( 'Afterward, you will need to visit the <a href="%s" >All Snippets</a> page to activate the imported snippets.', 'code-snippets' ); $url = esc_url( code_snippets()->get_menu_url( 'manage' ) ); echo wp_kses( sprintf( $text, $url ), array( 'a' => array( 'href' => array(), 'target' => array(), ) ) ); ?> </p> <form enctype="multipart/form-data" id="import-upload-form" method="post" class="wp-upload-form" name="code_snippets_import"> <?php wp_nonce_field( 'import_code_snippets_file' ); ?> <h2><?php esc_html_e( 'Duplicate Snippets', 'code-snippets' ); ?></h2> <p class="description"> <?php esc_html_e( 'What should happen if an existing snippet is found with an identical name to an imported snippet?', 'code-snippets' ); ?> </p> <fieldset> <p> <label> <input type="radio" name="duplicate_action" value="ignore" checked="checked"> <?php esc_html_e( 'Ignore any duplicate snippets: import all snippets from the file regardless and leave all existing snippets unchanged.', 'code-snippets' ); ?> </label> </p> <p> <label> <input type="radio" name="duplicate_action" value="replace"> <?php esc_html_e( 'Replace any existing snippets with a newly imported snippet of the same name.', 'code-snippets' ); ?> </label> </p> <p> <label> <input type="radio" name="duplicate_action" value="skip"> <?php esc_html_e( 'Do not import any duplicate snippets; leave all existing snippets unchanged.', 'code-snippets' ); ?> </label> </p> </fieldset> <h2><?php esc_html_e( 'Upload Files', 'code-snippets' ); ?></h2> <p class="description"> <?php esc_html_e( 'Choose one or more Code Snippets (.xml or .json) files to upload, then click "Upload files and import".', 'code-snippets' ); ?> </p> <fieldset> <p> <label for="upload"><?php esc_html_e( 'Choose files from your computer:', 'code-snippets' ); ?></label> <?php /* translators: %s: size in bytes */ printf( esc_html__( '(Maximum size: %s)', 'code-snippets' ), esc_html( size_format( $max_size_bytes ) ) ); ?> <input type="file" id="upload" name="code_snippets_import_files[]" size="25" accept="application/json,.json,text/xml" multiple="multiple"> <input type="hidden" name="action" value="save"> <input type="hidden" name="max_file_size" value="<?php echo esc_attr( $max_size_bytes ); ?>"> </p> </fieldset> <?php do_action( 'code_snippets/admin/import_form' ); submit_button( __( 'Upload files and import', 'code-snippets' ) ); ?> </form> </div> </div>
SILENT KILLER Tool