diff options
| author | Björn Geiger | 2011-03-24 15:53:28 +0100 |
|---|---|---|
| committer | Björn Geiger | 2011-03-24 15:53:28 +0100 |
| commit | 582c214adec00e3e3e928dcffd90e9b68e9abe15 (patch) | |
| tree | 4e404d539d28fb653232fdad447299904db64d6a /application/modules/user/views/scripts/person | |
| parent | MembershipSelect nach Login (diff) | |
| download | pbs2-582c214adec00e3e3e928dcffd90e9b68e9abe15.tar.gz pbs2-582c214adec00e3e3e928dcffd90e9b68e9abe15.tar.xz pbs2-582c214adec00e3e3e928dcffd90e9b68e9abe15.zip | |
ausgewählte Mitgliedschaft kann nun geändert werden
Diffstat (limited to 'application/modules/user/views/scripts/person')
| -rw-r--r-- | application/modules/user/views/scripts/person/index.phtml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/application/modules/user/views/scripts/person/index.phtml b/application/modules/user/views/scripts/person/index.phtml index 3826d25..f23bc07 100644 --- a/application/modules/user/views/scripts/person/index.phtml +++ b/application/modules/user/views/scripts/person/index.phtml @@ -19,16 +19,20 @@ if(isset($this->groups)) { ?> <br /> <h2>Member in the following Groups:</h2> + <?php echo $this->formButton('changeGroup', 'Select other Membership', array( + 'onclick' => 'self.location="/user/person/changemembership"', + 'class' => 'rightbutton'))?> <table> -<?php -foreach($this->groups as $group) { - ?> <tr> <th>Title</th> <th>Description</th> <th>Leave</th> </tr> - <tr> + <?php + foreach($this->groups as $group) { + ?> + <tr + <?php if($group['membershipID'] == $this->userIDsNamespace['membershipID']) echo 'class="selectedMembership"'; else echo 'class="entry"'; ?>> <td><?php echo $group['title']; ?></td> <td><?php echo $group['description']; ?></td> <td class='action'><a @@ -44,14 +48,14 @@ foreach($this->groups as $group) { </td> </tr> <?php -} -} -?> + } + ?> </table> -<?php echo $this->formButton('addtogroup', 'Add to additional + <?php echo $this->formButton('addtogroup', 'Add to additional Groups', array( 'onclick' => 'self.location="/user/person/request/"', 'class' => 'addbutton')); +} ?> <br /> <br /> |
