Explorar o código

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

Julio Montoya %!s(int64=11) %!d(string=hai) anos
pai
achega
41c5e5e79d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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')),