1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Upgraded userclass admin area to use renderHelp() and gave it its own shortcode {ADMINUI_HELP}

This commit is contained in:
Cameron
2015-04-09 11:13:26 -07:00
parent 72a112fb4b
commit b749bdb707
5 changed files with 43 additions and 42 deletions

View File

@@ -1218,9 +1218,14 @@ class user_class_admin extends user_class
$this->class_tree[$parent]['userclass_accum'] = $imp_rights;
if (!isset($this->class_tree[$cp]['change_flag'])) $this->class_tree[$parent]['change_flag'] = 'UPDATE';
}
foreach ($this->class_tree[$parent]['class_children'] as $cc)
if(!empty($this->class_tree[$parent]['class_children']))
{
$this->rebuild_tree($cc,$rights); // Recursive call
foreach ($this->class_tree[$parent]['class_children'] as $cc)
{
$this->rebuild_tree($cc,$rights); // Recursive call
}
}
}