diff options
| author | Simon | 2011-03-14 16:09:03 +0100 |
|---|---|---|
| committer | Simon | 2011-03-14 16:09:03 +0100 |
| commit | b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c (patch) | |
| tree | fcef50ad1ddf831f457d6aecd83e7fdc63297a1c /application/modules/dev/views/scripts/person/show.phtml | |
| parent | footer bleibt am fensterbottom (diff) | |
| download | pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.gz pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.xz pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.zip | |
Application in 3 Modules gesplittet, Dev = unsere entwicklungsumgebung, user = die weboberfläche fr anwender mit acl etc, fbgui = für die fbgui truppe - links in dev müssen noch angepasst werden
Diffstat (limited to 'application/modules/dev/views/scripts/person/show.phtml')
| -rw-r--r-- | application/modules/dev/views/scripts/person/show.phtml | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/person/show.phtml b/application/modules/dev/views/scripts/person/show.phtml new file mode 100644 index 0000000..5386c06 --- /dev/null +++ b/application/modules/dev/views/scripts/person/show.phtml @@ -0,0 +1,79 @@ +<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> |
