mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Fixed #136 - Wrong heading when editing user class
This commit is contained in:
@@ -562,9 +562,9 @@ $text .= "</form></div><br /><br />";
|
|||||||
|
|
||||||
// $text .= $e_userclass->show_graphical_tree();
|
// $text .= $e_userclass->show_graphical_tree();
|
||||||
|
|
||||||
|
$title = $params == 'edit' ? LAN_EDIT : LAN_CREATE;
|
||||||
$ns->tablerender(ADLAN_38.SEP.LAN_CREATE, $text);
|
$ns->tablerender(ADLAN_38.SEP.$title, $text);
|
||||||
|
unset($title);
|
||||||
break; // End of 'config' option
|
break; // End of 'config' option
|
||||||
|
|
||||||
|
|
||||||
@@ -903,7 +903,7 @@ function userclass2_adminmenu()
|
|||||||
$tmp = explode(".", e_QUERY);
|
$tmp = explode(".", e_QUERY);
|
||||||
}
|
}
|
||||||
$action = vartrue($tmp[0],'list');
|
$action = vartrue($tmp[0],'list');
|
||||||
if(isset($_GET['action']) && 'edit' == $_GET['action']) $action = 'config';
|
if(isset($_GET['action']) && 'edit' == $_GET['action']) $action = 'list';
|
||||||
|
|
||||||
$var['list']['text'] = LAN_MANAGE;
|
$var['list']['text'] = LAN_MANAGE;
|
||||||
$var['list']['link'] = 'userclass2.php';
|
$var['list']['link'] = 'userclass2.php';
|
||||||
@@ -1024,7 +1024,7 @@ class uclass_manager
|
|||||||
|
|
||||||
// $text .= $e_userclass->show_graphical_tree(); // Show the tree as well - sometimes more useful
|
// $text .= $e_userclass->show_graphical_tree(); // Show the tree as well - sometimes more useful
|
||||||
|
|
||||||
$ns->tablerender(UCSLAN_21, $mes->render().$text );
|
$ns->tablerender(ADLAN_38, $mes->render().$text );
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user