mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-16 12:28:41 +00:00
tpl fixes
This commit is contained in:
parent
469b8fac46
commit
7753e30534
|
|
@ -1,3 +1,4 @@
|
||||||
|
<div>
|
||||||
<div class="ipt-wrap">
|
<div class="ipt-wrap">
|
||||||
<div class="ipt-first">
|
<div class="ipt-first">
|
||||||
<span class="input">
|
<span class="input">
|
||||||
|
|
@ -47,3 +48,4 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]'></div>
|
]'></div>
|
||||||
|
</div>
|
||||||
|
|
@ -32,6 +32,7 @@ return ['Admin' => [
|
||||||
'Available' => 'Available',
|
'Available' => 'Available',
|
||||||
'Banned' => 'Banned',
|
'Banned' => 'Banned',
|
||||||
'Cache' => 'Cache',
|
'Cache' => 'Cache',
|
||||||
|
'Change' => 'Change',
|
||||||
'Children' => 'Children',
|
'Children' => 'Children',
|
||||||
'City' => 'City',
|
'City' => 'City',
|
||||||
'Close' => 'Close',
|
'Close' => 'Close',
|
||||||
|
|
@ -50,6 +51,7 @@ return ['Admin' => [
|
||||||
'Defaults' => 'Defaults',
|
'Defaults' => 'Defaults',
|
||||||
'Delete' => 'Delete',
|
'Delete' => 'Delete',
|
||||||
'Description' => 'Description',
|
'Description' => 'Description',
|
||||||
|
'Design' => 'Design',
|
||||||
'Ele' => 'Ele.',
|
'Ele' => 'Ele.',
|
||||||
'Element' => 'Element',
|
'Element' => 'Element',
|
||||||
'Email' => 'Email',
|
'Email' => 'Email',
|
||||||
|
|
@ -68,6 +70,7 @@ return ['Admin' => [
|
||||||
'Inactive' => 'Inactive',
|
'Inactive' => 'Inactive',
|
||||||
'Install' => 'Install',
|
'Install' => 'Install',
|
||||||
'Installed' => 'Installed',
|
'Installed' => 'Installed',
|
||||||
|
'Images' => 'Images',
|
||||||
'LAddress' => 'Local Address',
|
'LAddress' => 'Local Address',
|
||||||
'Language' => 'Language',
|
'Language' => 'Language',
|
||||||
'Large' => 'Large',
|
'Large' => 'Large',
|
||||||
|
|
@ -80,6 +83,7 @@ return ['Admin' => [
|
||||||
'Logging' => 'Logging',
|
'Logging' => 'Logging',
|
||||||
'LoginRetries' => 'Login Retries',
|
'LoginRetries' => 'Login Retries',
|
||||||
'Loginname' => 'Login Name',
|
'Loginname' => 'Login Name',
|
||||||
|
'LoginImage' => 'Login Image',
|
||||||
'Long' => 'Long',
|
'Long' => 'Long',
|
||||||
'Lowercase' => 'Lowercase',
|
'Lowercase' => 'Lowercase',
|
||||||
'Maintenance' => 'Maintenance',
|
'Maintenance' => 'Maintenance',
|
||||||
|
|
|
||||||
|
|
@ -25,33 +25,64 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="fAccount" action="<?= UriFactory::build('{/api}admin/account'); ?>" method="put">
|
<form id="fAccount" action="<?= UriFactory::build('{/api}admin/account'); ?>" method="put">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Account'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Account'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iType"><?= $this->getHtml('Type'); ?></label>
|
||||||
<tr><td><label for="iType"><?= $this->getHtml('Type'); ?></label>
|
<select id="Type" name="type">
|
||||||
<tr><td><select id="Type" name="type">
|
|
||||||
<option value="<?= $this->printHtml((string) AccountType::USER); ?>"><?= $this->getHtml('Person'); ?>
|
<option value="<?= $this->printHtml((string) AccountType::USER); ?>"><?= $this->getHtml('Person'); ?>
|
||||||
<option value="<?= $this->printHtml((string) AccountType::GROUP); ?>"><?= $this->getHtml('Organization'); ?>
|
<option value="<?= $this->printHtml((string) AccountType::GROUP); ?>"><?= $this->getHtml('Organization'); ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iStatus"><?= $this->getHtml('Status'); ?></label>
|
</div>
|
||||||
<tr><td><select id="iStatus" name="status">
|
<div class="form-group">
|
||||||
|
<label for="iStatus"><?= $this->getHtml('Status'); ?></label>
|
||||||
|
<select id="iStatus" name="status">
|
||||||
<option value="<?= $this->printHtml((string) AccountStatus::ACTIVE); ?>"><?= $this->getHtml('Active'); ?>
|
<option value="<?= $this->printHtml((string) AccountStatus::ACTIVE); ?>"><?= $this->getHtml('Active'); ?>
|
||||||
<option value="<?= $this->printHtml((string) AccountStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive'); ?>
|
<option value="<?= $this->printHtml((string) AccountStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive'); ?>
|
||||||
<option value="<?= $this->printHtml((string) AccountStatus::TIMEOUT); ?>"><?= $this->getHtml('Timeout'); ?>
|
<option value="<?= $this->printHtml((string) AccountStatus::TIMEOUT); ?>"><?= $this->getHtml('Timeout'); ?>
|
||||||
<option value="<?= $this->printHtml((string) AccountStatus::BANNED); ?>"><?= $this->getHtml('Banned'); ?>
|
<option value="<?= $this->printHtml((string) AccountStatus::BANNED); ?>"><?= $this->getHtml('Banned'); ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iUsername"><?= $this->getHtml('Username'); ?></label>
|
</div>
|
||||||
<tr><td><input id="iUsername" name="login" type="text" autocomplete="off" spellcheck="false" placeholder=" Fred">
|
<div class="form-group">
|
||||||
<tr><td><label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
<label for="iUsername"><?= $this->getHtml('Username'); ?></label>
|
||||||
<tr><td><input id="iName1" name="name1" type="text" autocomplete="off" spellcheck="false" placeholder=" Donald" required>
|
<span class="input">
|
||||||
<tr><td><label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
<tr><td><input id="iName2" name="name2" type="text" autocomplete="off" spellcheck="false" placeholder=" Fauntleroy">
|
<input id="iUsername" name="name" type="text" autocomplete="off" spellcheck="false">
|
||||||
<tr><td><label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
</span>
|
||||||
<tr><td><input id="iName3" name="name3" type="text" autocomplete="off" spellcheck="false" placeholder=" Duck">
|
</div>
|
||||||
<tr><td><label for="iEmail"><?= $this->getHtml('Email'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iEmail" name="email" type="email" autocomplete="off" spellcheck="false" placeholder=" d.duck@duckburg.com">
|
<label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
||||||
<tr><td><label for="iPassword"><?= $this->getHtml('Name3'); ?></label>
|
<span class="input">
|
||||||
<tr><td><input id="iPassword" name="password" type="password" placeholder=" Pa55ssw0rd?">
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
</table>
|
<input id="iName1" name="name1" type="text" autocomplete="off" spellcheck="false" required>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
||||||
|
<span class="input">
|
||||||
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
|
<input id="iName2" name="name2" type="text" autocomplete="off" spellcheck="false">
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
||||||
|
<span class="input">
|
||||||
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
|
<input id="iName3" name="name3" type="text" autocomplete="off" spellcheck="false">
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iEmail"><?= $this->getHtml('Email'); ?></label>
|
||||||
|
<span class="input">
|
||||||
|
<button class="inactive" type="button"><i class="fa fa-envelope-o"></i></button>
|
||||||
|
<input id="iEmail" name="email" type="email" autocomplete="off" spellcheck="false">
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iPassword"><?= $this->getHtml('Password'); ?></label>
|
||||||
|
<span class="input">
|
||||||
|
<button class="inactive" type="button"><i class="fa fa-lock"></i></button>
|
||||||
|
<input id="iPassword" name="password" type="password">
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input id="account-create-submit" name="createSubmit" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
<input id="account-create-submit" name="createSubmit" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||||
|
|
|
||||||
|
|
@ -40,12 +40,16 @@ $permissions = $this->getData('permissions');
|
||||||
$audits = $this->getData('auditlogs') ?? [];
|
$audits = $this->getData('auditlogs') ?? [];
|
||||||
$l11n = $account->l11n;
|
$l11n = $account->l11n;
|
||||||
|
|
||||||
$previous = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/account/settings?id={?id}#{\#}' : '{/prefix}admin/account/settings?{?}&audit=' . \reset($audits)->getId() . '&ptype=p#{\#}';
|
$previous = empty($audits)
|
||||||
$next = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/account/settings?id={?id}#{\#}' : '{/prefix}admin/account/settings?{?}&audit=' . \end($audits)->getId() . '&ptype=n#{\#}';
|
? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/account/settings?id={?id}#{\#}'
|
||||||
|
: '{/prefix}admin/account/settings?{?}&audit=' . \reset($audits)->getId() . '&ptype=p#{\#}';
|
||||||
|
$next = empty($audits)
|
||||||
|
? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/account/settings?id={?id}#{\#}'
|
||||||
|
: '{/prefix}admin/account/settings?{?}&audit=' . \end($audits)->getId() . '&ptype=n#{\#}';
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div id="iaccount-tabs" class="tabview tab-2">
|
<div id="iaccount-tabs" class="tabview tab-2 url-rewrite">
|
||||||
<div class="box wf-100 col-xs-12">
|
<div class="box wf-100 col-xs-12">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
||||||
|
|
@ -62,64 +66,73 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="account-edit" action="<?= UriFactory::build('{/api}admin/account'); ?>" method="post">
|
<form id="account-edit" action="<?= UriFactory::build('{/api}admin/account'); ?>" method="post">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Account'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Account'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||||
<tr><td><label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
<input id="iId" name="iaccount-idlist" type="text" value="<?= $account->getId(); ?>" disabled>
|
||||||
<tr><td><input id="iId" name="iaccount-idlist" type="text" value="<?= $account->getId(); ?>" disabled>
|
</div>
|
||||||
<tr><td><label for="iType"><?= $this->getHtml('Type'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><select id="iType" name="type">
|
<label for="iType"><?= $this->getHtml('Type'); ?></label>
|
||||||
|
<select id="iType" name="type">
|
||||||
<option value="<?= AccountType::USER; ?>"<?= $this->printHtml($account->getType() === AccountType::USER ? ' selected' : ''); ?>><?= $this->getHtml('Person'); ?>
|
<option value="<?= AccountType::USER; ?>"<?= $this->printHtml($account->getType() === AccountType::USER ? ' selected' : ''); ?>><?= $this->getHtml('Person'); ?>
|
||||||
<option value="<?= AccountType::GROUP; ?>"<?= $this->printHtml($account->getType() === AccountType::GROUP ? ' selected' : ''); ?>><?= $this->getHtml('Organization'); ?>
|
<option value="<?= AccountType::GROUP; ?>"<?= $this->printHtml($account->getType() === AccountType::GROUP ? ' selected' : ''); ?>><?= $this->getHtml('Organization'); ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iStatus"><?= $this->getHtml('Status'); ?></label>
|
</div>
|
||||||
<tr><td><select id="iStatus" name="status">
|
<div class="form-group">
|
||||||
|
<label for="iStatus"><?= $this->getHtml('Status'); ?></label>
|
||||||
|
<select id="iStatus" name="status">
|
||||||
<option value="<?= AccountStatus::ACTIVE; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::ACTIVE ? ' selected' : ''); ?>><?= $this->getHtml('Active'); ?>
|
<option value="<?= AccountStatus::ACTIVE; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::ACTIVE ? ' selected' : ''); ?>><?= $this->getHtml('Active'); ?>
|
||||||
<option value="<?= AccountStatus::INACTIVE; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::INACTIVE ? ' selected' : ''); ?>><?= $this->getHtml('Inactive'); ?>
|
<option value="<?= AccountStatus::INACTIVE; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::INACTIVE ? ' selected' : ''); ?>><?= $this->getHtml('Inactive'); ?>
|
||||||
<option value="<?= AccountStatus::TIMEOUT; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::TIMEOUT ? ' selected' : ''); ?>><?= $this->getHtml('Timeout'); ?>
|
<option value="<?= AccountStatus::TIMEOUT; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::TIMEOUT ? ' selected' : ''); ?>><?= $this->getHtml('Timeout'); ?>
|
||||||
<option value="<?= AccountStatus::BANNED; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::BANNED ? ' selected' : ''); ?>><?= $this->getHtml('Banned'); ?>
|
<option value="<?= AccountStatus::BANNED; ?>"<?= $this->printHtml($account->getStatus() === AccountStatus::BANNED ? ' selected' : ''); ?>><?= $this->getHtml('Banned'); ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iUsername"><?= $this->getHtml('Username'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iUsername"><?= $this->getHtml('Username'); ?></label>
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-user"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
<input id="iUsername" name="name" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->login); ?>">
|
<input id="iUsername" name="name" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->login); ?>">
|
||||||
</span>
|
</span>
|
||||||
<tr><td><label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iName1"><?= $this->getHtml('Name1'); ?></label>
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-user"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
<input id="iName1" name="name1" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name1); ?>" required>
|
<input id="iName1" name="name1" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name1); ?>" required>
|
||||||
</span>
|
</span>
|
||||||
<tr><td><label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iName2"><?= $this->getHtml('Name2'); ?></label>
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-user"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
<input id="iName2" name="name2" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name2); ?>">
|
<input id="iName2" name="name2" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name2); ?>">
|
||||||
</span>
|
</span>
|
||||||
<tr><td><label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iName3"><?= $this->getHtml('Name3'); ?></label>
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-user"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-user"></i></button>
|
||||||
<input id="iName3" name="name3" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name3); ?>">
|
<input id="iName3" name="name3" type="text" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->name3); ?>">
|
||||||
</span>
|
</span>
|
||||||
<tr><td><label for="iEmail"><?= $this->getHtml('Email'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iEmail"><?= $this->getHtml('Email'); ?></label>
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-envelope-o"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-envelope-o"></i></button>
|
||||||
<input id="iEmail" name="email" type="email" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->getEmail()); ?>">
|
<input id="iEmail" name="email" type="email" autocomplete="off" spellcheck="false" value="<?= $this->printHtml($account->getEmail()); ?>">
|
||||||
</span>
|
</span>
|
||||||
<tr><td><label for="iPassword"><?= $this->getHtml('Password'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iPassword"><?= $this->getHtml('Password'); ?></label>
|
||||||
<div class="ipt-wrap">
|
<div class="ipt-wrap">
|
||||||
<div class="ipt-first">
|
<div class="ipt-first">
|
||||||
<span class="input">
|
<span class="input">
|
||||||
<button type="button"><i class="fa fa-lock"></i></button>
|
<button class="inactive" type="button"><i class="fa fa-lock"></i></button>
|
||||||
<input id="iPassword" name="password" type="password">
|
<input id="iPassword" name="password" type="password">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="ipt-second"> or <button><?= $this->getHtml('Reset'); ?></button></div>
|
<div class="ipt-second"> or <button><?= $this->getHtml('Reset'); ?></button></div>
|
||||||
</div>
|
</div>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input id="account-edit-submit" name="editSubmit" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
<input id="account-edit-submit" name="editSubmit" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
||||||
|
|
@ -148,15 +161,19 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('ID', '0', '0'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td class="wf-100"><?= $this->getHtml('Name'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; $groups = $account->getGroups(); foreach ($groups as $key => $value) : ++$c;
|
<?php
|
||||||
$url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId()); ?>
|
$c = 0;
|
||||||
|
$groups = $account->getGroups();
|
||||||
|
foreach ($groups as $key => $value) : ++$c;
|
||||||
|
$url = UriFactory::build('{/prefix}admin/group/settings?{?}&id=' . $value->getId());
|
||||||
|
?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="#"><i class="fa fa-times"></i></a>
|
<td><a href="#"><i class="fa fa-times"></i></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a>
|
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if ($c === 0) : ?>
|
<?php if ($c === 0) : ?>
|
||||||
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -165,11 +182,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="iAddGroupToAccount" action="<?= UriFactory::build('{/api}admin/account/group'); ?>" method="put">
|
<form id="iAddGroupToAccount" action="<?= UriFactory::build('{/api}admin/account/group'); ?>" method="put">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Groups'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Groups'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iGroup"><?= $this->getHtml('Name'); ?></label>
|
||||||
<tr><td><label for="iGroup"><?= $this->getHtml('Name'); ?></label>
|
<?= $this->getData('grpSelector')->render('iGroup', true); ?>
|
||||||
<tr><td><?= $this->getData('grpSelector')->render('iGroup', true); ?>
|
</div>
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input name="account" type="hidden" value="<?= $account->getId(); ?>">
|
<input name="account" type="hidden" value="<?= $account->getId(); ?>">
|
||||||
|
|
@ -197,7 +213,10 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->getHtml('Comp'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
<td><?= $this->getHtml('Comp'); ?><i class="sort-asc fa fa-chevron-up"></i><i class="sort-desc fa fa-chevron-down"></i>
|
||||||
<td class="wf-100"><?= $this->getHtml('Perm'); ?>
|
<td class="wf-100"><?= $this->getHtml('Perm'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ($permissions as $key => $value) : ++$c; $permission = $value->getPermission(); ?>
|
<?php $c = 0;
|
||||||
|
foreach ($permissions as $key => $value) : ++$c;
|
||||||
|
$permission = $value->getPermission();
|
||||||
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#"><i class="fa fa-times"></i></a>
|
<td><a href="#"><i class="fa fa-times"></i></a>
|
||||||
<td><a href="#"><i class="fa fa-cogs"></i></a>
|
<td><a href="#"><i class="fa fa-cogs"></i></a>
|
||||||
|
|
@ -226,43 +245,72 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="fAccountAddPermission" action="<?= UriFactory::build('{/api}admin/account/permission'); ?>" method="put">
|
<form id="fAccountAddPermission" action="<?= UriFactory::build('{/api}admin/account/permission'); ?>" method="put">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Permissions'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Permissions'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iPermissionUnit"><?= $this->getHtml('Unit'); ?></label>
|
||||||
<tr><td><label for="iPermissionUnit"><?= $this->getHtml('Unit'); ?></label>
|
<input id="iPermissionUnit" name="permissionunit" type="text">
|
||||||
<tr><td><input id="iPermissionUnit" name="permissionunit" type="text">
|
</div>
|
||||||
<tr><td><label for="iPermissionApp"><?= $this->getHtml('App'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionApp" name="permissionapp" type="text">
|
<label for="iPermissionApp"><?= $this->getHtml('App'); ?></label>
|
||||||
<tr><td><label for="iPermissionModule"><?= $this->getHtml('Module'); ?></label>
|
<input id="iPermissionApp" name="permissionapp" type="text">
|
||||||
<tr><td><input id="iPermissionModule" name="permissionmodule" type="text">
|
</div>
|
||||||
<tr><td><label for="iPermissionType"><?= $this->getHtml('Type'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionType" name="permissiontype" type="text">
|
<label for="iPermissionModule"><?= $this->getHtml('Module'); ?></label>
|
||||||
<tr><td><label for="iPermissionElement"><?= $this->getHtml('Element'); ?></label>
|
<input id="iPermissionModule" name="permissionmodule" type="text">
|
||||||
<tr><td><input id="iPermissionElement" name="permissionelement" type="text">
|
</div>
|
||||||
<tr><td><label for="iPermissionComponent"><?= $this->getHtml('Component'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionComponent" name="permissioncomponent" type="text">
|
<label for="iPermissionType"><?= $this->getHtml('Type'); ?></label>
|
||||||
<tr><td><label><?= $this->getHtml('Permission'); ?></label>
|
<input id="iPermissionType" name="permissiontype" type="text">
|
||||||
<tr><td>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iPermissionElement"><?= $this->getHtml('Element'); ?></label>
|
||||||
|
<input id="iPermissionElement" name="permissionelement" type="text">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iPermissionComponent"><?= $this->getHtml('Component'); ?></label>
|
||||||
|
<input id="iPermissionComponent" name="permissioncomponent" type="text">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label><?= $this->getHtml('Permission'); ?></label>
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionCreate" name="permissioncreate" type="checkbox" value="<?= PermissionType::CREATE; ?>">
|
<label class="checkbox" for="iPermissionCreate">
|
||||||
<label for="iPermissionCreate"><?= $this->getHtml('Create'); ?></label>
|
<input id="iPermissionCreate" type="checkbox" name="permissioncreate" value="<?= PermissionType::CREATE; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Create'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionRead" name="permissionread" type="checkbox" value="<?= PermissionType::READ; ?>">
|
<label class="checkbox" for="iPermissionRead">
|
||||||
<label for="iPermissionRead"><?= $this->getHtml('Read'); ?></label>
|
<input id="iPermissionRead" type="checkbox" name="permissionread" value="<?= PermissionType::READ; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Read'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionUpdate" name="permissionupdate" type="checkbox" value="<?= PermissionType::MODIFY; ?>">
|
<label class="checkbox" for="iPermissionUpdate">
|
||||||
<label for="iPermissionUpdate"><?= $this->getHtml('Update'); ?></label>
|
<input id="iPermissionUpdate" type="checkbox" name="permissionupdate" value="<?= PermissionType::MODIFY; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Update'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionDelete" name="permissiondelete" type="checkbox" value="<?= PermissionType::DELETE; ?>">
|
<label class="checkbox" for="iPermissionDelete">
|
||||||
<label for="iPermissionDelete"><?= $this->getHtml('Delete'); ?></label>
|
<input id="iPermissionDelete" type="checkbox" name="permissiondelete" value="<?= PermissionType::DELETE; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Delete'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionPermission" name="permissionpermission" type="checkbox" value="<?= PermissionType::PERMISSION; ?>">
|
<label class="checkbox" for="iPermissionPermission">
|
||||||
<label for="iPermissionPermission"><?= $this->getHtml('Permission'); ?></label>
|
<input id="iPermissionPermission" type="checkbox" name="permissionpermission" value="<?= PermissionType::PERMISSION; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Permission'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input type="hidden" name="permissionref" value="<?= $account->getId(); ?>">
|
<input type="hidden" name="permissionref" value="<?= $account->getId(); ?>">
|
||||||
|
|
@ -299,10 +347,8 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}admin/account/localization'); ?>" method="post">
|
<form id="fLocalization" name="fLocalization" action="<?= UriFactory::build('{/api}admin/account/localization'); ?>" method="post">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Localization'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Localization'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label>
|
||||||
<tr><td><label for="iDefaultLocalizations"><?= $this->getHtml('Defaults'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<div class="ipt-wrap">
|
<div class="ipt-wrap">
|
||||||
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
|
<div class="ipt-first"><select id="iDefaultLocalizations" name="localization_load">
|
||||||
<option selected disabled><?= $this->getHtml('Customized'); ?>
|
<option selected disabled><?= $this->getHtml('Customized'); ?>
|
||||||
|
|
@ -313,28 +359,31 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization?load=1'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
|
<div class="ipt-second"><input type="submit" name="loadDefaultLocalization" formaction="<?= UriFactory::build('{/api}profile/settings/localization?load=1'); ?>" value="<?= $this->getHtml('Load'); ?>"></div>
|
||||||
</div>
|
</div>
|
||||||
<tr><td colspan="2"><label for="iCountries"><?= $this->getHtml('Country'); ?></label>
|
</div>
|
||||||
<tr><td colspan="2">
|
<div class="form-group">
|
||||||
|
<label for="iCountries"><?= $this->getHtml('Country'); ?></label>
|
||||||
<select id="iCountries" name="settings_country">
|
<select id="iCountries" name="settings_country">
|
||||||
<?php foreach ($countryCodes as $code3 => $code2) : ?>
|
<?php foreach ($countryCodes as $code3 => $code2) : ?>
|
||||||
<option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->getCountry() ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?>
|
<option value="<?= $this->printHtml($code2); ?>"<?= $this->printHtml($code2 === $l11n->getCountry() ? ' selected' : ''); ?>><?= $this->printHtml($countries[$code3]); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
|
</div>
|
||||||
<tr><td colspan="2">
|
<div class="form-group">
|
||||||
|
<label for="iLanguages"><?= $this->getHtml('Language'); ?></label>
|
||||||
<select id="iLanguages" name="settings_language">
|
<select id="iLanguages" name="settings_language">
|
||||||
<?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?>
|
<?php foreach ($languages as $code => $language) : $code = \strtolower(\substr($code, 1)); ?>
|
||||||
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getLanguage() ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
|
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getLanguage() ? ' selected' : ''); ?>><?= $this->printHtml($language); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label>
|
</div>
|
||||||
<tr><td colspan="2">
|
<div class="form-group">
|
||||||
|
<label for="iTemperature"><?= $this->getHtml('Temperature'); ?></label>
|
||||||
<select id="iTemperature" name="settings_temperature">
|
<select id="iTemperature" name="settings_temperature">
|
||||||
<?php foreach ($temperatures as $temperature) : ?>
|
<?php foreach ($temperatures as $temperature) : ?>
|
||||||
<option value="<?= $this->printHtml($temperature); ?>"<?= $this->printHtml($temperature === $l11n->getTemperature() ? ' selected' : ''); ?>><?= $this->printHtml($temperature); ?>
|
<option value="<?= $this->printHtml($temperature); ?>"<?= $this->printHtml($temperature === $l11n->getTemperature() ? ' selected' : ''); ?>><?= $this->printHtml($temperature); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input type="hidden" name="account_id" value="<?= $account->getId(); ?>">
|
<input type="hidden" name="account_id" value="<?= $account->getId(); ?>">
|
||||||
|
|
@ -349,27 +398,35 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Time'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Time'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iTimezones"><?= $this->getHtml('Timezone'); ?></label>
|
||||||
<tr><td><label for="iTimezones"><?= $this->getHtml('Timezone'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iTimezones" name="settings_timezone">
|
<select form="fLocalization" id="iTimezones" name="settings_timezone">
|
||||||
<?php foreach ($timezones as $timezone) : ?>
|
<?php foreach ($timezones as $timezone) : ?>
|
||||||
<option value="<?= $this->printHtml($timezone); ?>"<?= $this->printHtml($timezone === $l11n->getTimezone() ? ' selected' : ''); ?>><?= $this->printHtml($timezone); ?>
|
<option value="<?= $this->printHtml($timezone); ?>"<?= $this->printHtml($timezone === $l11n->getTimezone() ? ' selected' : ''); ?>><?= $this->printHtml($timezone); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><h2><?= $this->getHtml('Timeformat'); ?></h2>
|
</div>
|
||||||
<tr><td><label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
<h2><?= $this->getHtml('Timeformat'); ?></h2>
|
||||||
<tr><td><input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="Y" required>
|
<div class="form-group">
|
||||||
<tr><td><label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
|
<label for="iTimeformatVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
||||||
<tr><td><input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required>
|
<input form="fLocalization" id="iTimeformatVeryShort" name="settings_timeformat_vs" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_short']); ?>" placeholder="Y" required>
|
||||||
<tr><td><label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td><input form="fLocalization" id="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y" required>
|
<div class="form-group">
|
||||||
<tr><td><label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label>
|
<label for="iTimeformatShort"><?= $this->getHtml('Short'); ?></label>
|
||||||
<tr><td><input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y" required>
|
<input form="fLocalization" id="iTimeformatShort" name="settings_timeformat_s" type="text" value="<?= $this->printHtml($l11n->getDatetime()['short']); ?>" placeholder="Y" required>
|
||||||
<tr><td><label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
</div>
|
||||||
<tr><td><input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y" required>
|
<div class="form-group">
|
||||||
</table>
|
<label for="iTimeformatMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
|
<input form="fLocalization" id="iTimeformatMedium" name="settings_timeformat_m" type="text" value="<?= $this->printHtml($l11n->getDatetime()['medium']); ?>" placeholder="Y" required>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iTimeformatLong"><?= $this->getHtml('Long'); ?></label>
|
||||||
|
<input form="fLocalization" id="iTimeformatLong" name="settings_timeformat_l" type="text" value="<?= $this->printHtml($l11n->getDatetime()['long']); ?>" placeholder="Y" required>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iTimeformatVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
||||||
|
<input form="fLocalization" id="iTimeformatVeryLong" name="settings_timeformat_vl" type="text" value="<?= $this->printHtml($l11n->getDatetime()['very_long']); ?>" placeholder="Y" required>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -380,26 +437,32 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Numeric'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Numeric'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tr><td colspan="2"><label for="iCurrencies"><?= $this->getHtml('Currency'); ?></label>
|
<label for="iCurrencies"><?= $this->getHtml('Currency'); ?></label>
|
||||||
<tr><td colspan="2">
|
|
||||||
<select form="fLocalization" id="iCurrencies" name="settings_currency">
|
<select form="fLocalization" id="iCurrencies" name="settings_currency">
|
||||||
<?php foreach ($currencies as $code => $currency) : $code = \substr($code, 1); ?>
|
<?php foreach ($currencies as $code => $currency) : $code = \substr($code, 1); ?>
|
||||||
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getCurrency() ? ' selected' : ''); ?>><?= $this->printHtml($currency); ?>
|
<option value="<?= $this->printHtml($code); ?>"<?= $this->printHtml($code === $l11n->getCurrency() ? ' selected' : ''); ?>><?= $this->printHtml($currency); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><label><?= $this->getHtml('Currencyformat'); ?></label>
|
</div>
|
||||||
<tr><td colspan="2">
|
<div class="form-group">
|
||||||
|
<label><?= $this->getHtml('Currencyformat'); ?></label>
|
||||||
<select form="fLocalization" name="settings_currencyformat">
|
<select form="fLocalization" name="settings_currencyformat">
|
||||||
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
<option value="0"<?= $this->printHtml('0' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->getHtml('Amount') , ' ' , $this->printHtml($l11n->getCurrency()); ?>
|
||||||
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
<option value="1"<?= $this->printHtml('1' === $l11n->getCurrencyFormat() ? ' selected' : ''); ?>><?= $this->printHtml($l11n->getCurrency()) , ' ' , $this->getHtml('Amount'); ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td colspan="2"><h2><?= $this->getHtml('Numberformat'); ?></h2>
|
</div>
|
||||||
<tr><td><label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint'); ?></label>
|
<div class="form-group">
|
||||||
<td><label for="iThousandSep"><?= $this->getHtml('ThousandsSeparator'); ?></label>
|
<label><?= $this->getHtml('Numberformat'); ?> </label>
|
||||||
<tr><td><input form="fLocalization" id="iDecimalPoint" name="settings_decimal" type="text" value="<?= $this->printHtml($l11n->getDecimal()); ?>" placeholder="." required>
|
<div class="form-group">
|
||||||
<td><input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required>
|
<label for="iDecimalPoint"><?= $this->getHtml('DecimalPoint'); ?></label>
|
||||||
</table>
|
<input form="fLocalization" id="iDecimalPoint" name="settings_decimal" type="text" value="<?= $this->printHtml($l11n->getDecimal()); ?>" placeholder="." required>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iThousandSep"><?= $this->getHtml('ThousandsSeparator'); ?></label>
|
||||||
|
<input form="fLocalization" id="iThousandSep" name="settings_thousands" type="text" value="<?= $this->printHtml($l11n->getThousands()); ?>" placeholder="," required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -410,24 +473,26 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Precision'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Precision'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
||||||
<tr><td><label for="iPrecisionVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $l11n->getPrecision()['very_short']; ?>" type="number">
|
<input form="fLocalization" id="iPrecisionVeryShort" name="settings_precision_vs" value="<?= $l11n->getPrecision()['very_short']; ?>" type="number">
|
||||||
<tr><td><label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iPrecisionShort"><?= $this->getHtml('Short'); ?></label>
|
||||||
<input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $l11n->getPrecision()['short']; ?>" type="number">
|
<input form="fLocalization" id="iPrecisionLight" name="settings_precision_s" value="<?= $l11n->getPrecision()['short']; ?>" type="number">
|
||||||
<tr><td><label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iPrecisionMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $l11n->getPrecision()['medium']; ?>" type="number">
|
<input form="fLocalization" id="iPrecisionMedium" name="settings_precision_m" value="<?= $l11n->getPrecision()['medium']; ?>" type="number">
|
||||||
<tr><td><label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iPrecisionLong"><?= $this->getHtml('Long'); ?></label>
|
||||||
<input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $l11n->getPrecision()['long']; ?>" type="number">
|
<input form="fLocalization" id="iPrecisionLong" name="settings_precision_l" value="<?= $l11n->getPrecision()['long']; ?>" type="number">
|
||||||
<tr><td><label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iPrecisionVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
||||||
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $l11n->getPrecision()['very_long']; ?>" type="number">
|
<input form="fLocalization" id="iPrecisionVeryLong" name="settings_precision_vl" value="<?= $l11n->getPrecision()['very_long']; ?>" type="number">
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -438,44 +503,46 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Weight'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Weight'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iWeightVeryLight"><?= $this->getHtml('VeryLight'); ?></label>
|
||||||
<tr><td><label for="iWeightVeryLight"><?= $this->getHtml('VeryLight'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iWeightVeryLight" name="settings_weight_vl">
|
<select form="fLocalization" id="iWeightVeryLight" name="settings_weight_vl">
|
||||||
<?php foreach ($weights as $code => $weight) : ?>
|
<?php foreach ($weights as $code => $weight) : ?>
|
||||||
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iWeightLight"><?= $this->getHtml('Light'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iWeightLight"><?= $this->getHtml('Light'); ?></label>
|
||||||
<select form="fLocalization" id="iWeightLight" name="settings_weight_l">
|
<select form="fLocalization" id="iWeightLight" name="settings_weight_l">
|
||||||
<?php foreach ($weights as $code => $weight) : ?>
|
<?php foreach ($weights as $code => $weight) : ?>
|
||||||
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['light'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iWeightMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iWeightMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<select form="fLocalization" id="iWeightMedium" name="settings_weight_m">
|
<select form="fLocalization" id="iWeightMedium" name="settings_weight_m">
|
||||||
<?php foreach ($weights as $code => $weight) : ?>
|
<?php foreach ($weights as $code => $weight) : ?>
|
||||||
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iWeightHeavy"><?= $this->getHtml('Heavy'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iWeightHeavy"><?= $this->getHtml('Heavy'); ?></label>
|
||||||
<select form="fLocalization" id="iWeightHeavy" name="settings_weight_h">
|
<select form="fLocalization" id="iWeightHeavy" name="settings_weight_h">
|
||||||
<?php foreach ($weights as $code => $weight) : ?>
|
<?php foreach ($weights as $code => $weight) : ?>
|
||||||
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iWeightVeryHeavy"><?= $this->getHtml('VeryHeavy'); ?></label>
|
||||||
<select form="fLocalization" id="iWeightVeryHeavy" name="settings_weight_vh">
|
<select form="fLocalization" id="iWeightVeryHeavy" name="settings_weight_vh">
|
||||||
<?php foreach ($weights as $code => $weight) : ?>
|
<?php foreach ($weights as $code => $weight) : ?>
|
||||||
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
<option value="<?= $this->printHtml($weight); ?>"<?= $this->printHtml($weight === $l11n->getWeight()['very_heavy'] ? ' selected' : ''); ?>><?= $this->printHtml($weight); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -486,51 +553,54 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Speed'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Speed'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow'); ?></label>
|
||||||
<tr><td><label for="iSpeedVerySlow"><?= $this->getHtml('VerySlow'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iSpeedVerySlow" name="settings_speed_vs">
|
<select form="fLocalization" id="iSpeedVerySlow" name="settings_speed_vs">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iSpeedSlow"><?= $this->getHtml('Slow'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iSpeedSlow"><?= $this->getHtml('Slow'); ?></label>
|
||||||
<select form="fLocalization" id="iSpeedSlow" name="settings_speed_s">
|
<select form="fLocalization" id="iSpeedSlow" name="settings_speed_s">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['slow'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iSpeedMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iSpeedMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<select form="fLocalization" id="iSpeedMedium" name="settings_speed_m">
|
<select form="fLocalization" id="iSpeedMedium" name="settings_speed_m">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iSpeedFast"><?= $this->getHtml('Fast'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iSpeedFast"><?= $this->getHtml('Fast'); ?></label>
|
||||||
<select form="fLocalization" id="iSpeedFast" name="settings_speed_f">
|
<select form="fLocalization" id="iSpeedFast" name="settings_speed_f">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iSpeedVeryFast"><?= $this->getHtml('VeryFast'); ?></label>
|
||||||
<select form="fLocalization" id="iSpeedVeryFast" name="settings_speed_vf">
|
<select form="fLocalization" id="iSpeedVeryFast" name="settings_speed_vf">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['very_fast'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iSpeedSea"><?= $this->getHtml('Sea'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iSpeedSea"><?= $this->getHtml('Sea'); ?></label>
|
||||||
<select form="fLocalization" id="iSpeedSea" name="settings_speed_sea">
|
<select form="fLocalization" id="iSpeedSea" name="settings_speed_sea">
|
||||||
<?php foreach ($speeds as $code => $speed) : ?>
|
<?php foreach ($speeds as $code => $speed) : ?>
|
||||||
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
<option value="<?= $this->printHtml($speed); ?>"<?= $this->printHtml($speed === $l11n->getSpeed()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($speed); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -541,51 +611,54 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Length'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Length'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iLengthVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
||||||
<tr><td><label for="iLengthVeryShort"><?= $this->getHtml('VeryShort'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iLengthVeryShort" name="settings_length_vs">
|
<select form="fLocalization" id="iLengthVeryShort" name="settings_length_vs">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iLengthShort"><?= $this->getHtml('Short'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iLengthShort"><?= $this->getHtml('Short'); ?></label>
|
||||||
<select form="fLocalization" id="iLengthShort" name="settings_length_s">
|
<select form="fLocalization" id="iLengthShort" name="settings_length_s">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['short'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iLengthMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iLengthMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<select form="fLocalization" id="iLengthMedium" name="settings_length_m">
|
<select form="fLocalization" id="iLengthMedium" name="settings_length_m">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iLengthLong"><?= $this->getHtml('Long'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iLengthLong"><?= $this->getHtml('Long'); ?></label>
|
||||||
<select form="fLocalization" id="iLengthLong" name="settings_length_l">
|
<select form="fLocalization" id="iLengthLong" name="settings_length_l">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iLengthVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iLengthVeryLong"><?= $this->getHtml('VeryLong'); ?></label>
|
||||||
<select form="fLocalization" id="iLengthVeryLong" name="settings_length_vl">
|
<select form="fLocalization" id="iLengthVeryLong" name="settings_length_vl">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['very_long'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iLengthSea"><?= $this->getHtml('Sea'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iLengthSea"><?= $this->getHtml('Sea'); ?></label>
|
||||||
<select form="fLocalization" id="iLengthSea" name="settings_length_sea">
|
<select form="fLocalization" id="iLengthSea" name="settings_length_sea">
|
||||||
<?php foreach ($lengths as $code => $length) : ?>
|
<?php foreach ($lengths as $code => $length) : ?>
|
||||||
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
<option value="<?= $this->printHtml($length); ?>"<?= $this->printHtml($length === $l11n->getLength()['sea'] ? ' selected' : ''); ?>><?= $this->printHtml($length); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -596,44 +669,46 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Area'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Area'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iAreaVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
|
||||||
<tr><td><label for="iAreaVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iAreaVerySmall" name="settings_area_vs">
|
<select form="fLocalization" id="iAreaVerySmall" name="settings_area_vs">
|
||||||
<?php foreach ($areas as $code => $area) : ?>
|
<?php foreach ($areas as $code => $area) : ?>
|
||||||
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iAreaSmall"><?= $this->getHtml('Small'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iAreaSmall"><?= $this->getHtml('Small'); ?></label>
|
||||||
<select form="fLocalization" id="iAreaSmall" name="settings_area_s">
|
<select form="fLocalization" id="iAreaSmall" name="settings_area_s">
|
||||||
<?php foreach ($areas as $code => $area) : ?>
|
<?php foreach ($areas as $code => $area) : ?>
|
||||||
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iAreaMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iAreaMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<select form="fLocalization" id="iAreaMedium" name="settings_area_m">
|
<select form="fLocalization" id="iAreaMedium" name="settings_area_m">
|
||||||
<?php foreach ($areas as $code => $area) : ?>
|
<?php foreach ($areas as $code => $area) : ?>
|
||||||
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iAreaLarge"><?= $this->getHtml('Large'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iAreaLarge"><?= $this->getHtml('Large'); ?></label>
|
||||||
<select form="fLocalization" id="iAreaLarge" name="settings_area_l">
|
<select form="fLocalization" id="iAreaLarge" name="settings_area_l">
|
||||||
<?php foreach ($areas as $code => $area) : ?>
|
<?php foreach ($areas as $code => $area) : ?>
|
||||||
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iAreaVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
|
||||||
<select form="fLocalization" id="iAreaVeryLarge" name="settings_area_vl">
|
<select form="fLocalization" id="iAreaVeryLarge" name="settings_area_vl">
|
||||||
<?php foreach ($areas as $code => $area) : ?>
|
<?php foreach ($areas as $code => $area) : ?>
|
||||||
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
<option value="<?= $this->printHtml($area); ?>"<?= $this->printHtml($area === $l11n->getArea()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($area); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -644,65 +719,70 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet-head"><?= $this->getHtml('Volume'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Volume'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
|
||||||
<tr><td><label for="iVolumeVerySmall"><?= $this->getHtml('VerySmall'); ?></label>
|
|
||||||
<tr><td>
|
|
||||||
<select form="fLocalization" id="iVolumeVerySmall" name="settings_volume_vs">
|
<select form="fLocalization" id="iVolumeVerySmall" name="settings_volume_vs">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeSmall"><?= $this->getHtml('Small'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeSmall"><?= $this->getHtml('Small'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeSmall" name="settings_volume_s">
|
<select form="fLocalization" id="iVolumeSmall" name="settings_volume_s">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['small'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeMedium"><?= $this->getHtml('Medium'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeMedium"><?= $this->getHtml('Medium'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeMedium" name="settings_volume_m">
|
<select form="fLocalization" id="iVolumeMedium" name="settings_volume_m">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['medium'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeLarge"><?= $this->getHtml('Large'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeLarge"><?= $this->getHtml('Large'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeLarge" name="settings_volume_l">
|
<select form="fLocalization" id="iVolumeLarge" name="settings_volume_l">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeVeryLarge"><?= $this->getHtml('VeryLarge'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeVeryLarge" name="settings_volume_vl">
|
<select form="fLocalization" id="iVolumeVeryLarge" name="settings_volume_vl">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['very_large'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeTeaspoon"><?= $this->getHtml('Teaspoon'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeTeaspoon" name="settings_volume_teaspoon">
|
<select form="fLocalization" id="iVolumeTeaspoon" name="settings_volume_teaspoon">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['teaspoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['teaspoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeTablespoon"><?= $this->getHtml('Tablespoon'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeTablespoon" name="settings_volume_tablespoon">
|
<select form="fLocalization" id="iVolumeTablespoon" name="settings_volume_tablespoon">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['tablespoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['tablespoon'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
<tr><td><label for="iVolumeGlass"><?= $this->getHtml('Glass'); ?></label>
|
</div>
|
||||||
<tr><td>
|
<div class="form-group">
|
||||||
|
<label for="iVolumeGlass"><?= $this->getHtml('Glass'); ?></label>
|
||||||
<select form="fLocalization" id="iVolumeGlass" name="settings_volume_glass">
|
<select form="fLocalization" id="iVolumeGlass" name="settings_volume_glass">
|
||||||
<?php foreach ($volumes as $code => $volume) : ?>
|
<?php foreach ($volumes as $code => $volume) : ?>
|
||||||
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['glass'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
<option value="<?= $this->printHtml($volume); ?>"<?= $this->printHtml($volume === $l11n->getVolume()['glass'] ? ' selected' : ''); ?>><?= $this->printHtml($volume); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</table>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -717,47 +797,31 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Audits', 'Auditor'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Audits', 'Auditor'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table class="default fixed">
|
<table class="default fixed">
|
||||||
<colgroup>
|
|
||||||
<col style="width: 75px">
|
|
||||||
<col style="width: 150px">
|
|
||||||
<col style="width: 100px">
|
|
||||||
<col style="width: 75px">
|
|
||||||
<col>
|
|
||||||
<col>
|
|
||||||
<col>
|
|
||||||
<col style="width: 125px">
|
|
||||||
<col style="width: 75px">
|
|
||||||
<col style="width: 150px">
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
<td><?= $this->getHtml('Module', 'Auditor'); ?>
|
<td><?= $this->getHtml('Module', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Type', 'Auditor'); ?>
|
<td><?= $this->getHtml('Type', 'Auditor'); ?>
|
||||||
<td ><?= $this->getHtml('Subtype', 'Auditor'); ?>
|
<td><?= $this->getHtml('Trigger', 'Auditor'); ?>
|
||||||
<td ><?= $this->getHtml('Old', 'Auditor'); ?>
|
|
||||||
<td ><?= $this->getHtml('New', 'Auditor'); ?>
|
|
||||||
<td ><?= $this->getHtml('Content', 'Auditor'); ?>
|
|
||||||
<td><?= $this->getHtml('By', 'Auditor'); ?>
|
<td><?= $this->getHtml('By', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Ref', 'Auditor'); ?>
|
<td><?= $this->getHtml('Ref', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Date', 'Auditor'); ?>
|
<td><?= $this->getHtml('Date', 'Auditor'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
<?php $count = 0;
|
||||||
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
foreach ($audits as $key => $audit) : ++$count;
|
||||||
|
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId());
|
||||||
|
?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td><?= $audit->getId(); ?>
|
<td><?= $audit->getId(); ?>
|
||||||
<td><?= $this->printHtml($audit->getModule()); ?>
|
<td><?= $this->printHtml($audit->getModule()); ?>
|
||||||
<td><?= $audit->getType(); ?>
|
<td><?= $audit->getType(); ?>
|
||||||
<td><?= $this->printHtml($audit->getTrigger()); ?>
|
<td><?= $this->printHtml($audit->getTrigger()); ?>
|
||||||
<td><?= $this->printHtml($audit->getOld()); ?>
|
|
||||||
<td><?= $this->printHtml($audit->getNew()); ?>
|
|
||||||
<td><?= $this->printHtml($audit->getContent()); ?>
|
|
||||||
<td><?= $this->printHtml($audit->createdBy->login); ?>
|
<td><?= $this->printHtml($audit->createdBy->login); ?>
|
||||||
<td><?= $this->printHtml($audit->getRef()); ?>
|
<td><?= $this->printHtml($audit->getRef()); ?>
|
||||||
<td><?= $audit->createdAt->format('Y-m-d H:i'); ?>
|
<td><?= $audit->createdAt->format('Y-m-d H:i'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if ($count === 0) : ?>
|
<?php if ($count === 0) : ?>
|
||||||
<tr><td colspan="9" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
<tr><td colspan="7" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* PHP Version 8.0
|
* PHP Version 8.0
|
||||||
*
|
*
|
||||||
* @package Modules\Admin\Template\Backend
|
* @package Modules\Admin\Theme
|
||||||
* @copyright Dennis Eichhorn
|
* @copyright Dennis Eichhorn
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @version 1.0.0
|
* @version 1.0.0
|
||||||
|
|
@ -26,12 +26,16 @@ $permissions = $this->getData('permissions');
|
||||||
$accounts = $group->getAccounts();
|
$accounts = $group->getAccounts();
|
||||||
$audits = $this->getData('auditlogs') ?? [];
|
$audits = $this->getData('auditlogs') ?? [];
|
||||||
|
|
||||||
$previous = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/group/settings?id={?id}#{\#}' : '{/prefix}admin/group/settings?{?}&audit=' . \reset($audits)->getId() . '&ptype=p#{\#}';
|
$previous = empty($audits)
|
||||||
$next = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/group/settings?id={?id}#{\#}' : '{/prefix}admin/group/settings?{?}&audit=' . \end($audits)->getId() . '&ptype=n#{\#}';
|
? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/group/settings?id={?id}#{\#}'
|
||||||
|
: '{/prefix}admin/group/settings?{?}&audit=' . \reset($audits)->getId() . '&ptype=p#{\#}';
|
||||||
|
$next = empty($audits)
|
||||||
|
? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/group/settings?id={?id}#{\#}'
|
||||||
|
: '{/prefix}admin/group/settings?{?}&audit=' . \end($audits)->getId() . '&ptype=n#{\#}';
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<div class="tabview tab-2">
|
<div id="igroup-tabs" class="tabview tab-2 url-rewrite">
|
||||||
<div class="box wf-100 col-xs-12">
|
<div class="box wf-100 col-xs-12">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
||||||
|
|
@ -47,16 +51,22 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="fGroupEdit" action="<?= UriFactory::build('{/api}admin/group'); ?>" method="post">
|
<form id="fGroupEdit" action="<?= UriFactory::build('{/api}admin/group'); ?>" method="post">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Group'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Group'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
|
<div class="form-group">
|
||||||
<label for="iGid"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
<label for="iGid"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||||
<input id="iGid" name="id" type="text" value="<?= $group->getId(); ?>" disabled>
|
<input id="iGid" name="id" type="text" value="<?= $group->getId(); ?>" disabled>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
<label for="iGname"><?= $this->getHtml('Name'); ?></label>
|
<label for="iGname"><?= $this->getHtml('Name'); ?></label>
|
||||||
<input id="iGname" name="name" type="text" spellcheck="false" autocomplete="off" placeholder=" Guest" value="<?= $this->printHtml($group->name); ?>">
|
<input id="iGname" name="name" type="text" spellcheck="false" autocomplete="off" placeholder=" Guest" value="<?= $this->printHtml($group->name); ?>">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
<label for="iGstatus"><?= $this->getHtml('Status'); ?></label>
|
<label for="iGstatus"><?= $this->getHtml('Status'); ?></label>
|
||||||
<select id="iGstatus" name="status">
|
<select id="iGstatus" name="status">
|
||||||
<?php $status = GroupStatus::getConstants(); foreach ($status as $stat) : ?>
|
<?php $status = GroupStatus::getConstants(); foreach ($status as $stat) : ?>
|
||||||
<option value="<?= $stat; ?>"<?= $stat === $group->getStatus() ? ' selected' : ''; ?>><?= $this->getHtml('GroupStatus' . $stat); ?>
|
<option value="<?= $stat; ?>"<?= $stat === $group->getStatus() ? ' selected' : ''; ?>><?= $this->getHtml('GroupStatus' . $stat); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
<?= $this->getData('editor')->render('group-editor'); ?>
|
<?= $this->getData('editor')->render('group-editor'); ?>
|
||||||
<?= $this->getData('editor')->getData('text')->render(
|
<?= $this->getData('editor')->getData('text')->render(
|
||||||
'group-editor',
|
'group-editor',
|
||||||
|
|
@ -98,9 +108,11 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="iAddAccountToGroup" action="<?= UriFactory::build('{/api}admin/group/account'); ?>" method="put">
|
<form id="iAddAccountToGroup" action="<?= UriFactory::build('{/api}admin/group/account'); ?>" method="put">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Accounts'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Accounts'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
|
<div class="form-group">
|
||||||
<label for="iAccount"><?= $this->getHtml('Name'); ?></label>
|
<label for="iAccount"><?= $this->getHtml('Name'); ?></label>
|
||||||
<?= $this->getData('accGrpSelector')->render('iAccount', 'group', true); ?>
|
<?= $this->getData('accGrpSelector')->render('iAccount', 'group', true); ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
|
<input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -176,43 +188,72 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<form id="fGroupAddPermission" action="<?= UriFactory::build('{/api}admin/group/permission'); ?>" method="put">
|
<form id="fGroupAddPermission" action="<?= UriFactory::build('{/api}admin/group/permission'); ?>" method="put">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Permissions'); ?></div>
|
<div class="portlet-head"><?= $this->getHtml('Permissions'); ?></div>
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<table class="layout wf-100">
|
<div class="form-group">
|
||||||
<tbody>
|
<label for="iPermissionUnit"><?= $this->getHtml('Unit'); ?></label>
|
||||||
<tr><td><label for="iPermissionUnit"><?= $this->getHtml('Unit'); ?></label>
|
<input id="iPermissionUnit" name="permissionunit" type="text" data-tpl-text="/unit" data-tpl-value="/unit">
|
||||||
<tr><td><input id="iPermissionUnit" name="permissionunit" type="text" data-tpl-text="/unit" data-tpl-value="/unit">
|
</div>
|
||||||
<tr><td><label for="iPermissionApp"><?= $this->getHtml('App'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionApp" name="permissionapp" type="text" data-tpl-text="/app" data-tpl-value="/app">
|
<label for="iPermissionApp"><?= $this->getHtml('App'); ?></label>
|
||||||
<tr><td><label for="iPermissionModule"><?= $this->getHtml('Module'); ?></label>
|
<input id="iPermissionApp" name="permissionapp" type="text" data-tpl-text="/app" data-tpl-value="/app">
|
||||||
<tr><td><input id="iPermissionModule" name="permissionmodule" type="text" data-tpl-text="/module" data-tpl-value="/module">
|
</div>
|
||||||
<tr><td><label for="iPermissionType"><?= $this->getHtml('Type'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionType" name="permissiontype" type="text" data-tpl-text="/type" data-tpl-value="/type">
|
<label for="iPermissionModule"><?= $this->getHtml('Module'); ?></label>
|
||||||
<tr><td><label for="iPermissionElement"><?= $this->getHtml('Element'); ?></label>
|
<input id="iPermissionModule" name="permissionmodule" type="text" data-tpl-text="/module" data-tpl-value="/module">
|
||||||
<tr><td><input id="iPermissionElement" name="permissionelement" type="text" data-tpl-text="/ele" data-tpl-value="/ele">
|
</div>
|
||||||
<tr><td><label for="iPermissionComponent"><?= $this->getHtml('Component'); ?></label>
|
<div class="form-group">
|
||||||
<tr><td><input id="iPermissionComponent" name="permissioncomponent" type="text" data-tpl-text="/comp" data-tpl-value="/comp">
|
<label for="iPermissionType"><?= $this->getHtml('Type'); ?></label>
|
||||||
<tr><td><label><?= $this->getHtml('Permission'); ?></label>
|
<input id="iPermissionType" name="permissiontype" type="text" data-tpl-text="/type" data-tpl-value="/type">
|
||||||
<tr><td>
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iPermissionElement"><?= $this->getHtml('Element'); ?></label>
|
||||||
|
<input id="iPermissionElement" name="permissionelement" type="text" data-tpl-text="/ele" data-tpl-value="/ele">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="iPermissionComponent"><?= $this->getHtml('Component'); ?></label>
|
||||||
|
<input id="iPermissionComponent" name="permissioncomponent" type="text" data-tpl-text="/comp" data-tpl-value="/comp">
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label><?= $this->getHtml('Permission'); ?></label>
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionCreate" name="permissioncreate" type="checkbox" value="<?= PermissionType::CREATE; ?>" data-tpl-text="/perm/c" data-tpl-value="/perm/c">
|
<label class="checkbox" for="iPermissionCreate">
|
||||||
<label for="iPermissionCreate"><?= $this->getHtml('Create'); ?></label>
|
<input id="iPermissionCreate" type="checkbox" name="permissioncreate" value="<?= PermissionType::CREATE; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Create'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionRead" name="permissionread" type="checkbox" value="<?= PermissionType::READ; ?>" data-tpl-text="/perm/r" data-tpl-value="/perm/r">
|
<label class="checkbox" for="iPermissionRead">
|
||||||
<label for="iPermissionRead"><?= $this->getHtml('Read'); ?></label>
|
<input id="iPermissionRead" type="checkbox" name="permissionread" value="<?= PermissionType::READ; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Read'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionUpdate" name="permissionupdate" type="checkbox" value="<?= PermissionType::MODIFY; ?>" data-tpl-text="/perm/u" data-tpl-value="/perm/u">
|
<label class="checkbox" for="iPermissionUpdate">
|
||||||
<label for="iPermissionUpdate"><?= $this->getHtml('Update'); ?></label>
|
<input id="iPermissionUpdate" type="checkbox" name="permissionupdate" value="<?= PermissionType::MODIFY; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Update'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionDelete" name="permissiondelete" type="checkbox" value="<?= PermissionType::DELETE; ?>" data-tpl-text="/perm/d" data-tpl-value="/perm/d">
|
<label class="checkbox" for="iPermissionDelete">
|
||||||
<label for="iPermissionDelete"><?= $this->getHtml('Delete'); ?></label>
|
<input id="iPermissionDelete" type="checkbox" name="permissiondelete" value="<?= PermissionType::DELETE; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Delete'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span class="checkbox">
|
<span class="checkbox">
|
||||||
<input id="iPermissionPermission" name="permissionpermission" type="checkbox" value="<?= PermissionType::PERMISSION; ?>" data-tpl-text="/perm/p" data-tpl-value="/perm/p">
|
<label class="checkbox" for="iPermissionPermission">
|
||||||
<label for="iPermissionPermission"><?= $this->getHtml('Permission'); ?></label>
|
<input id="iPermissionPermission" type="checkbox" name="permissionpermission" value="<?= PermissionType::PERMISSION; ?>">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
<?= $this->getHtml('Permission'); ?>
|
||||||
|
</label>
|
||||||
</span>
|
</span>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
<input type="hidden" name="permissionref" value="<?= $group->getId(); ?>">
|
<input type="hidden" name="permissionref" value="<?= $group->getId(); ?>">
|
||||||
|
|
@ -232,23 +273,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Audits', 'Auditor'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Audits', 'Auditor'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table class="default fixed">
|
<table class="default fixed">
|
||||||
<colgroup>
|
|
||||||
<col style="width: 75px">
|
|
||||||
<col style="width: 150px">
|
|
||||||
<col style="width: 100px">
|
|
||||||
<col>
|
|
||||||
<col>
|
|
||||||
<col style="width: 125px">
|
|
||||||
<col style="width: 75px">
|
|
||||||
<col style="width: 150px">
|
|
||||||
</colgroup>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
<td><?= $this->getHtml('Module', 'Auditor'); ?>
|
<td><?= $this->getHtml('Module', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Type', 'Auditor'); ?>
|
<td><?= $this->getHtml('Type', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Trigger', 'Auditor'); ?>
|
<td><?= $this->getHtml('Trigger', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Content', 'Auditor'); ?>
|
|
||||||
<td><?= $this->getHtml('By', 'Auditor'); ?>
|
<td><?= $this->getHtml('By', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Ref', 'Auditor'); ?>
|
<td><?= $this->getHtml('Ref', 'Auditor'); ?>
|
||||||
<td><?= $this->getHtml('Date', 'Auditor'); ?>
|
<td><?= $this->getHtml('Date', 'Auditor'); ?>
|
||||||
|
|
@ -260,13 +290,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<td><?= $this->printHtml($audit->getModule()); ?>
|
<td><?= $this->printHtml($audit->getModule()); ?>
|
||||||
<td><?= $audit->getType(); ?>
|
<td><?= $audit->getType(); ?>
|
||||||
<td><?= $this->printHtml($audit->getTrigger()); ?>
|
<td><?= $this->printHtml($audit->getTrigger()); ?>
|
||||||
<td><?= $this->printHtml($audit->getContent()); ?>
|
|
||||||
<td><?= $this->printHtml($audit->createdBy->login); ?>
|
<td><?= $this->printHtml($audit->createdBy->login); ?>
|
||||||
<td><?= $this->printHtml($audit->getRef()); ?>
|
<td><?= $this->printHtml($audit->getRef()); ?>
|
||||||
<td><?= $audit->createdAt->format('Y-m-d H:i'); ?>
|
<td><?= $audit->createdAt->format('Y-m-d H:i'); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php if ($count === 0) : ?>
|
<?php if ($count === 0) : ?>
|
||||||
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
<tr><td colspan="7" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ $temperatures = \phpOMS\Utils\Converter\TemperatureType::getConstants();
|
||||||
$l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
$l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="tabview tab-2">
|
<div class="tabview tab-2 url-rewrite">
|
||||||
<div class="box wf-100 col-xs-12">
|
<div class="box wf-100 col-xs-12">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
<li><label for="c-tab-1"><?= $this->getHtml('General'); ?></label></li>
|
||||||
|
|
@ -146,7 +146,7 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="iLogPath"><?= $this->getHtml('LogPath'); ?></label>
|
<label for="iLogPath"><?= $this->getHtml('LogPath'); ?></label>
|
||||||
<input id="iLogPath" name="settings_1000000007" type="text" value="<?= $this->printHtml($generalSettings['1000000007']['content']); ?>" placeholder=" /Logs">
|
<input id="iLogPath" name="settings_1000000007" type="text" value="<?= $this->printHtml($generalSettings['1000000007']['content']); ?>" placeholder=" /Logs">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-foot">
|
<div class="portlet-foot">
|
||||||
|
|
@ -642,7 +642,7 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Settings'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Settings'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table id="settingsList" class="default">
|
<table id="settingsList" class="default sticky">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
@ -709,6 +709,9 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
</label>
|
</label>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0;
|
<?php $count = 0;
|
||||||
|
$previousSettings = empty($settings) ? '{/prefix}admin/settings/general' : '{/prefix}admin/settings/general?{?}&sid=' . \reset($settings)->getId() . '&ptype=p';
|
||||||
|
$nextSettings = empty($settings) ? '{/prefix}admin/settings/general' : '{/prefix}admin/settings/general?{?}&sid=' . \end($settings)->getId() . '&ptype=n';
|
||||||
|
|
||||||
foreach ($settings as $key => $setting) : ++$count;
|
foreach ($settings as $key => $setting) : ++$count;
|
||||||
?>
|
?>
|
||||||
<tr tabindex="0">
|
<tr tabindex="0">
|
||||||
|
|
@ -724,7 +727,10 @@ $l11n = $this->getData('defaultlocalization') ?? new NullLocalization();
|
||||||
<tr><td colspan="7" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
<tr><td colspan="7" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
<div class="portlet-foot"></div>
|
<div class="portlet-foot">
|
||||||
|
<a tabindex="0" class="button" href="<?= UriFactory::build($previousSettings); ?>"><?= $this->getHtml('Previous', '0', '0'); ?></a>
|
||||||
|
<a tabindex="0" class="button" href="<?= UriFactory::build($nextSettings); ?>"><?= $this->getHtml('Next', '0', '0'); ?></a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user