Dynamic language loading

This commit is contained in:
Dennis Eichhorn 2016-07-05 19:00:30 +02:00
parent 06ec82deff
commit 9809b10c65
17 changed files with 165 additions and 165 deletions

View File

@ -1,11 +1,11 @@
<template id="entry-list-tpl">
<div id="entry-list" class="box" style="z-index: 99; position: relative; top: 20px; display: block; margin: 0 auto; width: 20%;">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Accounts'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Accounts'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<tbody>
</table>
</div>

View File

@ -28,10 +28,10 @@ $footerView->setResults(1);
<form>
<table class="layout wf-100">
<tr>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Account'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'CostObject'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'EntryDate'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'EntryDate'); ?>
<tr>
<td><span class="input"><button type="button" id="account-start" formaction="" data-action='[{"type": "popup", "tpl": "entry-list-tpl", "aniIn": "fadeIn", "aniOut": "fadeOut", "stay": 1000}]'><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
@ -41,10 +41,10 @@ $footerView->setResults(1);
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<tr>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
@ -54,7 +54,7 @@ $footerView->setResults(1);
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td colspan="4"><input type="submit" value="<?= $this->l11n->getText(0, 'Search') ?>">
<td colspan="4"><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Search') ?>">
</table>
</form>
</div>
@ -63,31 +63,31 @@ $footerView->setResults(1);
<div class="box w-100">
<div class="tabular-2">
<ul class="tab-links">
<li><label for="c-tab2-1"><?= $this->l11n->getText('Accounting', 'List'); ?></label></li>
<li><label for="c-tab2-2"><?= $this->l11n->getText('Accounting', 'Evaluation'); ?></label></li>
<li><label for="c-tab2-3"><?= $this->l11n->getText('Accounting', 'Charts'); ?></label></li>
<li><label for="c-tab2-1"><?= $this->l11n->getText('Accounting', 'Backend', 'List'); ?></label></li>
<li><label for="c-tab2-2"><?= $this->l11n->getText('Accounting', 'Backend', 'Evaluation'); ?></label></li>
<li><label for="c-tab2-3"><?= $this->l11n->getText('Accounting', 'Backend', 'Charts'); ?></label></li>
</ul>
<div class="tab-content">
<input type="radio" id="c-tab2-1" name="tabular-2" checked>
<div class="tab">
<section class="wf-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Entries') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Entries') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'EntryDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Receipt'); ?>
<td><?= $this->l11n->getText('Accounting', 'Debit'); ?>
<td><?= $this->l11n->getText('Accounting', 'Credit'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Text'); ?>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td><?= $this->l11n->getText('Accounting', 'ContraAccount'); ?>
<td><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td><?= $this->l11n->getText('Accounting', 'CostObject'); ?>
<td><?= $this->l11n->getText('Accounting', 'ReceiptDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'ExternalVoucher'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'EntryDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Receipt'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Debit'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Credit'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Text'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ContraAccount'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ReceiptDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ExternalVoucher'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr>
<td colspan="13"><?= $footerView->render(); ?>
@ -97,7 +97,7 @@ $footerView->setResults(1);
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
@ -106,55 +106,55 @@ $footerView->setResults(1);
<div class="tab tab-2">
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Accounts') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Accounts') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table floatLeft">
<caption><?= $this->l11n->getText('Accounting', 'CostCenter') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'CostObject') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>

View File

