summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views/scripts/person
diff options
context:
space:
mode:
authorSebastian Schmelzer2012-01-11 15:22:32 +0100
committerSebastian Schmelzer2012-01-11 15:22:32 +0100
commit83767be80c29e3d3ca99f4a7d2eaab97f8256d1b (patch)
tree354ee1ba3343291cd389aea69582d677fb7b8a26 /application/modules/dev/views/scripts/person
parentfix stylecode output (diff)
downloadpbs2-83767be80c29e3d3ca99f4a7d2eaab97f8256d1b.tar.gz
pbs2-83767be80c29e3d3ca99f4a7d2eaab97f8256d1b.tar.xz
pbs2-83767be80c29e3d3ca99f4a7d2eaab97f8256d1b.zip
remove unused stuff
Diffstat (limited to 'application/modules/dev/views/scripts/person')
-rw-r--r--application/modules/dev/views/scripts/person/edit.phtml5
-rw-r--r--application/modules/dev/views/scripts/person/request.phtml7
-rw-r--r--application/modules/dev/views/scripts/person/show.phtml55
3 files changed, 0 insertions, 67 deletions
diff --git a/application/modules/dev/views/scripts/person/edit.phtml b/application/modules/dev/views/scripts/person/edit.phtml
deleted file mode 100644
index 3e666d4..0000000
--- a/application/modules/dev/views/scripts/person/edit.phtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>Edit Person</h1>
-<?php
-$this->editForm->setAction($this->url());
-echo $this->editForm;
-?> \ No newline at end of file
diff --git a/application/modules/dev/views/scripts/person/request.phtml b/application/modules/dev/views/scripts/person/request.phtml
deleted file mode 100644
index 91a625b..0000000
--- a/application/modules/dev/views/scripts/person/request.phtml
+++ /dev/null
@@ -1,7 +0,0 @@
-<h1>Request Membership</h1>
-<?php
-if(count($this->requestForm->getGrouplist())>0) {
- $this->requestForm->setAction($this->url());
- echo $this->requestForm;
-}
-?> \ No newline at end of file
diff --git a/application/modules/dev/views/scripts/person/show.phtml b/application/modules/dev/views/scripts/person/show.phtml
deleted file mode 100644
index b0c6fc1..0000000
--- a/application/modules/dev/views/scripts/person/show.phtml
+++ /dev/null
@@ -1,55 +0,0 @@
-<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>&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(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 /> \ No newline at end of file