mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-01-25 14:58:41 +00:00
Add html escaping
This commit is contained in:
parent
5574a7ccd5
commit
6b23b83fb5
|
|
@ -29,9 +29,9 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="box w-100">
|
||||
<div class="tabular">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getText('Start') ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->getText('Insert') ?></label>
|
||||
<li><label for="c-tab-3"><?= $this->getText('Layout') ?></label>
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Start'); ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->getHtml('Insert'); ?></label>
|
||||
<li><label for="c-tab-3"><?= $this->getHtml('Layout'); ?></label>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-1" checked>
|
||||
|
|
@ -88,8 +88,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="box w-100">
|
||||
<div class="tabular">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab2-1"><?= $this->getText('Text') ?></label>
|
||||
<li><label for="c-tab2-2"><?= $this->getText('Preview') ?></label>
|
||||
<li><label for="c-tab2-1"><?= $this->getHtml('Text'); ?></label>
|
||||
<li><label for="c-tab2-2"><?= $this->getHtml('Preview'); ?></label>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab2-1" name="tabular-2" checked>
|
||||
|
|
@ -107,12 +107,12 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout">
|
||||
<tr><td colspan="2"><label><?= $this->getText('Permission') ?></label>
|
||||
<tr><td colspan="2"><label><?= $this->getHtml('Permission'); ?></label>
|
||||
<tr><td><select>
|
||||
<option>
|
||||
</select>
|
||||
<tr><td colspan="2"><label><?= $this->getText('GroupUser') ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->getText('Add') ?></button>
|
||||
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->getHtml('Add'); ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -24,20 +24,20 @@ $footerView->setPage(1);
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
<div class="box">
|
||||
<table class="table red">
|
||||
<caption><?= $this->getText('Documents'); ?></caption>
|
||||
<caption><?= $this->getHtml('Documents') ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||
<td><?= $this->getText('Creator'); ?>
|
||||
<td><?= $this->getText('Created'); ?>
|
||||
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
||||
<td><?= $this->getHtml('Creator') ?>
|
||||
<td><?= $this->getHtml('Created') ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3"><?= $footerView->render(); ?>
|
||||
<td colspan="3"><?= htmlspecialchars($footerView->render(), ENT_COMPAT, 'utf-8'); ?>
|
||||
<tbody>
|
||||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getText('Empty', 0, 0); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user