diff --git a/Controller.php b/Controller.php index e07dd7d..e31a5ff 100644 --- a/Controller.php +++ b/Controller.php @@ -22,6 +22,7 @@ use phpOMS\Module\ModuleAbstract; use phpOMS\Module\WebInterface; use phpOMS\Views\View; use phpOMS\Views\ViewLayout; +use phpOMS\Asset\AssetType; /** * Profile class. diff --git a/Theme/Backend/css/styles.css b/Theme/Backend/css/styles.css new file mode 100644 index 0000000..897d7da --- /dev/null +++ b/Theme/Backend/css/styles.css @@ -0,0 +1,3 @@ +img.m-profile { + padding: 5px; + border: 1px solid #ccc; } diff --git a/Theme/Backend/css/styles.scss b/Theme/Backend/css/styles.scss index e69de29..5af3492 100644 --- a/Theme/Backend/css/styles.scss +++ b/Theme/Backend/css/styles.scss @@ -0,0 +1,4 @@ +img.m-profile { + padding: 5px; + border: 1px solid #ccc; +} \ No newline at end of file diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php index 1a1ae4d..5f5aa3b 100644 --- a/Theme/Backend/profile-single.tpl.php +++ b/Theme/Backend/profile-single.tpl.php @@ -34,7 +34,7 @@ echo $this->getData('nav')->render(); -
getHtml('Name') ?><?= $this->getHtml('ProfileImage'); ?> + getHtml('Name') ?><?= $this->getHtml('ProfileImage'); ?> getAccount()->getName3(), ENT_COMPAT, 'utf-8'); ?>, getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?>
getHtml('Occupation') ?>