From 2ff764eb531b402d64cae36502c9b340a57fd62d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Apr 2018 22:32:28 +0200 Subject: [PATCH] General template fixes --- .../Components/AccountGroupSelector/base.tpl.php | 10 +++++----- Theme/Backend/profile-single.tpl.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php index 4999be7..a0cf272 100644 --- a/Theme/Backend/Components/AccountGroupSelector/base.tpl.php +++ b/Theme/Backend/Components/AccountGroupSelector/base.tpl.php @@ -31,9 +31,9 @@ {"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#printHtml($this->getId()); ?>", "value": "", "data": ""} ] } - ]'isRequired() ? ' required' : ''; ?>> + ]'> - + isRequired() ? ' required' : ''; ?>>
@@ -41,9 +41,9 @@
\ No newline at end of file diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php index 7d124d4..8b24417 100644 --- a/Theme/Backend/profile-single.tpl.php +++ b/Theme/Backend/profile-single.tpl.php @@ -28,7 +28,7 @@ echo $this->getData('nav')->render();
-

printHtml($account->getAccount()->getName3()); ?>, printHtml($account->getAccount()->getName1()); ?>

+

printHtml(empty($account->getAccount()->getName3()) ? $account->getAccount()->getName2() : $account->getAccount()->getName3()); ?>, printHtml($account->getAccount()->getName1()); ?>

<?= $this->getHtml('ProfileImage'); ?>