1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Update help file

This commit is contained in:
e107steved
2010-02-23 22:38:48 +00:00
parent dcc20bcf9c
commit c52ed87733

View File

@@ -18,11 +18,15 @@ if (!defined('e107_INIT')) { exit; }
$caption = "User Class Help";
if (e_QUERY)
if (!($action = $_GET['action']))
{
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.<br /><br />
The Setup options allow you to create and remove the default class hierarchy. You can see the effect by looking at the user tree.<br />
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.<br />
This won't destroy your other class information, and you can modify or remove the hierarchy later.<br /><br />
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).<br /><br />
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.<br />
@@ -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.<br />
$text = "You can create classes, or edit existing classes from this page.<br />
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.<br /><br />
The class name is displayed in drop-down lists and the like; in some places the more detailed description is also displayed.<br /><br />
@@ -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 <b>below</b> 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);