Parcourir la source

Using the new extra user field interface (extra_fields.php?type=user) instead the old one (user_fields.php)

Julio Montoya il y a 11 ans
Parent
commit
41c5e5e79d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      main/admin/index.php

+ 3 - 1
main/admin/index.php

@@ -86,7 +86,9 @@ if (api_is_platform_admin()) {
 	if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap']) > 0) {
 		$items[] = array('url'=>'ldap_users_list.php', 	'label' => get_lang('ImportLDAPUsersIntoPlatform'));
 	}
-	$items[] = array('url'=>'user_fields.php', 	'label' => get_lang('ManageUserFields'));
+	// $items[] = array('url'=>'user_fields.php', 	'label' => get_lang('ManageUserFields'));
+    $items[] = array('url'=>'extra_fields.php?type=user', 	'label' => get_lang('ManageUserFields'));
+    $items[] = array('url'=> api_get_path(WEB_PUBLIC_PATH).'admin/administrator/roles', 	'label' => get_lang('Roles'));
 } else {
  	$items = array(
  		array('url'=>'user_list.php', 	'label' => get_lang('UserList')),