| @@ -1,27 +1,0 @@ | ||
| 1 | -<div id="acym__dtext__picker" class="is-hidden"> | |
| 2 | - <div id="acym__dtext__picker__modal" class="padding-1"> | |
| 3 | - <i class="acymicon-close" id="acym__dtext__picker__modal__close"></i> | |
| 4 | - <div class="grid-x grid-margin-x align-center"> | |
| 5 | - <input type="text" id="acym__dtext__picker__modal__code" class="cell small-8 medium-4" readonly="readonly" /> | |
| 6 | - <button type="button" id="acym__dtext__picker__modal__insert" class="cell small-4 medium-shrink button button-primary"> | |
| 7 | - <?php echo acym_escape(acym_translation('ACYM_INSERT')); ?> | |
| 8 | - </button> | |
| 9 | - </div> | |
| 10 | - <?php | |
| 11 | - foreach ($data['plugins'] as $onePlugin) { | |
| 12 | - if (!empty($data['options']['context']) && empty($onePlugin->{$data['options']['context']})) { | |
| 13 | - continue; | |
| 14 | - } | |
| 15 | - | |
| 16 | - if (is_object($onePlugin) && property_exists($onePlugin, 'name')) { | |
| 17 | - $data['tabHelper']->startTab($onePlugin->name); | |
| 18 | - $defaultValues = new \stdClass(); | |
| 19 | - acym_trigger('textPopup', [$defaultValues], $onePlugin->plugin); | |
| 20 | - $data['tabHelper']->endTab(); | |
| 21 | - } | |
| 22 | - } | |
| 23 | - | |
| 24 | - $data['tabHelper']->display('dtext_picker'); | |
| 25 | - ?> | |
| 26 | - </div> | |
| 27 | -</div> | |