diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php
index d3de736..2dfbd48 100644
--- a/Theme/Backend/Lang/en.lang.php
+++ b/Theme/Backend/Lang/en.lang.php
@@ -17,6 +17,7 @@ return ['Profile' => [
'Account/Group' => 'Account/Group',
'Activity' => 'Activity',
'Address' => 'Address',
+ 'Amount' => '{Amount}',
'Area' => 'Area',
'Birthday' => 'Birthday',
'City' => 'City',
@@ -26,8 +27,10 @@ return ['Profile' => [
'Country' => 'Country',
'CreateProfile' => 'Create Profile',
'Currency' => 'Currency',
+ 'Currencyformat' => 'Currencyformat',
'Customized' => 'Customized',
'DecimalPoint' => 'Decimal Point',
+ 'DateDelim' => 'Date Separator',
'Defaults' => 'Defaults',
'Email' => 'Email',
'Fast' => 'Fast',
@@ -39,6 +42,7 @@ return ['Profile' => [
'LastLogin' => 'Last Login',
'Length' => 'Length',
'Light' => 'Light',
+ 'Load' => 'Load',
'Localization' => 'Localization',
'Long' => 'Long',
'Medium' => 'Medium',
@@ -65,6 +69,9 @@ return ['Profile' => [
'Teaspoon' => 'Teaspoon',
'Temperature' => 'Temperature',
'ThousandsSeparator' => 'Thousands Separator',
+ 'Time' => 'Time',
+ 'TimeDelim' => 'Time Separator',
+ 'Timeformat' => 'Timeformat',
'Timezone' => 'Timezone',
'VeryFast' => 'Very Fast',
'VeryHeavy' => 'Very Heavy',
diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php
index 240ec4d..7a2562a 100644
--- a/Theme/Backend/profile-single.tpl.php
+++ b/Theme/Backend/profile-single.tpl.php
@@ -17,11 +17,12 @@ use phpOMS\Uri\UriFactory;
/**
* @var \phpOMS\Views\View $this
- * @var \Modules\Profile\Models\Profile $account
+ * @var \Modules\Profile\Models\Profile $profile
*/
-$account = $this->getData('account');
+$profile = $this->getData('account');
$settings = $this->getData('settings') ?? [];
+$countryCodes = \phpOMS\Localization\ISO3166TwoEnum::getConstants();
$countries = \phpOMS\Localization\ISO3166NameEnum::getConstants();
$timezones = \phpOMS\Localization\TimeZoneEnumArray::getConstants();
$timeformats = \phpOMS\Localization\ISO8601EnumArray::getConstants();
@@ -36,6 +37,9 @@ $lengths = \phpOMS\Utils\Converter\LengthType::getConstants();
$volumes = \phpOMS\Utils\Converter\VolumeType::getConstants();
$temperatures = \phpOMS\Utils\Converter\TemperatureType::getConstants();
+$account = $profile->getAccount();
+$l11n = $account->getL11n();
+
echo $this->getData('nav')->render();
?>
@@ -53,12 +57,12 @@ echo $this->getData('nav')->render();
- getAccount()->getName3()) || !empty($account->getAccount()->getName2())) : ?>
+ getName3()) || !empty($account->getName2())) : ?>
- = $this->printHtml(empty($account->getAccount()->getName3()) ? $account->getAccount()->getName2() : $account->getAccount()->getName3()); ?>,
+ = $this->printHtml(empty($account->getName3()) ? $account->getName2() : $account->getName3()); ?>,
- = $this->printHtml($account->getAccount()->getName1()); ?>
+ = $this->printHtml($account->getName1()); ?>
@@ -69,9 +73,9 @@ echo $this->getData('nav')->render();
alt="= $this->getHtml('ProfileImage'); ?>"
itemprop="logo"
data-lazyload="=
- $account->getImage() instanceof NullMedia ?
+ $profile->getImage() instanceof NullMedia ?
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
- UriFactory::build('{/prefix}' . $account->getImage()->getPath()); ?>"
+ UriFactory::build('{/prefix}' . $profile->getImage()->getPath()); ?>"
>
@@ -80,15 +84,15 @@ echo $this->getData('nav')->render();
| Sailor
|
| = $this->getHtml('Birthday') ?>
- | = $account->getBirthday()->format('Y-m-d'); ?>
+ | = $profile->getBirthday()->format('Y-m-d'); ?>
|
| = $this->getHtml('Email') ?>
- | = $this->printHtml($account->getAccount()->getEmail()); ?>
+ | = $this->printHtml($account->getEmail()); ?>
|
| = $this->getHtml('Address') ?>
|
getLocation();
+ $locations = $profile->getLocation();
if (empty($locations)) :
?>
|
@@ -104,7 +108,7 @@ echo $this->getData('nav')->render();
| = $this->getHtml('Contact') ?>
|
getContactElements();
+ $contacts = $profile->getContactElements();
if (empty($contacts)) :
?>
|
@@ -118,13 +122,13 @@ echo $this->getData('nav')->render();
| = $this->getHtml('Registered') ?>
- | = $this->printHtml($account->getAccount()->getCreatedAt()->format('Y-m-d')); ?>
+ | = $this->printHtml($account->getCreatedAt()->format('Y-m-d')); ?>
|
| = $this->getHtml('LastLogin') ?>
- | = $this->printHtml($account->getAccount()->getLastActive()->format('Y-m-d')); ?>
+ | = $this->printHtml($account->getLastActive()->format('Y-m-d')); ?>
|
| = $this->getHtml('Status') ?>
- | = $this->getHtml(':s' . $account->getAccount()->getStatus(), 'Admin'); ?>
+ | = $this->getHtml(':s' . $account->getStatus(), 'Admin'); ?>
|
@@ -177,29 +181,22 @@ echo $this->getData('nav')->render();
|
|
|
- |
|
- |
|
-
|
|
|
|
|
|
|
|
|
@@ -209,30 +206,72 @@ echo $this->getData('nav')->render();
+
+
+ = $this->getHtml('Time'); ?>
+
+
+
+
= $this->getHtml('Numeric'); ?>
-
-
= $this->getHtml('Speed'); ?>
@@ -294,42 +331,42 @@ echo $this->getData('nav')->render();
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
@@ -349,42 +386,42 @@ echo $this->getData('nav')->render();
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
@@ -404,35 +441,35 @@ echo $this->getData('nav')->render();
| |
| |
| |
| |
| |
| |
| |
| |
|
@@ -440,9 +477,7 @@ echo $this->getData('nav')->render();
-
-
= $this->getHtml('Volume'); ?>
@@ -454,56 +489,56 @@ echo $this->getData('nav')->render();
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
@@ -511,7 +546,6 @@ echo $this->getData('nav')->render();
-
| | |