mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-23 10:48:40 +00:00
Translation fixes (0 still missing)
This commit is contained in:
parent
8058b296bc
commit
00a2a040a5
|
|
@ -16,64 +16,64 @@
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-66 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Account') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Account') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iType"><?= $this->l11n->getText('Admin', 'Backend', 'Type') ?></label>
|
||||
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||
<tr><td><select id="iType" name="type">
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Person') ?>
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Organization') ?>
|
||||
<option><?= $this->getText('Person') ?>
|
||||
<option><?= $this->getText('Organization') ?>
|
||||
</select>
|
||||
<tr><td><label for="iStatus"><?= $this->l11n->getText('Admin', 'Backend', 'Status') ?></label>
|
||||
<tr><td><label for="iStatus"><?= $this->getText('Status') ?></label>
|
||||
<tr><td><select id="iStatus" name="status">
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Active') ?>
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Inactive') ?>
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Timeout') ?>
|
||||
<option><?= $this->l11n->getText('Admin', 'Backend', 'Banned') ?>
|
||||
<option><?= $this->getText('Active') ?>
|
||||
<option><?= $this->getText('Inactive') ?>
|
||||
<option><?= $this->getText('Timeout') ?>
|
||||
<option><?= $this->getText('Banned') ?>
|
||||
</select>
|
||||
<tr><td><label for="iUsername"><?= $this->l11n->getText('Admin', 'Backend', 'Username') ?></label>
|
||||
<tr><td><label for="iUsername"><?= $this->getText('Username') ?></label>
|
||||
<tr><td><input id="iUsername" name="name" type="text" placeholder=" Fred">
|
||||
<tr><td><label for="iName1"><?= $this->l11n->getText('Admin', 'Backend', 'Name1') ?></label>
|
||||
<tr><td><label for="iName1"><?= $this->getText('Name1') ?></label>
|
||||
<tr><td><input id="iName1" name="name1" type="text" placeholder=" Donald" required>
|
||||
<tr><td><label for="iName2"><?= $this->l11n->getText('Admin', 'Backend', 'Name2') ?></label>
|
||||
<tr><td><label for="iName2"><?= $this->getText('Name2') ?></label>
|
||||
<tr><td><input id="iName2" name="name2" type="text" placeholder=" Fauntleroy">
|
||||
<tr><td><label for="iName3"><?= $this->l11n->getText('Admin', 'Backend', 'Name3') ?></label>
|
||||
<tr><td><label for="iName3"><?= $this->getText('Name3') ?></label>
|
||||
<tr><td><input id="iName3" name="name3" type="text" placeholder=" Duck">
|
||||
<tr><td><label for="iEmail"><?= $this->l11n->getText('Admin', 'Backend', 'Email') ?></label>
|
||||
<tr><td><label for="iEmail"><?= $this->getText('Email') ?></label>
|
||||
<tr><td><input id="iEmail" name="email" type="email" placeholder=" d.duck@duckburg.com">
|
||||
<tr><td><label for="iPassword"><?= $this->l11n->getText('Admin', 'Backend', 'Name3') ?></label>
|
||||
<tr><td><label for="iPassword"><?= $this->getText('Name3') ?></label>
|
||||
<tr><td><input id="iPassword" name="password" type="text" placeholder=" Pa55ssw0rd?">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Groups') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGroup"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGroup"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder=" Guest" required></span>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Permissions') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGroup"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGroup"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGroup" name="group" type="text" placeholder=" news_create" required></span>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -30,14 +30,14 @@ echo $this->getData('nav')->render();
|
|||
|
||||
<div class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Admin', 'Backend', 'Groups'); ?></caption>
|
||||
<caption><?= $this->getText('Groups'); ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Status'); ?>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Admin', 'Backend', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Activity'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Created'); ?>
|
||||
<td><?= $this->getText('ID'); ?>
|
||||
<td><?= $this->getText('Status'); ?>
|
||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||
<td><?= $this->getText('Activity'); ?>
|
||||
<td><?= $this->getText('Created'); ?>
|
||||
<tfoot>
|
||||
<tr><td colspan="5"><?= $footerView->render(); ?>
|
||||
<tbody>
|
||||
|
|
@ -51,7 +51,7 @@ echo $this->getData('nav')->render();
|
|||
<td><a href="<?= $url; ?>"><?= $value->getCreatedAt()->format('Y-m-d H:i:s'); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($c === 0) : ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getText('Empty'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -21,66 +21,66 @@ $account = $this->getData('account');
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Account') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Account') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/account'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iId"><?= $this->l11n->getText(0, 'Backend', 'ID') ?></label>
|
||||
<tr><td><label for="iId"><?= $this->getText('ID') ?></label>
|
||||
<tr><td><input id="iId" name="id" type="text" value="<?= $account->getId(); ?>" disabled>
|
||||
<tr><td><label for="iType"><?= $this->l11n->getText('Admin', 'Backend', 'Type') ?></label>
|
||||
<tr><td><label for="iType"><?= $this->getText('Type') ?></label>
|
||||
<tr><td><select id="iType" name="type">
|
||||
<option value="<?= \phpOMS\Account\AccountType::USER; ?>"<?= $account->getType() === \phpOMS\Account\AccountType::USER ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Person') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountType::GROUP; ?>"<?= $account->getType() === \phpOMS\Account\AccountType::GROUP ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Organization') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountType::USER; ?>"<?= $account->getType() === \phpOMS\Account\AccountType::USER ? ' selected' : ''; ?>><?= $this->getText('Person') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountType::GROUP; ?>"<?= $account->getType() === \phpOMS\Account\AccountType::GROUP ? ' selected' : ''; ?>><?= $this->getText('Organization') ?>
|
||||
</select>
|
||||
<tr><td><label for="iStatus"><?= $this->l11n->getText('Admin', 'Backend', 'Status') ?></label>
|
||||
<tr><td><label for="iStatus"><?= $this->getText('Status') ?></label>
|
||||
<tr><td><select id="iStatus" name="status">
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::ACTIVE; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::ACTIVE ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Active') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::INACTIVE; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::INACTIVE ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Inactive') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::TIMEOUT; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::TIMEOUT ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Timeout') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::BANNED; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::BANNED ? ' selected' : ''; ?>><?= $this->l11n->getText('Admin', 'Backend', 'Banned') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::ACTIVE; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::ACTIVE ? ' selected' : ''; ?>><?= $this->getText('Active') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::INACTIVE; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::INACTIVE ? ' selected' : ''; ?>><?= $this->getText('Inactive') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::TIMEOUT; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::TIMEOUT ? ' selected' : ''; ?>><?= $this->getText('Timeout') ?>
|
||||
<option value="<?= \phpOMS\Account\AccountStatus::BANNED; ?>"<?= $account->getStatus() === \phpOMS\Account\AccountStatus::BANNED ? ' selected' : ''; ?>><?= $this->getText('Banned') ?>
|
||||
</select>
|
||||
<tr><td><label for="iUsername"><?= $this->l11n->getText('Admin', 'Backend', 'Username') ?></label>
|
||||
<tr><td><label for="iUsername"><?= $this->getText('Username') ?></label>
|
||||
<tr><td><input id="iUsername" name="name" type="text" placeholder=" Fred" value="<?= $account->getEmail(); ?>" disabled>
|
||||
<tr><td><label for="iName1"><?= $this->l11n->getText('Admin', 'Backend', 'Name1') ?></label>
|
||||
<tr><td><label for="iName1"><?= $this->getText('Name1') ?></label>
|
||||
<tr><td><input id="iName1" name="name1" type="text" placeholder=" Donald" value="<?= $account->getName1(); ?>" required>
|
||||
<tr><td><label for="iName2"><?= $this->l11n->getText('Admin', 'Backend', 'Name2') ?></label>
|
||||
<tr><td><label for="iName2"><?= $this->getText('Name2') ?></label>
|
||||
<tr><td><input id="iName2" name="name2" type="text" placeholder=" Fauntleroy" value="<?= $account->getName2(); ?>">
|
||||
<tr><td><label for="iName3"><?= $this->l11n->getText('Admin', 'Backend', 'Name3') ?></label>
|
||||
<tr><td><label for="iName3"><?= $this->getText('Name3') ?></label>
|
||||
<tr><td><input id="iName3" name="name3" type="text" placeholder=" Duck" value="<?= $account->getName3(); ?>">
|
||||
<tr><td><label for="iEmail"><?= $this->l11n->getText('Admin', 'Backend', 'Email') ?></label>
|
||||
<tr><td><label for="iEmail"><?= $this->getText('Email') ?></label>
|
||||
<tr><td><input id="iEmail" name="email" type="email" placeholder=" d.duck@duckburg.com" value="<?= $account->getEmail(); ?>">
|
||||
<tr><td><label for="iPassword"><?= $this->l11n->getText('Admin', 'Backend', 'Name3') ?></label>
|
||||
<tr><td><label for="iPassword"><?= $this->getText('Name3') ?></label>
|
||||
<tr><td><input id="iPassword" name="password" type="text" placeholder=" Pa55ssw0rd?">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-66 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Groups') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGroup"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGroup"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGroup" name="group" type="text" placeholder=" Guest">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-66 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Permissions') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGroup"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGroup"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGroup" name="group" type="text" placeholder=" news_create">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,44 +20,44 @@
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Group') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Group') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form id="group-create" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="<?= \phpOMS\Message\Http\RequestMethod::PUT; ?>">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGname"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGname"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGname" name="gname" type="text" placeholder=" Guest" required>
|
||||
<tr><td><label for="iGroupDescription"><?= $this->l11n->getText('Admin', 'Backend', 'Description') ?></label>
|
||||
<tr><td><label for="iGroupDescription"><?= $this->getText('Description') ?></label>
|
||||
<tr><td><textarea id="iGroupDescription" name="description" placeholder=""></textarea>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-66 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Parent') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Parent') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGParentName"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGParentName"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iGParentName" name="parentname" type="text" placeholder=" Guest" required></span>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-66 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Permissions') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iPermissionName"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iPermissionName"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input id="iPermissionName" name="permissionname" type="text" placeholder=" Admin" required></span>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<div class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Admin', 'Backend', 'Groups'); ?></caption>
|
||||
<caption><?= $this->getText('Groups'); ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Admin', 'Backend', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Parents'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Children'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Members'); ?>
|
||||
<td><?= $this->getText('ID'); ?>
|
||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||
<td><?= $this->getText('Parents'); ?>
|
||||
<td><?= $this->getText('Children'); ?>
|
||||
<td><?= $this->getText('Members'); ?>
|
||||
<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, 'Backend', 'Empty'); ?>
|
||||
<tr><td colspan="5" class="empty"><?= $this->getText('Empty'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -22,60 +22,60 @@ $group = $this->getData('group');
|
|||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Group') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Group') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGid"><?= $this->l11n->getText(0, 'Backend', 'ID') ?></label>
|
||||
<tr><td><label for="iGid"><?= $this->getText('ID') ?></label>
|
||||
<tr><td><input id="iGid" name="gid" type="text" value="<?= $group->getId(); ?>" disabled>
|
||||
<tr><td><label for="iGname"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGname"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGname" name="gname" type="text" placeholder=" Guest" value="<?= $group->getName(); ?>">
|
||||
<tr><td><label for="iGroupDescription"><?= $this->l11n->getText('Admin', 'Backend', 'Description') ?></label>
|
||||
<tr><td><label for="iGroupDescription"><?= $this->getText('Description') ?></label>
|
||||
<tr><td><textarea id="iGroupDescription" name="description" placeholder=""><?= $group->getDescription(); ?></textarea>
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Create') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Create') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Parent') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Parent') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGParentName"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGParentName"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder=" Guest">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Permissions') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iPermissionName"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iPermissionName"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iPermissionName" name="permissionname" type="text" placeholder=" Admin">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Accounts') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Accounts') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/group'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iGParentName"><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?></label>
|
||||
<tr><td><label for="iGParentName"><?= $this->getText('Name') ?></label>
|
||||
<tr><td><input id="iGParentName" name="parentname" type="text" placeholder=" Donald Duck">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Add') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Add') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -31,13 +31,13 @@ $footerView->setResults(count($modules));
|
|||
|
||||
<div class="box w-100">
|
||||
<table class="table">
|
||||
<caption><?= $this->l11n->getText('Admin', 'Backend', 'Modules'); ?></caption>
|
||||
<caption><?= $this->getText('Modules'); ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText(0, 'Backend', 'ID'); ?>
|
||||
<td class="wf-100"><?= $this->l11n->getText('Admin', 'Backend', 'Name'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Version'); ?>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Status'); ?>
|
||||
<td><?= $this->getText('ID'); ?>
|
||||
<td class="wf-100"><?= $this->getText('Name'); ?>
|
||||
<td><?= $this->getText('Version'); ?>
|
||||
<td><?= $this->getText('Status'); ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="4"><?= $footerView->render(); ?>
|
||||
|
|
@ -49,14 +49,14 @@ $footerView->setResults(count($modules));
|
|||
<td><a href="<?= $url; ?>"><?= $module['name']['external']; ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $module['version']; ?></a>
|
||||
<td><a href="<?= $url; ?>"><?php if (in_array($module['name']['internal'], $active))
|
||||
echo strtolower($this->l11n->getText('Admin', 'Backend', 'Active'));
|
||||
echo strtolower($this->getText('Active'));
|
||||
elseif (in_array($module['name']['internal'], $installed))
|
||||
echo strtolower($this->l11n->getText('Admin', 'Backend', 'Inactive'));
|
||||
echo strtolower($this->getText('Inactive'));
|
||||
else
|
||||
echo strtolower($this->l11n->getText('Admin', 'Backend', 'Available')); ?></a>
|
||||
echo strtolower($this->getText('Available')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if($count === 0) : ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->l11n->getText(0, 'Backend', 'Empty'); ?>
|
||||
<tr><td colspan="4" class="empty"><?= $this->getText('Empty'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -31,38 +31,38 @@ $id = $this->request->getData('id') ?? 1;
|
|||
<table class="list wf-100">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Name') ?>
|
||||
<td><?= $this->getText('Name') ?>
|
||||
<td><?= $modules[$id]['name']['external']; ?>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Version') ?>
|
||||
<td><?= $this->getText('Version') ?>
|
||||
<td><?= $modules[$id]['version'] ?>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'CreatedBy') ?>
|
||||
<td><?= $this->getText('CreatedBy') ?>
|
||||
<td><?= $modules[$id]['creator']['name'] ?>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Website') ?>
|
||||
<td><?= $this->getText('Website') ?>
|
||||
<td><?= $modules[$id]['creator']['website'] ?>
|
||||
<tr>
|
||||
<td><?= $this->l11n->getText('Admin', 'Backend', 'Description') ?>
|
||||
<td><?= $this->getText('Description') ?>
|
||||
<td><?= $modules[$id]['description'] ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php if (in_array($id, $active)) : ?>
|
||||
<button
|
||||
data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/status?status=deactivate&module=' . $id); ?>"><?= $this->l11n->getText('Admin', 'Backend', 'Deactivate') ?></button>
|
||||
data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/status?status=deactivate&module=' . $id); ?>"><?= $this->getText('Deactivate') ?></button>
|
||||
<?php elseif (in_array($id, $installed)) : ?>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/deactivate?id=' . $id); ?>"><?= $this->l11n->getText('Admin', 'Backend', 'Uninstall') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/deactivate?id=' . $id); ?>"><?= $this->l11n->getText('Admin', 'Backend', 'Activate') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/deactivate?id=' . $id); ?>"><?= $this->getText('Uninstall') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('POST:/{/lang}/backend/admin/module/deactivate?id=' . $id); ?>"><?= $this->getText('Activate') ?></button>
|
||||
<?php elseif (isset($modules[$id])) : ?>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('PUT:/{/lang}/backend/admin/module/install?id=' . $id); ?>"><?= $this->l11n->getText('Admin', 'Backend', 'Install') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('DELETE:/{/lang}/backend/admin/module/delete?id=' . $id); ?>"><?= $this->l11n->getText('Admin', 'Backend', 'Delete') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('PUT:/{/lang}/backend/admin/module/install?id=' . $id); ?>"><?= $this->getText('Install') ?></button>
|
||||
<button data-reload="<?= \phpOMS\Uri\UriFactory::build('DELETE:/{/lang}/backend/admin/module/delete?id=' . $id); ?>"><?= $this->getText('Delete') ?></button>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Settings') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ $id = $this->request->getData('id') ?? 1;
|
|||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Groups') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Groups') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ $id = $this->request->getData('id') ?? 1;
|
|||
</section>
|
||||
|
||||
<section class="box w-33 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Permissions') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Permissions') ?></h1></header>
|
||||
|
||||
<div class="inner">
|
||||
|
||||
|
|
|
|||
|
|
@ -35,63 +35,63 @@ $currencies = \phpOMS\Localization\ISO4217EnumArray::getConstants();
|
|||
|
||||
?>
|
||||
<section class="box w-50 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Settings') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Settings') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/general'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td><label for="iOname"><?= $this->l11n->getText('Admin', 'Backend', 'OrganizationName') ?></label>
|
||||
<tr><td><label for="iOname"><?= $this->getText('OrganizationName') ?></label>
|
||||
<tr><td><input id="iOname" name="oname" type="text" value="<?= $_oname; ?>" placeholder=" Money Bin" required>
|
||||
<tr><td><label for="iPassword"><?= $this->l11n->getText('Admin', 'Backend', 'PasswordRegex') ?></label>
|
||||
<tr><td><label for="iPassword"><?= $this->getText('PasswordRegex') ?></label>
|
||||
<tr><td><input id="iPassword" name="passpattern" type="text" value="<?= $_password; ?>" placeholder=" ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&;:\(\)\[\]=\{\}\+\-])[A-Za-z\d$@$!%*?&;:\(\)\[\]=\{\}\+\-]{8,}">
|
||||
<tr><td><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Save') ?>">
|
||||
<tr><td><input type="submit" value="<?= $this->getText('Save') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="box w-50 floatLeft">
|
||||
<header><h1><?= $this->l11n->getText('Admin', 'Backend', 'Localization') ?></h1></header>
|
||||
<header><h1><?= $this->getText('Localization') ?></h1></header>
|
||||
<div class="inner">
|
||||
<form action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/admin/settings/localization'); ?>" method="post">
|
||||
<table class="layout wf-100">
|
||||
<tbody>
|
||||
<tr><td colspan="2"><label for="iCountries"><?= $this->l11n->getText('Admin', 'Backend', 'Country') ?></label>
|
||||
<tr><td colspan="2"><label for="iCountries"><?= $this->getText('Country') ?></label>
|
||||
<tr><td colspan="2"><select id="iCountries" name="country">
|
||||
<?php foreach($countries as $code => $country) : ?>
|
||||
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_country) ? ' selected' : ''; ?>><?= $country; ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td colspan="2"><label for="iTimezones"><?= $this->l11n->getText('Admin', 'Backend', 'Timezone') ?></label>
|
||||
<tr><td colspan="2"><label for="iTimezones"><?= $this->getText('Timezone') ?></label>
|
||||
<tr><td colspan="2"><select id="iTimezones" name="timezone">
|
||||
<?php foreach($timezones as $code => $timezone) : ?>
|
||||
<option value="<?= $code; ?>"<?= $timezone == $_timezone ? ' selected' : ''; ?>><?= $timezone; ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td colspan="2"><label for="iTimeformats"><?= $this->l11n->getText('Admin', 'Backend', 'Timeformat') ?></label>
|
||||
<tr><td colspan="2"><label for="iTimeformats"><?= $this->getText('Timeformat') ?></label>
|
||||
<tr><td colspan="2"><select id="iTimeformats" name="timeformat">
|
||||
<?php foreach($timeformats as $code => $timeformat) : ?>
|
||||
<option value="<?= $code; ?>"<?= strtolower($timeformat) == strtolower($_timeformat) ? ' selected' : ''; ?>><?= $timeformat; ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td colspan="2"><label for="iLanguages"><?= $this->l11n->getText('Admin', 'Backend', 'Language') ?></label>
|
||||
<tr><td colspan="2"><label for="iLanguages"><?= $this->getText('Language') ?></label>
|
||||
<tr><td colspan="2"><select id="iLanguages" name="language">
|
||||
<?php foreach($languages as $code => $language) : ?>
|
||||
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_language) ? ' selected' : ''; ?>><?= $language; ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td colspan="2"><label for="iCurrencies"><?= $this->l11n->getText('Admin', 'Backend', 'Currency') ?></label>
|
||||
<tr><td colspan="2"><label for="iCurrencies"><?= $this->getText('Currency') ?></label>
|
||||
<tr><td colspan="2"><select id="iCurrencies" name="currency">
|
||||
<?php foreach($currencies as $code => $currency) : ?>
|
||||
<option value="<?= $code; ?>"<?= strtolower($code) == strtolower($_currency) ? ' selected' : ''; ?>><?= $currency[0]; ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
<tr><td colspan="2"><h2><?= $this->l11n->getText('Admin', 'Backend', 'Numberformat') ?></h2>
|
||||
<tr><td><label for="iDecimalPoint"><?= $this->l11n->getText('Admin', 'Backend', 'DecimalPoint') ?></label>
|
||||
<td><label for="iThousandSep"><?= $this->l11n->getText('Admin', 'Backend', 'ThousandsSeparator') ?></label>
|
||||
<tr><td colspan="2"><h2><?= $this->getText('Numberformat') ?></h2>
|
||||
<tr><td><label for="iDecimalPoint"><?= $this->getText('DecimalPoint') ?></label>
|
||||
<td><label for="iThousandSep"><?= $this->getText('ThousandsSeparator') ?></label>
|
||||
<tr><td><input id="iDecimalPoint" name="decimalpoint" type="text" value="<?= $_decimal_point; ?>" placeholder="." required>
|
||||
<td><input id="iThousandSep" name="thousandsep" type="text" value="<?= $_thousands_sep; ?>" placeholder="," required>
|
||||
<tr><td colspan="2"><input type="submit" value="<?= $this->l11n->getText(0, 'Backend', 'Save') ?>">
|
||||
<tr><td colspan="2"><input type="submit" value="<?= $this->getText('Save') ?>">
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user