@ -16,17 +16,17 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<header><h1><?= $this->l11n->getText('Accounting', 'GL'); ?></h1></header>
<header><h1><?= $this->l11n->getText('Accounting', 'Backend', 'GL'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iId"><?= $this->l11n->getText(0, 'ID'); ?></label>
<tr><td><label for="iId"><?= $this->l11n->getText(0, 'Backend', 'ID'); ?></label>
<tr><td><input type="text" id="iId" name="id">
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?></label>
<tr><td><input type="text" id="iName" name="name">
<tr><td><label for="iParent"><?= $this->l11n->getText('Accounting', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->l11n->getText('Accounting', 'Backend', 'Parent'); ?></label>
<tr><td><input type="text" id="iParent" name="parent">
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Create'); ?>">
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>">
</table>
</form>
</div>

View File

@ -28,11 +28,11 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'GL'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'GL'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,11 +28,11 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Journal'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Journal'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,13 +28,13 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -19,19 +19,19 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<header><h1><?= $this->l11n->getText('Accounting', 'Stack'); ?></h1></header>
<header><h1><?= $this->l11n->getText('Accounting', 'Backend', 'Stack'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?></label>
<tr><td><input id="iName" name="name" type="text">
<tr><td><label for="iType"><?= $this->l11n->getText('Accounting', 'Type'); ?></label>
<tr><td><label for="iType"><?= $this->l11n->getText('Accounting', 'Backend', 'Type'); ?></label>
<tr><td><select id="iType" name="type">
<option value=""><?= $this->l11n->getText('Accounting', 'TAccount'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Incoming'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Outgoing'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'TAccount'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'Incoming'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'Outgoing'); ?>
</select>
<tr><td><input name="submit" type="submit" value="<?= $this->l11n->getText(0, 'Create'); ?>">
<tr><td><input name="submit" type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>">
</table>
</form>
</div>

View File

@ -28,13 +28,13 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td><?= $this->l11n->getText('Accounting', 'Due'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Due'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,10 +28,10 @@ $footerView->setResults(1);
<form>
<table class="layout wf-100">
<tr>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Account'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'CostObject'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'EntryDate'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'EntryDate'); ?>
<tr>
<td><span class="input"><button type="button" id="account-start" formaction="" data-action='[{"type": "popup", "tpl": "entry-list-tpl", "aniIn": "fadeIn", "aniOut": "fadeOut", "stay": 1000}]'><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
@ -41,10 +41,10 @@ $footerView->setResults(1);
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?></label>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<td><label for="iAccountStart"><?= $this->l11n->getText('Accounting', 'Backend', 'To'); ?>
<tr>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i>
</button><input type="number" id="iId" min="1" name="id" required></span>
@ -54,7 +54,7 @@ $footerView->setResults(1);
</button><input type="number" id="iId" min="1" name="id" required></span>
<td><input type="datetime-local" id="iId" min="1" name="id" required>
<tr>
<td colspan="4"><input type="submit" value="<?= $this->l11n->getText(0, 'Search') ?>">
<td colspan="4"><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Search') ?>">
</table>
</form>
</div>
@ -63,31 +63,31 @@ $footerView->setResults(1);
<div class="box w-100">
<div class="tabular-2">
<ul class="tab-links">
<li><label for="c-tab2-1"><?= $this->l11n->getText('Accounting', 'List'); ?></label></li>
<li><label for="c-tab2-2"><?= $this->l11n->getText('Accounting', 'Evaluation'); ?></label></li>
<li><label for="c-tab2-3"><?= $this->l11n->getText('Accounting', 'Charts'); ?></label></li>
<li><label for="c-tab2-1"><?= $this->l11n->getText('Accounting', 'Backend', 'List'); ?></label></li>
<li><label for="c-tab2-2"><?= $this->l11n->getText('Accounting', 'Backend', 'Evaluation'); ?></label></li>
<li><label for="c-tab2-3"><?= $this->l11n->getText('Accounting', 'Backend', 'Charts'); ?></label></li>
</ul>
<div class="tab-content">
<input type="radio" id="c-tab2-1" name="tabular-2" checked>
<div class="tab">
<section class="wf-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Entries') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Entries') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'EntryDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Receipt'); ?>
<td><?= $this->l11n->getText('Accounting', 'Debit'); ?>
<td><?= $this->l11n->getText('Accounting', 'Credit'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Text'); ?>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td><?= $this->l11n->getText('Accounting', 'ContraAccount'); ?>
<td><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td><?= $this->l11n->getText('Accounting', 'CostObject'); ?>
<td><?= $this->l11n->getText('Accounting', 'ReceiptDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'ExternalVoucher'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'EntryDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Receipt'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Debit'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Credit'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Text'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ContraAccount'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ReceiptDate'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'ExternalVoucher'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr>
<td colspan="13"><?= $footerView->render(); ?>
@ -97,7 +97,7 @@ $footerView->setResults(1);
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
@ -106,55 +106,55 @@ $footerView->setResults(1);
<div class="tab tab-2">
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Accounts') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Accounts') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table floatLeft">
<caption><?= $this->l11n->getText('Accounting', 'CostCenter') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'CostCenter'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'CostCenter'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>
<section class="box w-33 floatLeft">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'CostObject') ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'CostObject') ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText('Accounting', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Total'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Account'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Total'); ?>
<tbody>
<?php $count = 0;
foreach ([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<td colspan="13" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
<?php endif; ?>
</table>
</section>

View File

@ -16,17 +16,17 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<header><h1><?= $this->l11n->getText('Accounting', 'GL'); ?></h1></header>
<header><h1><?= $this->l11n->getText('Accounting', 'Backend', 'GL'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iId"><?= $this->l11n->getText(0, 'ID'); ?></label>
<tr><td><label for="iId"><?= $this->l11n->getText(0, 'Backend', 'ID'); ?></label>
<tr><td><input type="text" id="iId" name="id">
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?></label>
<tr><td><input type="text" id="iName" name="name">
<tr><td><label for="iParent"><?= $this->l11n->getText('Accounting', 'Parent'); ?></label>
<tr><td><label for="iParent"><?= $this->l11n->getText('Accounting', 'Backend', 'Parent'); ?></label>
<tr><td><input type="text" id="iParent" name="parent">
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Create'); ?>">
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>">
</table>
</form>
</div>

View File

@ -28,11 +28,11 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'GL'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'GL'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,11 +28,11 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'Journal'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'Journal'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,13 +28,13 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -19,19 +19,19 @@
echo $this->getData('nav')->render(); ?>
<section class="box w-50">
<header><h1><?= $this->l11n->getText('Accounting', 'Stack'); ?></h1></header>
<header><h1><?= $this->l11n->getText('Accounting', 'Backend', 'Stack'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Name'); ?></label>
<tr><td><label for="iName"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?></label>
<tr><td><input id="iName" name="name" type="text">
<tr><td><label for="iType"><?= $this->l11n->getText('Accounting', 'Type'); ?></label>
<tr><td><label for="iType"><?= $this->l11n->getText('Accounting', 'Backend', 'Type'); ?></label>
<tr><td><select id="iType" name="type">
<option value=""><?= $this->l11n->getText('Accounting', 'TAccount'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Incoming'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Outgoing'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'TAccount'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'Incoming'); ?>
<option value=""><?= $this->l11n->getText('Accounting', 'Backend', 'Outgoing'); ?>
</select>
<tr><td><input name="submit" type="submit" value="<?= $this->l11n->getText(0, 'Create'); ?>">
<tr><td><input name="submit" type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create'); ?>">
</table>
</form>
</div>

View File

@ -28,13 +28,13 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>

View File

@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table">
<caption><?= $this->l11n->getText('Accounting', 'BatchPostings'); ?></caption>
<caption><?= $this->l11n->getText('Accounting', 'Backend', 'BatchPostings'); ?></caption>
<thead>
<tr>
<td><?= $this->l11n->getText(0, 'ID'); ?>
<td><?= $this->l11n->getText('Accounting', 'Due'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Created'); ?>
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Due'); ?>
<td class="wf-100"><?= $this->l11n->getText('Accounting', 'Backend', 'Name'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Creator'); ?>
<td><?= $this->l11n->getText('Accounting', 'Backend', 'Created'); ?>
<tfoot>
<tr><td colspan="5"><?= $footerView->render(); ?>
<tbody>
@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
<td>
<?php endforeach; ?>
<?php if($c === 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>