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/Fields/tmpl/edit.php +4 -11 10.2.2 → 11.1.0 View file →
@@ -1,13 +1,10 @@
1 1 <?php
2 -$beforeSave = '';
3 -if (!empty($data['translation_languages'])) {
4 - $beforeSave = 'acym-data-before="acym_helperSelectionMultilingual.changeLanguage_field(acym_helperSelectionMultilingual.mainLanguage)"';
5 -}
2 +defined('ABSPATH') || die('Restricted Access');
6 3 ?>
7 -<form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm" data-abide novalidate>
4 +<form id="acym_form" action="<?php echo esc_url(acym_completeLink(acym_getVar('cmd', 'ctrl'))); ?>" method="post" name="acyForm" data-abide novalidate>
8 5 <input type="hidden" name="fieldId" value="<?php echo empty($data['field']->id) ? '' : intval($data['field']->id); ?>">
9 - <input type="hidden" name="field[namekey]" value="<?php echo empty($data['field']->namekey) ? '' : acym_escape($data['field']->namekey); ?>">
6 + <input type="hidden" name="field[namekey]" value="<?php echo empty($data['field']->namekey) ? '' : esc_attr($data['field']->namekey); ?>">
10 7 <div id="acym__fields__edit" class="acym__content grid-x cell">
11 8 <?php include acym_getView('fields', 'edit_actions'); ?>
12 9
13 10 <div class="cell grid-x grid-margin-x">
@@ -15,13 +12,9 @@
15 12 <?php include acym_getView('fields', 'edit_information'); ?>
16 13 <?php include acym_getView('fields', 'edit_display'); ?>
17 14 </div>
18 15
19 - <?php
20 - $classes = 'cell xlarge-8 grid-x grid-margin-x margin-y margin-bottom-1';
21 - $classes .= ' acym__content acym__fields__edit__properties acym_center_baseline';
22 - ?>
23 - <div class="<?php echo $classes; ?>">
16 + <div class="cell xlarge-8 grid-x grid-margin-x margin-y margin-bottom-1 acym__content acym__fields__edit__properties acym_center_baseline">
24 17 <?php include acym_getView('fields', 'edit_content'); ?>
25 18 <?php include acym_getView('fields', 'edit_style'); ?>
26 19 <?php include acym_getView('fields', 'edit_values'); ?>
27 20 </div>