From e30767a8f83df955fec83d2a2e459a5a8f18193f Mon Sep 17 00:00:00 2001
From: Björn Geiger
Date: Fri, 8 Apr 2011 10:25:29 +0200
Subject: Eigener Menüpunkt für Person- und Grouplist
---
.../modules/user/views/scripts/group/show.phtml | 55 ++++++++++------------
.../modules/user/views/scripts/person/index.phtml | 48 ++++++++-----------
.../modules/user/views/scripts/person/show.phtml | 3 --
3 files changed, 44 insertions(+), 62 deletions(-)
(limited to 'application/modules/user/views/scripts')
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) {
?>
formButton('editgroup', 'Show Grouplist', array(
- 'onclick' => 'self.location="/user/group/showall"',
- 'class' => 'rightbutton'));
if(isset($this->groupRequestList)) {
?>
@@ -87,19 +84,17 @@ if($this->groupID) {
?>
+
+
$rightlist, 'roleID' => $roleID));
+ $linkForm = new user_Form_LinkRight(array('rightlist' => $rightlist));
} else {
- $linkForm = new user_Form_LinkRight(array('rightlist' => $rightlist, 'roleID' => $roleID), $_POST);
+ $linkForm = new user_Form_LinkRight(array('rightlist' => $rightlist, $_POST));
if ($linkForm->isValid($_POST)) {
- $rightroles = new Application_Model_RightRoles();
- $rightroles->setRightID($_POST['rightID']);
- $rightroles->setRoleID($roleID);
- try {
- $this->rightRolesMapper->save($rightroles);
- } catch(Zend_Exception $e)
- {
- echo "Caught exception: " . get_class($e) . "| info: | ".$result['info']." |
| kernel: | ".$result['kernel']." |
| initramfs: | ".$result['initramfs']." |
| kcl: | ".$result['kcl']." |
| config: | ".$result['config']." |