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