From a26061089a91bf3a214d6a0dba9ffad8a7006a61 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 17 Mar 2011 14:03:43 +0100 Subject: Person und Gruppen, Fehler korrigiert + Layout --- .../modules/dev/views/scripts/auth/delete.phtml | 0 .../modules/dev/views/scripts/auth/index.phtml | 0 .../modules/dev/views/scripts/auth/logout.phtml | 1 - .../modules/dev/views/scripts/bootos/index.phtml | 82 ++++++++++--------- .../modules/dev/views/scripts/group/delete.phtml | 6 -- .../dev/views/scripts/group/grantperson.phtml | 11 --- .../modules/dev/views/scripts/group/index.phtml | 58 ++++++++----- .../dev/views/scripts/group/revokeperson.phtml | 6 -- .../modules/dev/views/scripts/group/show.phtml | 91 ++++++++++----------- .../modules/dev/views/scripts/person/index.phtml | 0 .../modules/dev/views/scripts/person/leave.phtml | 6 -- .../modules/dev/views/scripts/person/show.phtml | 94 ++++++++-------------- 12 files changed, 163 insertions(+), 192 deletions(-) delete mode 100644 application/modules/dev/views/scripts/auth/delete.phtml delete mode 100644 application/modules/dev/views/scripts/auth/index.phtml delete mode 100644 application/modules/dev/views/scripts/auth/logout.phtml delete mode 100644 application/modules/dev/views/scripts/group/delete.phtml delete mode 100644 application/modules/dev/views/scripts/group/grantperson.phtml delete mode 100644 application/modules/dev/views/scripts/group/revokeperson.phtml delete mode 100644 application/modules/dev/views/scripts/person/index.phtml delete mode 100644 application/modules/dev/views/scripts/person/leave.phtml (limited to 'application/modules/dev/views/scripts') diff --git a/application/modules/dev/views/scripts/auth/delete.phtml b/application/modules/dev/views/scripts/auth/delete.phtml deleted file mode 100644 index e69de29..0000000 diff --git a/application/modules/dev/views/scripts/auth/index.phtml b/application/modules/dev/views/scripts/auth/index.phtml deleted file mode 100644 index e69de29..0000000 diff --git a/application/modules/dev/views/scripts/auth/logout.phtml b/application/modules/dev/views/scripts/auth/logout.phtml deleted file mode 100644 index a709bd9..0000000 --- a/application/modules/dev/views/scripts/auth/logout.phtml +++ /dev/null @@ -1 +0,0 @@ -

