mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-14 10:38:41 +00:00
27 lines
1.3 KiB
PHP
27 lines
1.3 KiB
PHP
<div id="<?= $this->printHtml($this->getId()); ?>" class="tabview tab-2 m-editor">
|
|
<ul class="tab-links">
|
|
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-1"><?= $this->getHtml('Text', 'Editor'); ?></label>
|
|
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-2"><?= $this->getHtml('Preview', 'Editor'); ?></label>
|
|
</ul>
|
|
<div class="tab-content">
|
|
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-1" name="tabular-1" checked>
|
|
<div class="tab">
|
|
<textarea
|
|
style="height: 300px"
|
|
placeholder=""
|
|
name="<?= $this->printHtml($this->getName()); ?>"
|
|
form="<?= $this->printHtml($this->getForm()); ?>"
|
|
data-tpl-text="<?= $this->printHtml($this->getTplText()); ?>"
|
|
data-tpl-value="<?= $this->printHtml($this->getTplValue()); ?>">
|
|
<?= $this->printHtml($this->getPlain()); ?>
|
|
</textarea><input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-parsed">
|
|
</div>
|
|
|
|
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-2" name="tabular-1">
|
|
<div class="tab">
|
|
<section class="box wf-100">
|
|
<article><?= $this->getPreview(); ?></article>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|