oms-Editor/Theme/Backend/Components/Editor/inline-editor.tpl.php

24 lines
1.2 KiB
PHP

<div id="<?= $this->renderId(); ?>" class="tabview tab-2 m-editor">
<ul class="tab-links">
<li><label for="<?= $this->renderId(); ?>-c-tab-1"><?= $this->getHtml('Text', 'Editor'); ?></label>
<li><label for="<?= $this->renderId(); ?>-c-tab-2"><?= $this->getHtml('Preview', 'Editor'); ?></label>
</ul>
<div class="tab-content">
<input type="radio" id="<?= $this->renderId(); ?>-c-tab-1" name="tabular-1" checked>
<div class="tab">
<textarea
id="i<?= $this->renderName(); ?>"
style="height: 300px"
name="<?= $this->renderName(); ?>"
form="<?= $this->renderForm(); ?>"
data-tpl-text="<?= $this->renderTplText(); ?>"
data-tpl-value="<?= $this->renderTplValue(); ?>"><?= $this->renderPlain(); ?></textarea>
<input type="hidden" id="<?= $this->renderId(); ?>-parsed">
</div>
<input type="radio" id="<?= $this->renderId(); ?>-c-tab-2" name="tabular-1">
<div class="tab">
<article data-tpl-text="<?= $this->renderTplText(); ?>" data-tpl-value="<?= $this->renderTplValue(); ?>"><?= $this->renderPreview(); ?></article>
</div>
</div>
</div>