e107inc/e107 — pull request #531 by aSeptik (2014-03-07 21:18:04+00:00)
Title: #364

Admin > users > edit: SEF issue when enabled

the problem was on the **e_ADMIN_AREA** constant; it was not set properly due to a missing check step in the **set_urls()** function of the **e107_class.php** file.

Since usersettings.php file is not a plugin nor an admin file, ( it is on the root directory ) any try to check if we are inAdminDir ( we are ADMIN and we are Editing ) without a **QUERY_STRING** ( when we are in SEF mode the link does not provide any query, so, no chance to use **is_numeric(e_QUERY)** here ) fail, resulting in missing lan_file and missing admin_theme.

then other problem is top admin navigation that in SEF mode result in all links pointing on wrong path like **e107/user/edit/e107_admin/...** so i changed all the **e_ADMIN** to **e_ADMIN_ABS** in the **sitelinks_class.php**.

other problem is that usersettings.php seams to be not fully integrated into the new routing system, so i have removed the old **usersettings_adminmenu()** and replaced with the new **e_admin_dispatcher** and **e_admin_ui** class nothing special just the essential to make it works without problems.

Fix #364