diff options
| author | Björn Geiger | 2011-04-08 10:25:29 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-04-08 10:25:29 +0200 |
| commit | e30767a8f83df955fec83d2a2e459a5a8f18193f (patch) | |
| tree | b6d6e169d2c60c1ee78e278c45d371cc70b888bf /application/modules/user/views/scripts/group | |
| parent | defaultbootmenu fertig (diff) | |
| download | pbs2-e30767a8f83df955fec83d2a2e459a5a8f18193f.tar.gz pbs2-e30767a8f83df955fec83d2a2e459a5a8f18193f.tar.xz pbs2-e30767a8f83df955fec83d2a2e459a5a8f18193f.zip | |
Eigener Menüpunkt für Person- und Grouplist
Diffstat (limited to 'application/modules/user/views/scripts/group')
| -rw-r--r-- | application/modules/user/views/scripts/group/show.phtml | 55 |
1 files changed, 24 insertions, 31 deletions
diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml index a1c0896..ea677ac 100644 --- a/application/modules/user/views/scripts/group/show.phtml +++ b/application/modules/user/views/scripts/group/show.phtml @@ -44,9 +44,6 @@ if($this->groupID) { ?> </table> <?php - echo $this->formButton('editgroup', 'Show Grouplist', array( - 'onclick' => 'self.location="/user/group/showall"', - 'class' => 'rightbutton')); if(isset($this->groupRequestList)) { ?> <br /> @@ -87,19 +84,17 @@ if($this->groupID) { ?> <br /> <h2>Members:</h2> -<div class='listelement'> - <?php if(count($this->membersList)==0) - echo "This hroup has no members." ?> - <?php foreach ($this->membersList as $member): ?> - <?php - $membershipID = $member['membershipID']; - $person = $member['person']; - $role = $member['role']; - ?> - <div class='element'> - <div class='content'> - <div class='actions'> - <a href="<?php echo $this->url( +<div class='listelement'><?php if(count($this->membersList)==0) +echo "This hroup has no members." ?> <?php foreach ($this->membersList as $member): ?> +<?php +$membershipID = $member['membershipID']; +$person = $member['person']; +$role = $member['role']; +?> +<div class='element'> +<div class='content'> +<div class='actions'><a + href="<?php echo $this->url( array( 'module' => 'user', 'controller' => 'group', @@ -108,23 +103,21 @@ if($this->groupID) { ), 'default', true) ?>"> <img src='/media/img/delete.png' alt='Revoke Membership' /></a> - </div> - <div class='title'><?php echo $person->getFirstname(); ?> <?php echo $person->getName(); ?></div> - <div class='subtitle'>Role: <?php echo $role->getTitle(); ?></div> - <div class='details dispnone'> - <label>Email</label> - <div class='item'><?php echo $person->getEmail(); ?></div> - <label>City</label> - <div class='item'><?php echo $person->getCity(); ?></div> - </div> - </div> - <div class='clear'></div> - </div> - <?php endforeach ?> </div> +<div class='title'><?php echo $person->getFirstname(); ?> <?php echo $person->getName(); ?></div> +<div class='subtitle'>Role: <?php echo $role->getTitle(); ?></div> +<div class='details dispnone'><label>Email</label> +<div class='item'><?php echo $person->getEmail(); ?></div> +<label>City</label> +<div class='item'><?php echo $person->getCity(); ?></div> +</div> +</div> +<div class='clear'></div> +</div> + <?php endforeach ?></div> - <?php echo $this->memberPagination; ?> - <?php + <?php echo $this->memberPagination; ?> + <?php } } |
