PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
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
← All changes | back/Views/Language/tmpl/default.php +40 -31 10.2.2 → 11.1.0 View file →
@@ -1,36 +1,45 @@
1 -<form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm">
2 - <div id="acym_content" class="acym__language__modal popup_size">
3 - <div class="cell grid-x grid-margin-x text-right margin-bottom-0 margin-y">
4 - <h1 class="cell medium-auto medium-text-left text-center hide-for-small-only hide-for-medium-only acym__title acym__title__secondary">
5 - <?php echo acym_translation('ACYM_FILE').' : '.$data['file']->name; ?>
6 - </h1>
1 +<?php
2 +defined('ABSPATH') || die('Restricted Access');
3 +?>
4 +<form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm">
5 + <div id="acym_content" class="acym__language__modal popup_size">
6 + <div class="cell grid-x grid-margin-x text-right margin-bottom-0 margin-y">
7 + <h1 class="cell medium-auto medium-text-left text-center hide-for-small-only hide-for-medium-only acym__title acym__title__secondary">
8 + <?php echo esc_html(acym_translation('ACYM_FILE').' : '.$data['file']->name); ?>
9 + </h1>
7 10 <?php
8 11 ?>
9 - <a href="#customcontent" id="edit_translation" class="cell medium-6 large-shrink button button-secondary"><?php echo acym_translation('ACYM_EDIT'); ?></a>
10 - <button data-task="saveLanguage" class="acy_button_submit button medium-6 large-shrink cell">
11 - <?php echo acym_translation('ACYM_SAVE'); ?>
12 - </button>
13 - </div>
14 - <div class="cell acym__language__modal__existing acym__content<?php if (ACYM_CMS === 'wordpress') echo ' is-hidden'; ?>">
15 - <i id="load_latest_spinner" class="acymicon-circle-o-notch acymicon-spin" style="display: none;"></i>
16 - <textarea readonly rows="18" name="content" id="translation" class="acym__language__modal__existing__translation"><?php echo str_replace(
17 - '&',
18 - '&amp;',
19 - $data['file']->content
12 + <a href="#customcontent" id="edit_translation" class="cell medium-6 large-shrink button button-secondary"><?php echo esc_html(
13 + acym_translation('ACYM_EDIT')
14 + ); ?></a>
15 + <button data-task="saveLanguage" class="acy_button_submit button medium-6 large-shrink cell">
16 + <?php echo esc_html(acym_translation('ACYM_SAVE')); ?>
17 + </button>
18 + </div>
19 + <div class="cell acym__language__modal__existing acym__content<?php if (ACYM_CMS === 'wordpress') echo ' is-hidden'; ?>">
20 + <i id="load_latest_spinner" class="acymicon-circle-o-notch acymicon-spin" style="display: none;"></i>
21 + <textarea readonly rows="18" name="content" id="translation" class="acym__language__modal__existing__translation"><?php echo esc_html(
22 + str_replace(
23 + '&',
24 + '&amp;',
25 + $data['file']->content
26 + )
20 27 ); ?></textarea>
21 - </div>
22 - <div class="grid-x acym__content acym__language__modal__custom margin-top-2" id="customcontent">
23 - <h6 class="cell large-7 acym__title acym__title__secondary margin-bottom-0"><?php echo acym_translation('ACYM_CUSTOM_TRANS'); ?></h6>
24 - <div class="cell large-5 grid-x align-right">
25 - <button id="copy_translations" class="button"><?php echo acym_translation('ACYM_COPY_DEFAULT_TRANSLATIONS'); ?></button>
26 - </div>
27 - <div class="cell margin-top-1">
28 - <?php echo acym_translation('ACYM_CUSTOM_TRANS_DESC'); ?>
29 - <textarea rows="10" name="customcontent" class="acym__language__modal__body"><?php echo str_replace('&', '&amp;', $data['file']->customcontent); ?></textarea>
30 - </div>
31 - </div>
32 - <div class="clr"></div>
33 - <input type="hidden" name="code" value="<?php echo acym_escape($data['file']->name); ?>" />
28 + </div>
29 + <div class="grid-x acym__content acym__language__modal__custom margin-top-2" id="customcontent">
30 + <h6 class="cell large-7 acym__title acym__title__secondary margin-bottom-0"><?php echo esc_html(acym_translation('ACYM_CUSTOM_TRANS')); ?></h6>
31 + <div class="cell large-5 grid-x align-right">
32 + <button id="copy_translations" class="button"><?php echo esc_html(acym_translation('ACYM_COPY_DEFAULT_TRANSLATIONS')); ?></button>
33 + </div>
34 + <div class="cell margin-top-1">
35 + <?php echo esc_html(acym_translation('ACYM_CUSTOM_TRANS_DESC')); ?>
36 + <textarea rows="10" name="customcontent" class="acym__language__modal__body"><?php echo esc_html(
37 + str_replace('&', '&amp;', $data['file']->customcontent)
38 + ); ?></textarea>
39 + </div>
40 + </div>
41 + <div class="clr"></div>
42 + <input type="hidden" name="code" value="<?php echo esc_attr($data['file']->name); ?>" />
34 43 <?php acym_formOptions(); ?>
35 - </div>
44 + </div>
36 45 </form>