From c52ed87733dbbbc8cc71bf66b14d37d4409250ab Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 23 Feb 2010 22:38:48 +0000 Subject: [PATCH] Update help file --- .../English/admin/help/userclass2.php | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/e107_languages/English/admin/help/userclass2.php b/e107_languages/English/admin/help/userclass2.php index 7d8c4e15c..a4d5950b7 100644 --- a/e107_languages/English/admin/help/userclass2.php +++ b/e107_languages/English/admin/help/userclass2.php @@ -18,11 +18,15 @@ if (!defined('e107_INIT')) { exit; } $caption = "User Class Help"; -if (e_QUERY) +if (!($action = $_GET['action'])) { - $qs = explode(".", e_QUERY); + if (e_QUERY) + { + $qs = explode(".", e_QUERY); + } + $action = varset($qs[0],'display'); } -switch (varsettrue($qs[0],'config')) +switch ($action) { case 'initial' : $text = "Set the classes to which a new member of the site is assigned initially. @@ -30,13 +34,12 @@ switch (varsettrue($qs[0],'config')) And remember that if you are using hierarchical user classes, a user is automatically a member of all classes 'above' each selected class in the tree"; break; case 'options' : - $text = "You can choose to make an entry in the admin log whenever an admin modifies the userclass information.

- The Setup options allow you to create and remove the default class hierarchy. You can see the effect by looking at the user tree.
- This won't destroy your other class information, and you can modify or remove the hierarchy later."; + $text = "The Setup options allow you to create and remove the default class hierarchy. You can see the effect by looking at the user tree.
+ This won't destroy your other class information, and you can modify or remove the hierarchy later.

+ You should only need to rebuild the class hierarchy if database corruption occurs"; break; case 'membs' : - $text = "You can carry out bulk modification of class membership here. (The class membership of individual members is best carries out from the 'Users' page).

- And remember that if you are using hierarchical user classes, a user is automatically a member of all classes 'above' each selected class in the tree"; + $text = "Now on user admin page"; break; case 'debug' : $text = "For advanced users only - shows the hierarchy of the classes, plus the assigned classes and the classes to which the first 20 site members have access.
@@ -52,9 +55,9 @@ switch (varsettrue($qs[0],'config')) case 'special' : $text = "Don't use this!!! For the devs only!!!"; break; + case 'edit' : case 'config' : - default : - $text = "You can create or edit/delete existing classes from this page.
+ $text = "You can create classes, or edit existing classes from this page.
This is useful for restricting users to certain parts of your site. For example, you could create a class called TEST, then create a forum which only allowed users in the TEST class to access it.

The class name is displayed in drop-down lists and the like; in some places the more detailed description is also displayed.

@@ -66,5 +69,9 @@ switch (varsettrue($qs[0],'config')) classes lower down the hierarchy also have the rights of their parent class, and that classes' parent, and so on. If the 'top' of the hierarchy is the 'No One/Nobody' class, then rights are accumulated in the opposite direction - a class accumlates all the rights of a class below them in the tree. The resulting tree is shown in the lower part of the page; you can expand and contract branches by clicking on the '+' and '-' boxes."; + break; + case 'display' : + default : + $text = "You can select classes for editing, and also delete existing classes, from this page."; } $ns -> tablerender($caption, $text);