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

Hide password reset menu when using Menu Manager.

This commit is contained in:
Cameron
2017-02-06 14:37:27 -08:00
parent 4a978e1ab0
commit e9bd941a4e
2 changed files with 8 additions and 1 deletions

View File

@@ -968,6 +968,13 @@ class admin_shortcodes
function sc_admin_pword()
{
if(strpos(e_REQUEST_URI,e_ADMIN_ABS."menus.php") !==false)
{
return false;
}
global $pref;
if (ADMIN && ADMINPERMS == '0')
{

View File

@@ -17,7 +17,7 @@ if (!defined('e107_INIT')) { exit; }
* @param integer $parm['limit'] 10
*
* @example hard-coded {MENU: path=news/news_grid&limit=6&source=latest}
* @example admin assigned - Add via Media-Manager and then configure.
* @example admin assigned - Add via Media-Manager and then configure.
*/
$cacheString = 'nq_news_grid_menu_'.md5(serialize($parm));