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