Add html escaping

This commit is contained in:
Dennis Eichhorn 2017-07-24 20:48:22 +02:00
parent 355bb6b3b5
commit f750d8a652

View File

@ -21,61 +21,61 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100"> <div class="box w-100">
<div class="tabular-2"> <div class="tabular-2">
<ul class="tab-links"> <ul class="tab-links">
<li><label for="c-tab2-1"><?= $this->getText('Overview'); ?></label> <li><label for="c-tab2-1"><?= $this->getHtml('Overview') ?></label>
<li><label for="c-tab2-2"><?= $this->getText('Month'); ?></label> <li><label for="c-tab2-2"><?= $this->getHtml('Month') ?></label>
<li><label for="c-tab2-3"><?= $this->getText('Year'); ?></label> <li><label for="c-tab2-3"><?= $this->getHtml('Year') ?></label>
<li><label for="c-tab2-4"><?= $this->getText('Top10'); ?></label> <li><label for="c-tab2-4"><?= $this->getHtml('Top10') ?></label>
<li><label for="c-tab2-5"><?= $this->getText('Charts'); ?></label> <li><label for="c-tab2-5"><?= $this->getHtml('Charts') ?></label>
</ul> </ul>
<div class="tab-content"> <div class="tab-content">
<input type="radio" id="c-tab2-1" name="tabular-2" checked> <input type="radio" id="c-tab2-1" name="tabular-2" checked>
<div class="tab"> <div class="tab">
<section class="box wf-100 floatLeft"> <section class="box wf-100 floatLeft">
<table class="table red"> <table class="table red">
<caption><?= $this->getText('Overview') ?></caption> <caption><?= $this->getHtml('Overview'); ?></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getText('Type'); ?> <td><?= $this->getHtml('Type') ?>
<td><?= $this->getText('LastMonth'); ?> <td><?= $this->getHtml('LastMonth') ?>
<td><?= $this->getText('CurrentMonth'); ?> <td><?= $this->getHtml('CurrentMonth') ?>
<td><?= $this->getText('Change'); ?> <td><?= $this->getHtml('Change') ?>
<td><?= $this->getText('LastYear'); ?> <td><?= $this->getHtml('LastYear') ?>
<td><?= $this->getText('CurrentYear'); ?> <td><?= $this->getHtml('CurrentYear') ?>
<td><?= $this->getText('Change'); ?> <td><?= $this->getHtml('Change') ?>
<td><?= $this->getText('LastYearAcc'); ?> <td><?= $this->getHtml('LastYearAcc') ?>
<td><?= $this->getText('CurrentYearAcc'); ?> <td><?= $this->getHtml('CurrentYearAcc') ?>
<td><?= $this->getText('Change'); ?> <td><?= $this->getHtml('Change') ?>
<td><?= $this->getText('LastYear'); ?> <td><?= $this->getHtml('LastYear') ?>
<td><?= $this->getText('Forecast'); ?> <td><?= $this->getHtml('Forecast') ?>
<td><?= $this->getText('Change'); ?> <td><?= $this->getHtml('Change') ?>
<tbody> <tbody>
<tr><th><?= $this->getText('Domestic'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Domestic') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Export'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Export') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Developed'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Developed') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Undeveloped'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Undeveloped') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Europe'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Europe') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('America'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('America') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Asia'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Asia') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Africa'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Africa') ?><td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th><?= $this->getText('Total'); ?><td><td><td><td><td><td><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Total') ?><td><td><td><td><td><td><td><td><td><td><td><td>
</table> </table>
</section> </section>
<section class="box wf-100 floatLeft"> <section class="box wf-100 floatLeft">
<table class="table red"> <table class="table red">
<caption><?= $this->getText('Misc') ?></caption> <caption><?= $this->getHtml('Misc'); ?></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getText('Type'); ?> <td><?= $this->getHtml('Type') ?>
<td><?= $this->getText('LastYear'); ?> <td><?= $this->getHtml('LastYear') ?>
<td><?= $this->getText('CurrentYear'); ?> <td><?= $this->getHtml('CurrentYear') ?>
<td><?= $this->getText('LastMonth'); ?> <td><?= $this->getHtml('LastMonth') ?>
<td><?= $this->getText('CurrentMonth'); ?> <td><?= $this->getHtml('CurrentMonth') ?>
<td><?= $this->getText('Yesterday'); ?> <td><?= $this->getHtml('Yesterday') ?>
<td><?= $this->getText('Today'); ?> <td><?= $this->getHtml('Today') ?>
<tbody> <tbody>
<tr><th><?= $this->getText('Customers'); ?><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Customers') ?><td><td><td><td><td><td>
<tr><th><?= $this->getText('Invoices'); ?><td><td><td><td><td><td> <tr><th><?= $this->getHtml('Invoices') ?><td><td><td><td><td><td>
</table> </table>
</section> </section>
</div> </div>
@ -83,15 +83,15 @@ echo $this->getData('nav')->render(); ?>
<div class="tab tab-2"> <div class="tab tab-2">
<section class="box wf-100 floatLeft"> <section class="box wf-100 floatLeft">
<table class="table red"> <table class="table red">
<caption><?= $this->getText('Month') ?></caption> <caption><?= $this->getHtml('Month'); ?></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getText('Day'); ?> <td><?= $this->getHtml('Day') ?>
<td><?= $this->getText('Day'); ?> <td><?= $this->getHtml('Day') ?>
<td><?= $this->getText('LastMonth'); ?> <td><?= $this->getHtml('LastMonth') ?>
<td><?= $this->getText('CurrentMonth'); ?> <td><?= $this->getHtml('CurrentMonth') ?>
<td><?= $this->getText('Change'); ?> <td><?= $this->getHtml('Change') ?>
<td><?= $this->getText('ChangeAcc'); ?> <td><?= $this->getHtml('ChangeAcc') ?>
<tbody> <tbody>
<tr><td><td><td><td><td><td> <tr><td><td><td><td><td><td>
</table> </table>
@ -101,22 +101,22 @@ echo $this->getData('nav')->render(); ?>
<div class="tab tab-3"> <div class="tab tab-3">
<section class="box wf-100 floatLeft"> <section class="box wf-100 floatLeft">
<table class="table red"> <table class="table red">
<caption><?= $this->getText('Year') ?></caption> <caption><?= $this->getHtml('Year'); ?></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getText('Year'); ?> <td><?= $this->getHtml('Year') ?>
<td><?= $this->getText('January'); ?> <td><?= $this->getHtml('January') ?>
<td><?= $this->getText('February'); ?> <td><?= $this->getHtml('February') ?>
<td><?= $this->getText('March'); ?> <td><?= $this->getHtml('March') ?>
<td><?= $this->getText('April'); ?> <td><?= $this->getHtml('April') ?>
<td><?= $this->getText('May'); ?> <td><?= $this->getHtml('May') ?>
<td><?= $this->getText('June'); ?> <td><?= $this->getHtml('June') ?>
<td><?= $this->getText('July'); ?> <td><?= $this->getHtml('July') ?>
<td><?= $this->getText('August'); ?> <td><?= $this->getHtml('August') ?>
<td><?= $this->getText('September'); ?> <td><?= $this->getHtml('September') ?>
<td><?= $this->getText('October'); ?> <td><?= $this->getHtml('October') ?>
<td><?= $this->getText('November'); ?> <td><?= $this->getHtml('November') ?>
<td><?= $this->getText('December'); ?> <td><?= $this->getHtml('December') ?>
<tbody> <tbody>
<tr><th>2013<td><td><td><td><td><td><td><td><td><td><td><td> <tr><th>2013<td><td><td><td><td><td><td><td><td><td><td><td>
<tr><th>2014<td><td><td><td><td><td><td><td><td><td><td><td> <tr><th>2014<td><td><td><td><td><td><td><td><td><td><td><td>
@ -134,21 +134,21 @@ echo $this->getData('nav')->render(); ?>
<div class="tab tab-4"> <div class="tab tab-4">
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Customers'); ?></h1> <h1><?= $this->getHtml('Customers') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
</section> </section>
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Products'); ?></h1> <h1><?= $this->getHtml('Products') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
</section> </section>
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Employees'); ?></h1> <h1><?= $this->getHtml('Employees') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
@ -158,28 +158,28 @@ echo $this->getData('nav')->render(); ?>
<div class="tab tab-5"> <div class="tab tab-5">
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Domestic/Export'); ?></h1> <h1><?= $this->getHtml('Domestic/Export') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
</section> </section>
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Developed/Undeveloped'); ?></h1> <h1><?= $this->getHtml('Developed/Undeveloped') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
</section> </section>
<section class="box w-33 floatLeft"> <section class="box w-33 floatLeft">
<header> <header>
<h1><?= $this->getText('Continents'); ?></h1> <h1><?= $this->getHtml('Continents') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>
</section> </section>
<section class="box w-100 floatLeft"> <section class="box w-100 floatLeft">
<header> <header>
<h1><?= $this->getText('Development'); ?></h1> <h1><?= $this->getHtml('Development') ?></h1>
</header> </header>
<div class="inner"> <div class="inner">
</div> </div>