From aaf8275e5ff92504357c5f3167a3f256d0d393ad Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Sun, 27 Mar 2011 16:44:55 +0200 Subject: Rollenverwaltung User Module --- .../modules/user/views/scripts/role/show.phtml | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 application/modules/user/views/scripts/role/show.phtml (limited to 'application/modules/user/views/scripts/role/show.phtml') diff --git a/application/modules/user/views/scripts/role/show.phtml b/application/modules/user/views/scripts/role/show.phtml new file mode 100644 index 0000000..9abab1a --- /dev/null +++ b/application/modules/user/views/scripts/role/show.phtml @@ -0,0 +1,67 @@ +

Role Details

+roleID) { + ?> + formButton('deleterole', 'Delete', array( + 'onclick' => 'self.location="/user/role/delete/roleID/' . $this->role->getID() .'"', + 'class' => 'rightbutton'))?> + formButton('editrole', 'Edit', array( + 'onclick' => 'self.location="/user/role/edit/roleID/' . $this->role->getID() .'"', + 'class' => 'rightbutton'))?> + + + + + + + + + + +
TitleDescription
role->getTitle(); ?>role->getDescription(); ?>
+
+

Rights:

+ formButton('linkright', 'Add Right', array( + 'onclick' => 'self.location="/user/role/linkright/roleID/' . $this->role->getID() .'"', + 'class' => 'addbutton'))?> + rightsList)) { + ?> + + + + + + + + rightsList as $right) { + ?> + + + + + + +
TitleDescriptionRemove
getTitle(); ?>getDescription(); ?> Remove Right +
+ +
+
+

No Rights have been added!

+
+