mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-01-11 17:18:40 +00:00
Dynamic language loading
This commit is contained in:
parent
efc92d904a
commit
d5376c5577
|
|
@ -20,15 +20,15 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Support', 'Tickets'); ?></caption>
|
||||
<caption><?= $this->l11n->getText('Support', 'Backend', 'Tickets'); ?></caption>
|
||||
<thead>
|
||||
<tr><td><?= $this->l11n->getText(0, 'ID'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Status'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Priority'); ?>
|
||||
<td class="full"><?= $this->l11n->getText('Support', 'Title'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Responsible'); ?>
|
||||
<tr><td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Status'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Priority'); ?>
|
||||
<td class="full"><?= $this->l11n->getText('Support', 'Backend', 'Title'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Responsible'); ?>
|
||||
<tfoot>
|
||||
<tbody>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,22 +19,22 @@
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-50">
|
||||
<header><h1><?= $this->l11n->getText('Support', 'Ticket') ?></h1></header>
|
||||
<header><h1><?= $this->l11n->getText('Support', 'Backend', 'Ticket') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Department') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Department') ?></label>
|
||||
<tr><td><select></select>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Topic') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Topic') ?></label>
|
||||
<tr><td><select></select>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Title') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Title') ?></label>
|
||||
<tr><td><input id="iTitle" name="name" type="text" required>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Description') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Description') ?></label>
|
||||
<tr><td><textarea required></textarea>
|
||||
<tr><td><label for="iFile"><?= $this->l11n->getText('Support', 'Files') ?></label>
|
||||
<tr><td><label for="iFile"><?= $this->l11n->getText('Support', 'Backend', 'Files') ?></label>
|
||||
<tr><td><input id="iFile" name="fileVisual" type="file" multiple><input id="iFileHidden" name="files" type="hidden">
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -20,15 +20,15 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Support', 'Tickets'); ?></caption>
|
||||
<caption><?= $this->l11n->getText('Support', 'Backend', 'Tickets'); ?></caption>
|
||||
<thead>
|
||||
<tr><td><?= $this->l11n->getText(0, 'ID'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Status'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Priority'); ?>
|
||||
<td class="full"><?= $this->l11n->getText('Support', 'Title'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Responsible'); ?>
|
||||
<tr><td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Status'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Priority'); ?>
|
||||
<td class="full"><?= $this->l11n->getText('Support', 'Backend', 'Title'); ?>
|
||||
<td><?= $this->l11n->getText('Support', 'Backend', 'Responsible'); ?>
|
||||
<tfoot>
|
||||
<tbody>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,22 +19,22 @@
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-50">
|
||||
<header><h1><?= $this->l11n->getText('Support', 'Ticket') ?></h1></header>
|
||||
<header><h1><?= $this->l11n->getText('Support', 'Backend', 'Ticket') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/reporter/template'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Department') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Department') ?></label>
|
||||
<tr><td><select></select>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Topic') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Topic') ?></label>
|
||||
<tr><td><select></select>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Title') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Title') ?></label>
|
||||
<tr><td><input id="iTitle" name="name" type="text" required>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Description') ?></label>
|
||||
<tr><td><label for="iTitle"><?= $this->l11n->getText('Support', 'Backend', 'Description') ?></label>
|
||||
<tr><td><textarea required></textarea>
|
||||
<tr><td><label for="iFile"><?= $this->l11n->getText('Support', 'Files') ?></label>
|
||||
<tr><td><label for="iFile"><?= $this->l11n->getText('Support', 'Backend', 'Files') ?></label>
|
||||
<tr><td><input id="iFile" name="fileVisual" type="file" multiple><input id="iFileHidden" name="files" type="hidden">
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user