diff options
Diffstat (limited to 'application/modules/user/views/scripts/group/show.phtml')
| -rw-r--r-- | application/modules/user/views/scripts/group/show.phtml | 94 |
1 files changed, 45 insertions, 49 deletions
diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml index ea677ac..19dc396 100644 --- a/application/modules/user/views/scripts/group/show.phtml +++ b/application/modules/user/views/scripts/group/show.phtml @@ -2,7 +2,7 @@ if($this->groupID) { if(isset($this->userIDsNamespace['groupID'])) { ?> -<h1>Group</h1> +<h1>Own Group</h1> <?php echo $this->formButton('deletegroup', 'Delete', array( 'onclick' => 'self.location="/user/group/delete/"', @@ -22,63 +22,61 @@ if($this->groupID) { 'class' => 'rightbutton')); } ?> -<span class="clear"></span> -<table> - <tr> - <th>Title</th> - <th>Description</th> - </tr> - <tr class="entry"> - <td><?php echo $this->group->getTitle(); ?></td> - <td><?php echo $this->group->getDescription(); ?></td> - </tr> +<div class='detailelement'> +<div class='element'> +<div class='content'> +<div class='title'>Title: <span class="noBold"><?php echo $this->group->getTitle(); ?></span></div> +</div> +<div class='clear'></div> +</div> +<div class='element'> +<div class='content'> +<div class='title'>Description: <span class="noBold"><?php echo $this->group->getDescription(); ?></span></div> +</div> +<div class='clear'></div> +</div> <?php if(isset($parentGroup) && is_object($parentGroup)) { ?> - <tr> - <td><b>Superordinated Group:</b></td> - <td><?php echo $this->parentGroup->getTitle(); ?></td> - </tr> - <?php +<div class='element'> +<div class='content'> +<div class='title'>Superordinated Group: <span class="noBold"><?php echo $this->parentGroup->getTitle(); ?></span></div> +</div> +<div class='clear'></div> +</div> + <?php } - ?> -</table> + ?></div> <?php if(isset($this->groupRequestList)) { ?> <br /> <h2>Requests:</h2> -<table> - <tr> - <th>Firstname</th> - <th>Name</th> - <th>email</th> - <th>city</th> - <th>grant</th> - </tr> - <?php - foreach($this->groupRequestList as $grouprequest) { - $grouprequestID = $grouprequest['grouprequestID']; - $person = $grouprequest['person']; - ?> - <tr class="entry"> - <td><?php echo $person->getFirstname(); ?></td> - <td><?php echo $person->getName(); ?></td> - <td><?php echo $person->getEmail(); ?></td> - <td><?php echo $person->getCity(); ?></td> - <td> - <form action="/user/group/grantperson" method="post"><input - type="hidden" name="grouprequestID" - value="<?php echo $grouprequestID; ?>" /> <?php printRoleSelect($this->roleList); ?> - <input type="image" src='/media/img/save.png' alt='Grant Person' - name="confirm" value="confirm" /></form> - </td> - </tr> - <?php - } +<div class='listelement'><?php +foreach($this->groupRequestList as $grouprequest) { + $grouprequestID = $grouprequest['grouprequestID']; + $person = $grouprequest['person']; ?> -</table> +<div class='element'> +<div class='content'> +<div class='actions'> +<form action="/user/group/grantperson" method="post"><input + type="hidden" name="grouprequestID" + value="<?php echo $grouprequestID; ?>" /> <?php printRoleSelect($this->roleList); ?> +<input type="image" src='/media/img/save.png' alt='Grant Person' + name="confirm" value="confirm" /></form> +</div> +<div class='title'><?php echo $person->getTitle(); ?> <?php echo $person->getFirstname(); ?> <?php echo $person->getName(); ?></div> +<div class='subtitle'><?php echo $person->getCity(); ?></div> +<div class='details dispnone'><label>Email</label> +<div class='item'><?php echo $person->getEmail(); ?></div> +</div> +</div> +</div> <?php +} +?></div> +<?php } if(isset($this->membersList)) { ?> @@ -132,5 +130,3 @@ function printRoleSelect($roleList) { echo "</select>"; } ?> -<br /> -<br /> |
