blob: b0c6fc1b02756382440c396d0f6b0051aac8a287 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<h1>Person</h1>
<?php echo $this->formButton('editperson', 'Edit', array(
'onclick' => 'self.location="/dev/person/edit/"',
'class' => 'rightbutton'))?>
<br /><br />
<div class="personColorDiv"><span class="bold">Title:</span> <?php echo $this->person->getTitle(); ?></div>
<div class="personDiv"><span class="bold">Name:</span> <?php echo $this->person->getName(); ?></div>
<div class="personColorDiv"><span class="bold">Firstname:</span> <?php echo $this->person->getFirstname(); ?></div>
<div class="personDiv"><span class="bold">Street:</span> <?php echo $this->person->getStreet(); ?></div>
<div class="personColorDiv"><span class="bold">Housenumber:</span> <?php echo $this->person->getHousenumber(); ?></div>
<div class="personDiv"><span class="bold">City:</span> <?php echo $this->person->getCity(); ?></div>
<div class="personColorDiv"><span class="bold">Postalcode:</span> <?php echo $this->person->getPostalcode(); ?></div>
<div class="personDiv"><span class="bold">Email:</span> <?php echo $this->person->getEmail(); ?></div>
<div class="personColorDiv"><span class="bold">Last Login Date:</span> <?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> <?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()) . ' Uhr'; ?></div>
<?php
if(isset($this->groups)) {
?>
<br />
<h2>Member in the following Groups:</h2>
<table>
<?php
foreach($this->groups as $group) {
?>
<tr>
<th>Title</th>
<th>Description</th>
<th>Leave</th>
</tr>
<tr>
<td><?php echo $group['title']; ?></td>
<td><?php echo $group['description']; ?></td>
<td class='action'><a
href="<?php echo $this->url(
array(
'module' => 'dev',
'controller' => 'person',
'action' => 'leave',
'membershipID' => $group['membershipID']
),
'default',
true) ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a>
</td>
</tr>
<?php
}
}
?>
</table>
<?php echo $this->formButton('addtogroup', 'Add to additional
Groups', array(
'onclick' => 'self.location="/dev/person/request/"',
'class' => 'addbutton'));
?>
<br /><br /><br /><br /><br />
|