summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/person/show.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/person/show.phtml')
-rw-r--r--application/views/scripts/person/show.phtml79
1 files changed, 0 insertions, 79 deletions
diff --git a/application/views/scripts/person/show.phtml b/application/views/scripts/person/show.phtml
deleted file mode 100644
index 5386c06..0000000
--- a/application/views/scripts/person/show.phtml
+++ /dev/null
@@ -1,79 +0,0 @@
-<div align="right">
-<button onclick="location.href='/person/edit'">Edit</button>
-</div>
-<table>
- <tr>
- <td><b>Title:</b></td>
- <td><?php echo $this->person->getTitle(); ?></td>
- </tr>
- <tr>
- <td><b>Name:</b></td>
- <td><?php echo $this->person->getName(); ?></td>
- </tr>
- <tr>
- <td><b>Firstname:</b></td>
- <td><?php echo $this->person->getFirstname(); ?></td>
- </tr>
- <tr>
- <td><b>Street:</b></td>
- <td><?php echo $this->person->getStreet(); ?></td>
- </tr>
- <tr>
- <td><b>Housenumber:</b></td>
- <td><?php echo $this->person->getHousenumber(); ?></td>
- </tr>
- <tr>
- <td><b>City:</b></td>
- <td><?php echo $this->person->getCity(); ?></td>
- </tr>
- <tr>
- <td><b>Postalcode:</b></td>
- <td><?php echo $this->person->getPostalcode(); ?></td>
- </tr>
- <tr>
- <td><b>Email:</b></td>
- <td><?php echo $this->person->getEmail(); ?></td>
- </tr>
- <tr>
- <td><b>Last Login Date:</b></td>
- <td><?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()); ?> Uhr</td>
- </tr>
- <tr>
- <td><b>Register Date:</b></td>
- <td><?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()); ?> Uhr</td>
- </tr>
-</table>
-<?php
-if(isset($this->groups)) {
- ?>
-<br />
-<div>Member in the following Groups:</div>
-<br />
-<table>
-<?php
-foreach($this->groups as $group) {
- ?>
- <tr>
- <th>Title</th>
- <th>Functions</th>
- </tr>
- <tr>
- <td><?php echo $group['title']; ?></td>
- <td>
- <form name="leaveGroup<?php echo $group['id']; ?>"
- action="/person/leave/" method="post"><input type="hidden"
- name="groupID" value="<?php echo $group['id']; ?>" /> <a
- href="javascript:document.leaveGroup<?php echo $group['id']; ?>.submit();">Remove
- Membership</a></form>
- </td>
- </tr>
- <?php
-}
-}
-?>
-</table>
-<br />
-<div>
-<button onclick="location.href='/person/request'">Add to additional
-Groups</button>
-</div>