BUG 0000 Forgot password feature (first coomit)

This commit is contained in:
Rodrigo Quelca Sirpa
2011-06-03 18:32:48 -04:00
committed by Erik Amaru Ortiz
parent 0f0e2ba33f
commit a1725f03d5
4 changed files with 57 additions and 4 deletions

View File

@@ -43,8 +43,18 @@ switch($request){
'iconCls'=> 'ICON_'.$oMenu->Id[$i]
);
}
}
if($_GET['menu'] == 'settings' ){
$items[] = Array(
'id' => 'login',
'url' => 'loginSettings',
'text' => 'Login',
'loaded' => true,
'leaf' => true,
'cls' => 'pm-tree-node',
'iconCls'=> 'ICON_'
);
}
if( isset($_SESSION['DEV_FLAG']) && $_SESSION['DEV_FLAG'] && $_GET['menu'] == 'settings' ){
$items[] = Array(
'id' => 'translations',
@@ -57,7 +67,7 @@ switch($request){
);
}
$x = ob_get_contents();
ob_end_clean();
ob_end_clean();
echo G::json_encode($items);
break;