mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-04 02:08:41 +00:00
Add user image output draft
This commit is contained in:
parent
c58062b7e2
commit
07567878b5
|
|
@ -35,7 +35,7 @@ echo $this->getData('nav')->render();
|
|||
<!-- @formatter:off -->
|
||||
<table class="list">
|
||||
<tr>
|
||||
<th><?= $this->getHtml('Name') ?><img alt="<?= $this->getHtml('ProfileImage'); ?>" src="<?= $account->getImage()->getPath(); ?>">
|
||||
<th><?= $this->getHtml('Name') ?><img alt="<?= $this->getHtml('ProfileImage'); ?>" src="<?= $account->getImage() instanceof \Modules\Media\Models\NullMedia ? \phpOMS\Uri\UriFactory::build('{/base}/Web/Backend/img/user_default_' . mt_rand(1, 6) .'.png') : $account->getImage()->getPath(); ?>">
|
||||
<td><span itemprop="familyName"><?= htmlspecialchars($account->getAccount()->getName3(), ENT_COMPAT, 'utf-8'); ?></span>, <span itemprop="givenName"><?= htmlspecialchars($account->getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?></span>
|
||||
<tr>
|
||||
<th><?= $this->getHtml('Occupation') ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user