PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.0.5
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.0.5
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 / Partial / editor / website_content.php

website_content.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 11.0.5, at back/Partial/editor/website_content.php

64 lines 3.4 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 <div class="acym__popup__listing text-center grid-x">
6 <h1 class="acym__title acym__title__secondary text-center cell"><?php echo esc_html(acym_translation('ACYM_LINKS')); ?></h1>
7 <div class="grid-x medium-12 cell acym__row__no-listing text-left acym_vcenter">
8 <div class="grid-x cell medium-5 small-12 acym__listing__title acym__listing__title__dynamics acym__online__link acym_vcenter">
9 <label class="small-3 margin-bottom-0" for="acym__popup__online__tagtext"><?php echo esc_html(acym_translation('ACYM_TEXT')); ?>: </label>
10 <input class="small-9" type="text" name="tagtext" id="acym__popup__online__tagtext" readonly onchange="setOnlineTag();">
11 </div>
12 </div>
13 <div class="cell grid-x">
14 <?php foreach ($links as $tagname => $tag) {
15 $disabledClass = !empty($tag['disabled']) ? ' acym__listing__row__popup--disabled' : '';
16 $onclick = empty($tag['disabled']) ? "changeOnlineTag('".$tagname."');" : ''; ?>
17 <div class="grid-x small-12 cell acym__row__no-listing acym__listing__row__popup text-left<?php echo esc_attr($disabledClass); ?>" <?php echo empty($onclick) ? ''
18 : 'onclick="'.esc_attr($onclick).'"'; ?>
19 id="tr_<?php echo esc_attr($tagname); ?>">
20 <?php if (!empty($tag['disabled'])) {
21 acym_tooltip(['hoveredText' => $tag['desc'], 'textShownInTooltip' => $tag['tooltip'], 'classContainer' => 'cell']);
22 } else { ?>
23 <div class="cell small-12 acym__listing__title acym__listing__title__dynamics">
24 <?php
25 echo wp_kses(
26 $tag['desc'],
27 [
28 'b' => [],
29 ]
30 );
31 ?>
32 </div>
33 <?php } ?>
34 </div>
35 <?php } ?>
36 </div>
37 </div>
38
39 <div class="acym__popup__listing text-center grid-x">
40 <h1 class="acym__title acym__title__secondary text-center cell"><?php echo esc_html(acym_translation('ACYM_INFORMATION')); ?></h1>
41 <div class="cell grid-x">
42 <?php foreach ($information as $infoKey => $info) {
43 $disabledClass = empty($info['value']) ? ' acym__listing__row__popup--disabled' : '';
44 $onclick = empty($info['value']) ? '' : "changeOnlineTag('info', '".$infoKey."', true); setTag('{info:".$infoKey."}', jQuery(this));";
45 ?>
46 <div class="grid-x medium-12 cell acym__row__no-listing acym__listing__row__popup text-left<?php echo esc_attr($disabledClass); ?>"
47 <?php echo empty($onclick) ? '' : 'onclick="'.esc_attr($onclick).'"'; ?>
48 id="tr_<?php echo esc_attr($infoKey); ?>">
49 <div class="cell medium-12 small-12 acym__listing__title acym__listing__title__dynamics">
50 <?php echo esc_html($info['label']); ?> :
51 <?php if (acym_isImageUrl($info['value'])) { ?>
52 <img src="<?php echo esc_url($info['value']); ?>"
53 alt="Image"
54 style="display: inline-block; max-width: 25px; max-height: 25px; vertical-align: middle;" />
55 <?php } else { ?>
56 <?php echo esc_html($info['value']); ?>
57 <?php } ?>
58 </div>
59 </div>
60 <?php } ?>
61 </div>
62 </div>
63
64