PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.2.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.2.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 10.2.2, at back/Views/Mails/tmpl/listing_import.php

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