| @@ -1,40 +1,0 @@ | ||
| 1 | -<div id="acym__wysid__context__text" style="display: none" class="grid-x padding-1"> | |
| 2 | - <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> | |
| 3 | - <?php echo acym_translation('ACYM_DYNAMIC_TEXT_TYPE').acym_info(['textShownInTooltip' => 'ACYM_DYNAMIC_TEXT_TYPE_DESC']); ?> | |
| 4 | - <i class="acymicon-keyboard-arrow-up"></i> | |
| 5 | - </p> | |
| 6 | - <div class="grid-x cell acym__wysid__context__modal__container grid-margin-x margin-y"> | |
| 7 | - <?php | |
| 8 | - foreach ($data['plugins'] as $onePlugin) { | |
| 9 | - if (empty($onePlugin)) continue; | |
| 10 | - | |
| 11 | - echo '<button type="button" | |
| 12 | - class="cell medium-6 button button-secondary" | |
| 13 | - acym-button-switch-type="'.$onePlugin->plugin.'">'.$onePlugin->name.'</button>'; | |
| 14 | - | |
| 15 | - $data['tabHelper']->startTab($onePlugin->plugin); | |
| 16 | - $defaultValues = new \stdClass(); | |
| 17 | - acym_trigger('textPopup', [$defaultValues], $onePlugin->plugin); | |
| 18 | - $data['tabHelper']->endTab(); | |
| 19 | - } | |
| 20 | - ?> | |
| 21 | - </div> | |
| 22 | - <p class="cell acym__wysid__right__toolbar__p__open acym__wysid__right__toolbar__p acym__title"> | |
| 23 | - <?php echo acym_translation('ACYM_CONTENT_TO_INSERT').acym_info(['textShownInTooltip' => 'ACYM_CONTENT_TO_INSERT_DESC']); ?> | |
| 24 | - <i class="acymicon-keyboard-arrow-up"></i> | |
| 25 | - </p> | |
| 26 | - <div class="grid-x cell acym__wysid__context__modal__container grid-margin-x margin-y"> | |
| 27 | - <?php $data['tabHelper']->display('dtext_options'); ?> | |
| 28 | - </div> | |
| 29 | - <div id="acym__dynamic__texts__insert__zone" class="cell grid-x"> | |
| 30 | - <input title="<?php echo acym_translation('ACYM_DYNAMIC_TEXT'); ?>" | |
| 31 | - type="text" | |
| 32 | - class="cell large-auto margin-right-1" | |
| 33 | - id="dtextcode" | |
| 34 | - name="dtextcode" | |
| 35 | - value=""> | |
| 36 | - <div class="cell large-shrink"> | |
| 37 | - <button type="button" class="button" id="insertButton"><?php echo acym_translation('ACYM_INSERT_DYNAMIC_TEXT'); ?></button> | |
| 38 | - </div> | |
| 39 | - </div> | |
| 40 | -</div> | |