From 4ab3be484d93b93f17b30753b69a53b691b2a4fb Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 11 Apr 2011 12:19:28 +0200 Subject: Recht um als neu registrierter Benutzer Gruppen beizutreten --- application/modules/user/views/scripts/person/index.phtml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'application/modules/user/views/scripts') diff --git a/application/modules/user/views/scripts/person/index.phtml b/application/modules/user/views/scripts/person/index.phtml index 7c6fc8d..c285ece 100644 --- a/application/modules/user/views/scripts/person/index.phtml +++ b/application/modules/user/views/scripts/person/index.phtml @@ -47,11 +47,12 @@ $class= 'highlight checked'; pagination; - if($this->groupRequestRight === true) echo $this->formButton('addtogroup', 'Add to additional + +} +if($this->groupRequestRight === true) echo $this->formButton('addtogroup', 'Add to additional Groups', array( 'onclick' => 'self.location="/user/person/request/"', 'class' => 'addbutton')); -} ?>

-- cgit v1.2.3-55-g7522 From 441ffc49230ddedf3e692466bda1fb0d27ace8fd Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 11 Apr 2011 13:26:27 +0200 Subject: Neues Recht um default Bootmenu zu setzen & Bootmenu-REchte angepasst --- .../user/controllers/BootmenuController.php | 4 ++-- .../user/views/scripts/bootmenu/index.phtml | 4 ++-- mysqlGraph.png | Bin 279960 -> 280861 bytes pbs.sql | 4 +++- 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'application/modules/user/views/scripts') diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php index 754c45d..30e4098 100644 --- a/application/modules/user/controllers/BootmenuController.php +++ b/application/modules/user/controllers/BootmenuController.php @@ -257,7 +257,7 @@ class user_BootmenuController extends Zend_Controller_Action { //ACL Is he allowed to set Bootmenu as Default? - if(!Pbs_Acl::checkRight('booai')) + if(!Pbs_Acl::checkRight('boodbm')) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); try{ @@ -446,7 +446,7 @@ class user_BootmenuController extends Zend_Controller_Action if($this->membership->getID() != $bootmenu->getMembershipID() || !Pbs_Acl::checkRight('booeeo')) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); }else{ - if($this->membership->getGroupID() != $bootmenu->getGroupID() || !Pbs_Acl::checkRight('booee')) + if($this->membership->getGroupID() != $bootmenu->getGroupID() || (!Pbs_Acl::checkRight('booee') && !Pbs_Acl::checkRight('booeem'))) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); } diff --git a/application/modules/user/views/scripts/bootmenu/index.phtml b/application/modules/user/views/scripts/bootmenu/index.phtml index 4393c1f..cda6f87 100644 --- a/application/modules/user/views/scripts/bootmenu/index.phtml +++ b/application/modules/user/views/scripts/bootmenu/index.phtml @@ -7,7 +7,7 @@ type== 'group') || (Pbs_Acl::checkRight('booco') && $this->type == 'own')): ?> formButton('createbootmenu', 'Create BootMenu', array( - 'onclick' => 'self.location="/user/bootmenu/createbootmenu/type/'.$this->type.'page/'.$this->page.'"', + 'onclick' => 'self.location="/user/bootmenu/createbootmenu/type/'.$this->type.'/page/'.$this->page.'"', 'class' => 'addbutton'))?> @@ -39,7 +39,7 @@
- type == 'group'): ?> + type == 'group'): ?> getDefaultbootmenu() == true): ?> Checked as default diff --git a/mysqlGraph.png b/mysqlGraph.png index f24c35b..54d0ae5 100644 Binary files a/mysqlGraph.png and b/mysqlGraph.png differ diff --git a/pbs.sql b/pbs.sql index a052bb7..0d64807 100644 --- a/pbs.sql +++ b/pbs.sql @@ -504,6 +504,8 @@ INSERT INTO `pbs`.`pbs_right` (`rightID`, `rightcategoryID`, `shortcut`, `title` (NULL, '8', 'booai', 'Show admin interface of BootMenu', NULL), -- User-BootMenu anzeigen (NULL, '8', 'booui', 'Show user interface of BootMenu', NULL), + -- Defautl Bootmenu setzen +(NULL, '8', 'boodbm', 'Set default BootMenu', NULL), -- BootMenu anlegen (NULL, '8', 'booc', 'Create BootMenu', NULL), -- BootMenu löschen @@ -578,4 +580,4 @@ INSERT INTO `pbs`.`pbs_group` (`groupID` ,`title` ,`description`)VALUES (1, 'OpenSLX', 'This is the OpenSLX-Group'); INSERT INTO `pbs`.`pbs_role` (`roleID`, `groupID`, `title`, `description`, `inheritance`) VALUES (1, '1', 'SuperAdmin', 'The SuperAdmin', 0); INSERT INTO `pbs`.`pbs_rightroles` (`roleID`, `rightID`) VALUES -(1, 1),(1, 2),(1, 3),(1, 4),(1, 5),(1, 6),(1, 7),(1, 8),(1, 9),(1, 10),(1, 11),(1, 12),(1, 13),(1, 14),(1, 15),(1, 16),(1, 17),(1, 18),(1, 19),(1, 20),(1, 21),(1, 22),(1, 23),(1, 24),(1, 25),(1, 26),(1, 27),(1, 28),(1, 29),(1, 30),(1, 31),(1, 32),(1, 33),(1, 34),(1, 35),(1, 36),(1, 37),(1, 38),(1, 39),(1, 40),(1, 41),(1, 42),(1, 43),(1, 44),(1, 45),(1, 46),(1, 47),(1, 48),(1, 49),(1, 50),(1, 51),(1, 52),(1, 53),(1, 54),(1, 55),(1, 56),(1, 57),(1, 58),(1, 59),(1, 60),(1, 61),(1, 62),(1, 63),(1, 64),(1, 65),(1, 66),(1, 67),(1, 68),(1, 69),(1, 70),(1, 71),(1, 72),(1, 73),(1, 74),(1, 75),(1, 76),(1, 77),(1, 78),(1, 79),(1, 80),(1, 81),(1, 82),(1, 83),(1, 84),(1, 85),(1, 86),(1, 87),(1, 88),(1, 89),(1, 90),(1, 91),(1, 92),(1, 93); +(1, 1),(1, 2),(1, 3),(1, 4),(1, 5),(1, 6),(1, 7),(1, 8),(1, 9),(1, 10),(1, 11),(1, 12),(1, 13),(1, 14),(1, 15),(1, 16),(1, 17),(1, 18),(1, 19),(1, 20),(1, 21),(1, 22),(1, 23),(1, 24),(1, 25),(1, 26),(1, 27),(1, 28),(1, 29),(1, 30),(1, 31),(1, 32),(1, 33),(1, 34),(1, 35),(1, 36),(1, 37),(1, 38),(1, 39),(1, 40),(1, 41),(1, 42),(1, 43),(1, 44),(1, 45),(1, 46),(1, 47),(1, 48),(1, 49),(1, 50),(1, 51),(1, 52),(1, 53),(1, 54),(1, 55),(1, 56),(1, 57),(1, 58),(1, 59),(1, 60),(1, 61),(1, 62),(1, 63),(1, 64),(1, 65),(1, 66),(1, 67),(1, 68),(1, 69),(1, 70),(1, 71),(1, 72),(1, 73),(1, 74),(1, 75),(1, 76),(1, 77),(1, 78),(1, 79),(1, 80),(1, 81),(1, 82),(1, 83),(1, 84),(1, 85),(1, 86),(1, 87),(1, 88),(1, 89),(1, 90),(1, 91),(1, 92),(1, 93),(1, 94); -- cgit v1.2.3-55-g7522 From b43ff296c311076e8970b40aae80ec79de24adf1 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Mon, 11 Apr 2011 13:51:05 +0200 Subject: verschiedene Layouts korrigiert --- .../modules/user/views/scripts/group/show.phtml | 94 ++++++++------- .../modules/user/views/scripts/group/showall.phtml | 70 ++++++----- .../modules/user/views/scripts/person/index.phtml | 104 ++++++++++++----- .../modules/user/views/scripts/person/show.phtml | 115 ++++++++++++------ .../user/views/scripts/person/showall.phtml | 98 ++++++++-------- .../modules/user/views/scripts/role/index.phtml | 95 ++++++++------- .../modules/user/views/scripts/role/show.phtml | 128 +++++++++++---------- public/media/css/style.css | 11 -- public/media/css/user.css | 40 +++++-- public/media/js/user.js | 6 +- 10 files changed, 451 insertions(+), 310 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 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'])) { ?> -

Group

+

Own Group

formButton('deletegroup', 'Delete', array( 'onclick' => 'self.location="/user/group/delete/"', @@ -22,63 +22,61 @@ if($this->groupID) { 'class' => 'rightbutton')); } ?> - - - - - - - - - - +
+
+
+
Title: group->getTitle(); ?>
+
+
+
+
+
+
Description: group->getDescription(); ?>
+
+
+
-
- - - - +
+
Superordinated Group: parentGroup->getTitle(); ?>
+
+
+ + -
TitleDescription
group->getTitle(); ?>group->getDescription(); ?>
Superordinated Group:parentGroup->getTitle(); ?>
+ ?>
groupRequestList)) { ?>

Requests:

- - - - - - - - - groupRequestList as $grouprequest) { - $grouprequestID = $grouprequest['grouprequestID']; - $person = $grouprequest['person']; - ?> - - - - - - - - groupRequestList as $grouprequest) { + $grouprequestID = $grouprequest['grouprequestID']; + $person = $grouprequest['person']; ?> -
FirstnameNameemailcitygrant
getFirstname(); ?>getName(); ?>getEmail(); ?>getCity(); ?> -
roleList); ?> -
-
+
+
+
+
roleList); ?> +
+
+
getTitle(); ?> getFirstname(); ?> getName(); ?>
+
getCity(); ?>
+
+
getEmail(); ?>
+
+
+
+membersList)) { ?> @@ -132,5 +130,3 @@ function printRoleSelect($roleList) { echo ""; } ?> -
-
diff --git a/application/modules/user/views/scripts/group/showall.phtml b/application/modules/user/views/scripts/group/showall.phtml index 2ed777a..5e53f87 100644 --- a/application/modules/user/views/scripts/group/showall.phtml +++ b/application/modules/user/views/scripts/group/showall.phtml @@ -6,26 +6,28 @@ ?>
-
Available searchfilter:
-
title
-
description
+
Available searchfilter:
+
title
+
description
-
+
groupList)==0) +echo "There are no groups" ?> groupList as $k => $group): ?> +getID() == $this->userIDsNamespace['groupID']) +$class= 'highlight checked'; +?> +
getID() != $this->userIDsNamespace['groupID']) { + ?> +
groupList)==0) - echo "There are no groups" ?> - groupList as $group): ?> - getID() == $this->userIDsNamespace['groupID']) - $class= 'highlight checked'; - ?> - - -
+
getTitle(); ?>
+ getDescription()) { + ?> +
getDescription(); ?>
+ +
 
+
+
+
+ pagination; ?> formButton('linkgroups', 'Link Groups', array( 'onclick' => 'self.location="/user/group/link"', 'class' => 'addbutton')) - ?> +?>

diff --git a/application/modules/user/views/scripts/person/index.phtml b/application/modules/user/views/scripts/person/index.phtml index c285ece..8f91cfd 100644 --- a/application/modules/user/views/scripts/person/index.phtml +++ b/application/modules/user/views/scripts/person/index.phtml @@ -1,25 +1,75 @@ -

Person

+

Own Details

editRight === true) echo $this->formButton('editperson', 'Edit', array( 'onclick' => 'self.location="/user/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)) { - ?> +
+
+
+
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'; ?>
+
+
+
+

Member in the following Groups:

- +groupRequestRight === true) echo $this->formButton('addtogroup', 'Add to additional +Groups', array( + 'onclick' => 'self.location="/user/person/request/"', + 'class' => 'addbutton')); ?>
groups)==0) echo "You are in no group." ?> groups as $group): ?> "> Delete Group
+
- + +
 
