PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.2
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Views / Mails / tmpl / listing_import.php

listing_import.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.2, at back/Views/Mails/tmpl/listing_import.php

48 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- View file, its variables are local to the include scope, not true globals.
3 defined('ABSPATH') || die('Restricted Access');
4
5 $postMaxSize = ini_get('post_max_size');
6 $uploadMaxSize = ini_get('upload_max_filesize');
7 $maxSize = acym_translationSprintf(
8 'ACYM_MAX_UPLOAD',
9 acym_bytes($uploadMaxSize) > acym_bytes($postMaxSize) ? $postMaxSize : $uploadMaxSize
10 );
11 ?>
12
13 <div class="cell grid-x align-center" id="acym__template__import">
14 <div class="cell margin-top-2 margin-bottom-2 large-7 medium-10 grid-x">
15 <div class="acym__template__import__info cell grid-x ">
16 <?php echo esc_html(acym_translation('ACYM_IMPORT_INFO')); ?>
17 <ul class="acym__ul">
18 <li><?php echo esc_html(acym_translation('ACYM_TEMLPATE_ZIP_IMPORT')); ?></li>
19 <ul class="acym__ul">
20 <li>/template.html -> <?php echo esc_html(acym_translation('ACYM_TEMPLATE_HTML_IMPORT').' ('.acym_translation('ACYM_REQUIRED')); ?>)</li>
21 <li>/css -> <?php echo esc_html(acym_translation('ACYM_TEMPLATE_CSS_IMPORT').' ('.acym_translation('ACYM_OPTIONAL')); ?>)</li>
22 <li>/images -> <?php echo esc_html(acym_translation('ACYM_TEMPLATE_IMAGES_IMPORT').' ('.acym_translation('ACYM_OPTIONAL')); ?>)</li>
23 <li>/thumbnail.png -> <?php echo esc_html(acym_translation('ACYM_TEMPLATE_THUMBNAIL_IMPORT').' ('.acym_translation('ACYM_OPTIONAL')); ?>)</li>
24 </ul>
25 </ul>
26 </div>
27 <div class="cell grid-x align-center">
28 <img id="acym__template__import__image__template" src="<?php echo esc_url(ACYM_IMAGES.'templates/template.png'); ?>" alt="template picture" class="cell shrink">
29 <input type="file" name="uploadedfile" class="cell" />
30 <div class="cell align-center grid-x grid-margin-x acym_vcenter">
31 <button type="button" class="cell shrink button button-secondary" id="acym__template__import__file"><?php echo esc_html(
32 acym_translation('ACYM_CHOOSE_FILE')
33 ); ?></button>
34 <p class="cell shrink" id="acym__template__import__filename"><?php echo esc_html(acym_translation('ACYM_NO_FILE_CHOSEN')); ?></p>
35 </div>
36 <div class="cell text-center margin-top-1"><?php echo esc_html($maxSize); ?></div>
37 <div class="cell grid-x align-center margin-top-3">
38 <button type="button" data-task="doUploadTemplate" class="acy_button_submit button cell shrink"><?php echo esc_html(
39 acym_translation('ACYM_IMPORT')
40 ); ?></button>
41 </div>
42 </div>
43 </div>
44 </div>
45 <img src="<?php echo esc_url(ACYM_IMAGES.'templates/spaceman_template.png'); ?>" alt="spaceman with smoke" id="acym__template__import__image__spaceman">
46 <img src="<?php echo esc_url(ACYM_IMAGES.'templates/smoke_rocket.png'); ?>" alt="smoke of rocket" id="acym__template__import__image__smoke">
47
48