summaryrefslogblamecommitdiffstats
path: root/application/modules/user/views/scripts/person/show.phtml
blob: a380b3cafc29de859c0b162e742090ac7e8d868d (plain) (tree)















































                                                                                                                                                                                                 
<h1>Person</h1>
<?php if($this->editRight === true) echo $this->formButton('editperson', 'Edit', array(
							'onclick' => 'self.location="/user/person/edit/personID/' . $this->personID . '"',
							'class' => 'rightbutton')) ?>
<?php if($this->deleteRight === true) echo $this->formButton('deleteperson', 'Delete', array(
							'onclick' => 'self.location="/user/auth/delete/personID/' . $this->personID . '"',
							'class' => 'rightbutton')) ?>
<br />
<br />
<div class="personColorDiv"><span class="bold">Title:</span>&nbsp;<?php echo $this->person->getTitle(); ?></div>
<div class="personDiv"><span class="bold">Name:</span>&nbsp;<?php echo $this->person->getName(); ?></div>
<div class="personColorDiv"><span class="bold">Firstname:</span>&nbsp;<?php echo $this->person->getFirstname(); ?></div>
<div class="personDiv"><span class="bold">Street:</span>&nbsp;<?php echo $this->person->getStreet(); ?></div>
<div class="personColorDiv"><span class="bold">Housenumber:</span>&nbsp;<?php echo $this->person->getHousenumber(); ?></div>
<div class="personDiv"><span class="bold">City:</span>&nbsp;<?php echo $this->person->getCity(); ?></div>
<div class="personColorDiv"><span class="bold">Postalcode:</span>&nbsp;<?php echo $this->person->getPostalcode(); ?></div>
<div class="personDiv"><span class="bold">Email:</span>&nbsp;<?php echo $this->person->getEmail(); ?></div>
<div class="personColorDiv"><span class="bold">Last Login Date:</span>&nbsp;<?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()) . " Uhr"; ?></div>
<div class="personDiv"><span class="bold">Register Date:</span>&nbsp;<?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()) . ' Uhr'; ?></div>
<?php
if($this->overviewRight === true) echo $this->formButton('showallperson', 'Show Personlist', array(
							'onclick' => 'self.location="/user/person/showall/"',
							'class' => 'rightbutton'));
if(isset($this->groups)) {
	?>
<br />
<h2>Member in the following Groups:</h2>
<table>
	<tr>
		<th>Title</th>
		<th>Description</th>
	</tr>
	<?php
	foreach($this->groups as $group) {
		?>
	<tr class="entry">
		<td><?php echo $group['title']; ?></td>
		<td><?php echo $group['description']; ?></td>
	</tr>
	<?php
	}
	?>
</table>
	<?php
}
?>
<br />
<br />