+
pagination; - -} -if($this->groupRequestRight === true) echo $this->formButton('addtogroup', 'Add to additional -Groups', array( - 'onclick' => 'self.location="/user/person/request/"', - 'class' => 'addbutton')); -?> -
-
+ ?> \ No newline at end of file diff --git a/application/modules/user/views/scripts/person/show.phtml b/application/modules/user/views/scripts/person/show.phtml index 8ebb371..5fb4bde 100644 --- a/application/modules/user/views/scripts/person/show.phtml +++ b/application/modules/user/views/scripts/person/show.phtml @@ -5,41 +5,92 @@ deleteRight === true) echo $this->formButton('deleteperson', 'Delete', array( 'onclick' => 'self.location="/user/auth/delete/personID/' . $this->personID . '"', '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'; ?>
+
+
+
+

-
-
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'; ?>
+

Member in the following Groups:

+
groups)==0) +echo "You are in no group." ?> groups as $group): ?> groups)) { +$class=''; +if($group['membershipID'] == $this->userIDsNamespace['membershipID']) +$class= 'highlight checked'; +?> +
+
+
+ -
-

Member in the following Groups:

- - - - - +
groups as $group) { - ?> - - - - - -
TitleDescription
- pagination; +
 
+ -
-
+?>
+
+
+
+pagination; +?> \ No newline at end of file diff --git a/application/modules/user/views/scripts/person/showall.phtml b/application/modules/user/views/scripts/person/showall.phtml index f20f490..1521744 100644 --- a/application/modules/user/views/scripts/person/showall.phtml +++ b/application/modules/user/views/scripts/person/showall.phtml @@ -1,25 +1,33 @@

Persons Overview

searchform; ?>
-
Available searchfilter:
-
title
-
name
-
firstname
-
email
+
Available searchfilter:
+
title
+
name
+
firstname
+
email
-
- personList)==0) - echo "There are no Sessions to display." ?> - personList as $person): ?> -
- +
+
pagination; ?> diff --git a/application/modules/user/views/scripts/role/index.phtml b/application/modules/user/views/scripts/role/index.phtml index baee6e4..cc34869 100644 --- a/application/modules/user/views/scripts/role/index.phtml +++ b/application/modules/user/views/scripts/role/index.phtml @@ -8,26 +8,30 @@ if($this->userIDsNamespace['groupID']) { 'onclick' => 'self.location="/user/role/add"', 'class' => 'addbutton')); ?> - - - - detailsRight || $this->editRight || $this->deleteRight) { - echo ''; - } - ?> - +
+
Available searchfilter:
+
title
+
description
+
+ +
roleList)==0) +echo "There are no roles" ?> roleList as $k => $role): ?> +userIDsNamespace['roleID']) +$class= 'highlight checked'; +?> +
userIDsNamespace['roleID']) { + ?> +
roleList as $role) { - ?> -
userIDsNamespace['roleID']) echo 'class="selectedEntry"'; else echo 'class="entry"'; ?>> - - detailsRight) { - ?> - - editRight) { - ?> - - deleteRight) { - ?> - - - - -
Title titleActions
url( array( 'module' => 'user', 'controller' => 'role', @@ -35,13 +39,11 @@ if($this->userIDsNamespace['groupID']) { 'roleID' => $role['roleID'] ), 'default', - true) ?>"> Show Group Show Group editRight) { + ?> Edit Group Edit Group deleteRight) { + ?> Delete Group -
- pagination; + +
+ +
+ +
 
+ +
+ + +pagination; } ?>
diff --git a/application/modules/user/views/scripts/role/show.phtml b/application/modules/user/views/scripts/role/show.phtml index e91c106..8f4bb50 100644 --- a/application/modules/user/views/scripts/role/show.phtml +++ b/application/modules/user/views/scripts/role/show.phtml @@ -16,54 +16,63 @@ if($this->roleID) { 'onclick' => 'self.location="/user/role/edit/roleID/' . $this->role->getID() .'"', 'class' => 'rightbutton')); ?> - - - - - - - - - - - - -
TitleDescriptionInheritance
role->getTitle(); ?>role->getDescription(); ?>role->getInheritance() == 1) echo "yes"; else echo "no"; ?>
+
+
+
+
Title: role->getTitle(); ?>
+
+
+
+
+
+
Description: role->getDescription(); ?>
+
+
+
+
+
role->getInheritance()) { + ?> +
Inheritance: yes
+ + +
Inheritance: no
+
+
+
+

Rights:

- rightsAvailable === true) { - if($this->addRightToRoleRight) echo $this->formButton('linkright', 'Add Rights', array( +rightsAvailable === true) { + if($this->addRightToRoleRight) { + echo $this->formButton('linkright', 'Add Rights', array( 'onclick' => 'self.location="/user/role/linkright/roleID/' . $this->role->getID() .'"', 'class' => 'addbutton'))?>
- rightsList)) { - if(isset($this->rightcategorieslist)) { - foreach($this->rightcategorieslist as $k => $v) { - $rights = $this->rightsList[$k]; - if(count($rights) > 0) { - ?> -

- - - - - removeRightOfRoleRight) echo ''; ?> - - - rightsList)==0) +echo "There are no Rights to display."; +if(isset($this->rightcategorieslist)) { + foreach($this->rightcategorieslist as $k => $v): + $rights = $this->rightsList[$k]; + if(count($rights) > 0) { ?> - - - - removeRightOfRoleRight) { - ?> - - - - + +
getTitle(); ?>
+getDescription()) { ?> -
TitleDescriptionRemove
getTitle(); ?>getDescription(); ?>url( array( 'module' => 'user', 'controller' => 'role', @@ -72,28 +81,27 @@ if($this->roleID) { ), 'default', true) ?>"> Remove Right -
+
getDescription(); ?>
-
-
-

No Rights have been added!

-
- +
+ + +
+ -
-
diff --git a/public/media/css/style.css b/public/media/css/style.css index d1f3b28..54dc213 100644 --- a/public/media/css/style.css +++ b/public/media/css/style.css @@ -338,17 +338,6 @@ div.dsf{ float: left; } -.personDiv { - border: 1px solid #CCC; - margin-bottom: 10px; -} - -.personColorDiv { - border: 1px solid #CCC; - margin-bottom: 10px; - background-color: #FFF5CC; -} - .monospace { font-family: Courier New, monospace; } diff --git a/public/media/css/user.css b/public/media/css/user.css index 204d20b..19d86cd 100644 --- a/public/media/css/user.css +++ b/public/media/css/user.css @@ -21,14 +21,6 @@ text-align: center; } -tr.selectedEntry { - background-color: red; -} - -tr.selectedEntry td { - padding-left: 3px; -} - #rights-element dl fieldset dt { width: 325px; } @@ -153,6 +145,34 @@ tr.selectedEntry td { background-position: 15px center; } +.detailelement { + clear: both; + padding-top: 10px; + margin: 10px 0px; +} + +.detailelement .element { + border: 1px solid black; + margin: 5px 0px; + padding: 5px; + -moz-border-radius: 3px; + border-radius: 3px; + background-color: white; +} + +.detailelement .element:nth-child(even) { + background-color: #F0F8FF; +} + +.detailelement .element .content { + margin-left: 50px; +} + +.detailelement .element .content .title { + font-weight: bold; + font-size: 1.2em; +} + .searchvars { border: 1px solid #000; background-color: #FFFFBB; @@ -175,4 +195,8 @@ tr.selectedEntry td { #uncheckAll-label { width: 5px; +} + +.noBold { + font-weight: normal; } \ No newline at end of file diff --git a/public/media/js/user.js b/public/media/js/user.js index 01c4721..fdd942f 100644 --- a/public/media/js/user.js +++ b/public/media/js/user.js @@ -1,8 +1,8 @@ $(document).ready(function(){ if($('.listelement .element').find('.dispnone').length >= 1){ - $(this).find('.title').css('cursor','pointer'); - $(this).find('.title').prepend(" "); - $(this).find('.title').data('toggle','0'); + $(this).find('.listelement .title').css('cursor','pointer'); + $(this).find('.listelement .title').prepend(" "); + $(this).find('.listelement .title').data('toggle','0'); $('.listelement .title').click(function(){ $(this).siblings('.dispnone').toggle(); -- cgit v1.2.3-55-g7522 From fe67abf435d397454a59d522148811ca4975540d Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 11 Apr 2011 13:56:51 +0200 Subject: Meldung mit Priorität der StandardFilter hinzugefügt --- application/modules/user/views/scripts/filter/index.phtml | 1 + library/Pbs/NewMember.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'application/modules/user/views/scripts') diff --git a/application/modules/user/views/scripts/filter/index.phtml b/application/modules/user/views/scripts/filter/index.phtml index 098c43d..a242a7b 100644 --- a/application/modules/user/views/scripts/filter/index.phtml +++ b/application/modules/user/views/scripts/filter/index.phtml @@ -1,5 +1,6 @@

Filters

notification != ''){echo $this->notification;} ?> +
The default userfilters uses the priority 25
searchform; ?> formButton('createconfig', 'Create Filter', array( diff --git a/library/Pbs/NewMember.php b/library/Pbs/NewMember.php index 2825834..b73e00a 100644 --- a/library/Pbs/NewMember.php +++ b/library/Pbs/NewMember.php @@ -45,7 +45,7 @@ class Pbs_NewMember{ $filter->setGroupID($membership->getGroupID()); $filter->setBootmenuID($userBootmenuID); $filter->setCreated(time()); - $filter->setPriority(50); + $filter->setPriority(25); $filterID = $filterMapper->save($filter); # print_a('filter',$filter); -- cgit v1.2.3-55-g7522