diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php
index bf7e723..8098bac 100755
--- a/Admin/Routes/Web/Api.php
+++ b/Admin/Routes/Web/Api.php
@@ -165,6 +165,17 @@ return [
],
],
],
+ '^.*/admin/account/localization(\?.*|$)' => [
+ [
+ 'dest' => '\Modules\Admin\Controller\ApiController:apiSettingsAccountLocalizationSet',
+ 'verb' => RouteVerb::SET,
+ 'permission' => [
+ 'module' => AdminApiController::MODULE_NAME,
+ 'type' => PermissionType::MODIFY,
+ 'state' => PermissionState::ACCOUNT_SETTINGS,
+ ],
+ ],
+ ],
'^.*/admin/module/status.*$' => [
[
diff --git a/Theme/Backend/accounts-list.tpl.php b/Theme/Backend/accounts-list.tpl.php
index a272a01..d268189 100755
--- a/Theme/Backend/accounts-list.tpl.php
+++ b/Theme/Backend/accounts-list.tpl.php
@@ -34,20 +34,65 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('ID', '0', '0'); ?>
-
-
+
+
+
| = $this->getHtml('Status'); ?>
-
-
+
+
+
| = $this->getHtml('Name'); ?>
-
-
+
+
+
| = $this->getHtml('Activity'); ?>
-
-
+
+
+
| = $this->getHtml('Created'); ?>
-
-
+
+
+
|
$value) : ++$c;
$url = UriFactory::build('{/prefix}admin/account/settings?{?}&id=' . $value->getId());
diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php
index 4a27888..d810dff 100755
--- a/Theme/Backend/accounts-single.tpl.php
+++ b/Theme/Backend/accounts-single.tpl.php
@@ -18,6 +18,19 @@ use phpOMS\Account\PermissionOwner;
use phpOMS\Account\PermissionType;
use phpOMS\Message\Http\HttpHeader;
use phpOMS\Uri\UriFactory;
+use phpOMS\Localization\ISO3166TwoEnum;
+use phpOMS\Localization\ISO3166NameEnum;
+use phpOMS\Localization\TimeZoneEnumArray;
+use phpOMS\Localization\ISO8601EnumArray;
+use phpOMS\Localization\ISO639Enum;
+use phpOMS\Localization\ISO4217Enum;
+use phpOMS\Utils\Converter\WeightType;
+use phpOMS\Utils\Converter\SpeedType;
+use phpOMS\Utils\Converter\AreaType;
+use phpOMS\Utils\Converter\LengthType;
+use phpOMS\Utils\Converter\VolumeType;
+use phpOMS\Utils\Converter\TemperatureType;
+use phpOMS\System\File\Local\Directory;
/**
* @var \phpOMS\Views\View $this
@@ -25,6 +38,7 @@ use phpOMS\Uri\UriFactory;
$account = $this->getData('account');
$permissions = $this->getData('permissions');
$audits = $this->getData('auditlogs') ?? [];
+$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#{\#}';
$next = empty($audits) ? HttpHeader::getAllHeaders()['Referer'] ?? '{/prefix}admin/account/settings?id={?id}#{\#}' : '{/prefix}admin/account/settings?{?}&audit=' . \end($audits)->getId() . '&ptype=n#{\#}';
@@ -35,7 +49,8 @@ echo $this->getData('nav')->render(); ?>
-
+
+
@@ -260,7 +275,442 @@ echo $this->getData('nav')->render(); ?>
+
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
+
+
+
+
+
+
+
= $this->getHtml('Time'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Numeric'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Precision'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Weight'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Speed'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Length'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Area'); ?>
+
+
+
+
+
+
+
= $this->getHtml('Volume'); ?>
+
+
+
+
+
+
+ request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
diff --git a/Theme/Backend/groups-list.tpl.php b/Theme/Backend/groups-list.tpl.php
index ee1c6b1..636c7ac 100755
--- a/Theme/Backend/groups-list.tpl.php
+++ b/Theme/Backend/groups-list.tpl.php
@@ -34,10 +34,42 @@ echo $this->getData('nav')->render(); ?>