View script for controller Auth and script/action name logout
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/bootos/index.phtml b/application/modules/dev/views/scripts/bootos/index.phtml index 6462b1f..c5970b6 100644 --- a/application/modules/dev/views/scripts/bootos/index.phtml +++ b/application/modules/dev/views/scripts/bootos/index.phtml @@ -4,38 +4,39 @@ 'class' => 'addbutton'))?> - - - - - - - - - - - - - - - - bootoslist)==0) - echo "
IDTitleGroupIDMembershipIDConfigIDInitKernelKclDescriptionChangedExpiresPublicActions
There are no BootOs's to display." ?> - bootoslist as $bootos): ?> - - escape($bootos->getID()); ?> - escape($bootos->getTitle()); ?> - escape($bootos->getGroupID()); ?> - escape($bootos->getMembershipID()); ?> - escape($bootos->getConfigID()); ?> - escape($bootos->getPath_init()); ?> - escape($bootos->getPath_kernel()); ?> - escape($bootos->getDefaultkcl()); ?> - escape($bootos->getDescription()); ?> - escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?> - escape($bootos->getExpires()); ?> - escape($bootos->getPublic()); ?> - There are no BootOs's to display." ?> + bootoslist as $bootos): ?> + + escape($bootos->getID()); ?> + escape($bootos->getTitle()); ?> + escape($bootos->getGroupID()); ?> + escape($bootos->getMembershipID()); ?> + escape($bootos->getConfigID()); ?> + escape($bootos->getPath_init()); ?> + escape($bootos->getPath_kernel()); ?> + escape($bootos->getDefaultkcl()); ?> + escape($bootos->getDescription()); ?> + escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?> + escape($bootos->getExpires()); ?> + escape($bootos->getPublic()); ?> + Edit BootOS - Edit BootOS + Delete BootOS - - + true) ?>">Delete BootOS + + - - - + + + diff --git a/application/modules/dev/views/scripts/group/delete.phtml b/application/modules/dev/views/scripts/group/delete.phtml deleted file mode 100644 index fc96431..0000000 --- a/application/modules/dev/views/scripts/group/delete.phtml +++ /dev/null @@ -1,6 +0,0 @@ - -
No group has been chosen.
- -
No Request has been chosen.
- -
No Role has been chosen.
- Groups +formButton('addgroup', 'Add Group', array( + 'onclick' => 'self.location="/dev/group/add"', + 'class' => 'addbutton'))?> - - + + groupList as $group) { ?> - + - + +
Title:Functions:TitleActions
getTitle(); ?> -
Details
-
Edit
-
Delete
+
Show Group Edit Group Delete Group
-
- +formButton('linkgroups', 'Link Groups', array( + 'onclick' => 'self.location="/dev/group/link"', + 'class' => 'addbutton'))?>
diff --git a/application/modules/dev/views/scripts/group/revokeperson.phtml b/application/modules/dev/views/scripts/group/revokeperson.phtml deleted file mode 100644 index 6af5564..0000000 --- a/application/modules/dev/views/scripts/group/revokeperson.phtml +++ /dev/null @@ -1,6 +0,0 @@ - -
No Membership has been chosen.
- Group Details groupID) { ?> -
-
-
-
+ formButton('deletegroup', 'Delete', array( + 'onclick' => 'self.location="/dev/group/delete/groupID/' . $this->group->getID() .'"', + 'class' => 'rightbutton'))?> + formButton('editgroup', 'Edit', array( + 'onclick' => 'self.location="/dev/group/edit/groupID/' . $this->group->getID() .'"', + 'class' => 'rightbutton'))?> + - - + + - - + + groupRequestList)) { ?>
-
Grouprequests:
-
+

Requests:

Title:group->getTitle(); ?>TitleDescription
Description:
group->getTitle(); ?> group->getDescription(); ?>
- - - - - + + + + + groupRequestList as $grouprequest) { $grouprequestID = $grouprequest['grouprequestID']; $person = $grouprequest['person']; ?> - + memberslist)) { + if(isset($this->membersList)) { ?>
-
Members:
-
+

Members:

Firstname:Name:email:city:grant:FirstnameNameemailcitygrant
getFirstname(); ?> getName(); ?> getEmail(); ?> getCity(); ?> -
roleList); ?> -
+
roleList); ?> +
- - - - - + + + + + memberslist as $member) { + foreach($this->membersList as $member) { $membershipID = $member['membershipID']; $person = $member['person']; ?> - + - -
No Group has been chosen.
- "; } +?> +




\ No newline at end of file diff --git a/application/modules/dev/views/scripts/person/index.phtml b/application/modules/dev/views/scripts/person/index.phtml deleted file mode 100644 index e69de29..0000000 diff --git a/application/modules/dev/views/scripts/person/leave.phtml b/application/modules/dev/views/scripts/person/leave.phtml deleted file mode 100644 index fc96431..0000000 --- a/application/modules/dev/views/scripts/person/leave.phtml +++ /dev/null @@ -1,6 +0,0 @@ - -
No group has been chosen.
- - - -
Firstname:Name:email:city:FirstnameNameemailcityrevoke
getFirstname(); ?> getName(); ?> getEmail(); ?> getCity(); ?> -
-
+
Delete Group
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Title:person->getTitle(); ?>
Name:person->getName(); ?>
Firstname:person->getFirstname(); ?>
Street:person->getStreet(); ?>
Housenumber:person->getHousenumber(); ?>
City:person->getCity(); ?>
Postalcode:person->getPostalcode(); ?>
Email:person->getEmail(); ?>
Last Login Date:person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()); ?> Uhr
Register Date:person->getRegisterdate()); ?> Uhr
+

Person

+formButton('editperson', 'Edit', array( + 'onclick' => 'self.location="/dev/person/edit/"', + 'class' => 'rightbutton'))?> +

+
Title: person->getTitle(); ?>
+
Name: person->getName(); ?>
+
Firstname: person->getFirstname(); ?>
+
Street: person->getStreet(); ?>
+
Housenumber: person->getHousenumber(); ?>
+
City: person->getCity(); ?>
+
Postalcode: person->getPostalcode(); ?>
+
Email: person->getEmail(); ?>
+
Last Login Date: person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()) . " Uhr"; ?>
+
Register Date: person->getRegisterdate()) . ' Uhr'; ?>
groups)) { ?>
-
Member in the following Groups:
-
+

Member in the following Groups:

groups as $group) { ?> - + + - + groups as $group) { } ?>
TitleFunctionsDescriptionLeave
-
Remove - Membership
+
Delete Group
-
-
- -
+formButton('addtogroup', 'Add to additional +Groups', array( + 'onclick' => 'self.location="/dev/person/request/"', + 'class' => 'addbutton')); +?> +




\ No newline at end of file -- cgit v1.2.3-55-g7522