mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-01-11 14:28:40 +00:00
Dynamic language loading
This commit is contained in:
parent
73db2a96aa
commit
9c094e250f
|
|
@ -30,8 +30,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="box w-100">
|
||||
<div class="tabular">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->l11n->getText('Draw', 'Start') ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->l11n->getText('Draw', 'Layout') ?></label>
|
||||
<li><label for="c-tab-1"><?= $this->l11n->getText('Draw', 'Backend', 'Start') ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->l11n->getText('Draw', 'Backend', 'Layout') ?></label>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-1" checked>
|
||||
|
|
@ -72,12 +72,12 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout">
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Permission') ?></label>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Backend', 'Permission') ?></label>
|
||||
<tr><td><select>
|
||||
<option>
|
||||
</select>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'GroupUser') ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->l11n->getText(0, 'Add') ?></button>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Backend', 'GroupUser') ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->l11n->getText(0, 'Backend', 'Add') ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ $footerView->setPage(1);
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
<div class="box">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Draw', 'Images'); ?></caption>
|
||||
<caption><?= $this->l11n->getText('Draw', 'Backend', 'Images'); ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Draw', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Creator'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Created'); ?>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Draw', 'Backend', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Backend', 'Creator'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Backend', 'Created'); ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3"><?= $footerView->render(); ?>
|
||||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="box w-100">
|
||||
<div class="tabular">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->l11n->getText('Draw', 'Start') ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->l11n->getText('Draw', 'Layout') ?></label>
|
||||
<li><label for="c-tab-1"><?= $this->l11n->getText('Draw', 'Backend', 'Start') ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->l11n->getText('Draw', 'Backend', 'Layout') ?></label>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-1" checked>
|
||||
|
|
@ -72,12 +72,12 @@ echo $this->getData('nav')->render(); ?>
|
|||
<div class="inner">
|
||||
<form>
|
||||
<table class="layout">
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Permission') ?></label>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Backend', 'Permission') ?></label>
|
||||
<tr><td><select>
|
||||
<option>
|
||||
</select>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'GroupUser') ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->l11n->getText(0, 'Add') ?></button>
|
||||
<tr><td colspan="2"><label><?= $this->l11n->getText('Draw', 'Backend', 'GroupUser') ?></label>
|
||||
<tr><td><input id="iPermission" name="group" type="text" placeholder=""><td><button><?= $this->l11n->getText(0, 'Backend', 'Add') ?></button>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ $footerView->setPage(1);
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
<div class="box">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Draw', 'Images'); ?></caption>
|
||||
<caption><?= $this->l11n->getText('Draw', 'Backend', 'Images'); ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Draw', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Creator'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Created'); ?>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Draw', 'Backend', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Backend', 'Creator'); ?>
|
||||
<td><?= $this->l11n->getText('Draw', 'Backend', 'Created'); ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3"><?= $footerView->render(); ?>
|
||||
|
|
@ -38,7 +38,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user