Registered user parts (only view)

This commit is contained in:
2019-06-19 13:27:22 +02:00
parent 5743219a1c
commit e89aac01a3
12 changed files with 191 additions and 66 deletions

View File

@@ -23,48 +23,60 @@ defined('_JEXEC') or die;
<div class='clubs_row'>
<div class='clubs_title_row'>Benutzer-Alias</div>
<div class='clubs_content_row'>
<?php echo htmlentities($this->me->getUsername()); ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserUsername();
echo $partHandler->getViewPart();
?>
</div>
</div>
<div class='clubs_row'>
<div class='clubs_title_row'>Adresse</div>
<div class='clubs_content_row address-field'>
<?php echo nl2br(htmlentities($this->me->getAddress())); ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserAddress();
echo $partHandler->getViewPart();
?>
</div>
</div>
<div class='clubs_row'>
<div class='clubs_title_row'>Stadt</div>
<div class='clubs_content_row'>
<?php echo htmlentities($this->me->getCity()); ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserCity();
echo $partHandler->getViewPart();
?>
</div>
</div>
<div class='clubs_row'>
<div class='clubs_title_row'>E-Mail-Adresse</div>
<div class='clubs_content_row'>
<?php echo htmlentities($this->me->getMail()); ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserMail();
echo $partHandler->getViewPart();
?>
</div>
</div>
<div class='clubs_row'>
<div class='clubs_title_row'>Telefon-Nr.</div>
<div class='clubs_content_row'>
<?php echo $this->me->getPhone() !== null ? htmlentities($this->me->getPhone()) : '<i>nicht angegeben</i>'; ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserPhone();
echo $partHandler->getViewPart();
?>
</div>
</div>
<div class='clubs_row'>
<div class='clubs_title_row'>Handy-Nr.</div>
<div class='clubs_content_row'>
<?php echo $this->me->getMobile() !== null ? htmlentities($this->me->getMobile()) : '<i>nicht angegeben</i>'; ?>
<span class='icon-apply clubs-hidden edit-icon' style='font-size: 200%; margin-left: 0.75em;'></span>
<?php
$partHandler = new ClubsPartUserMobile();
echo $partHandler->getViewPart();
?>
</div>
</div>