BUG-14043 Simplified User Experience

In the arabic language is not possible to change the user experience or logout
This commit is contained in:
norahmollo
2014-02-12 15:11:29 -04:00
parent 40710b67e7
commit 7fef38ea5a
3 changed files with 18 additions and 5 deletions

View File

@@ -117,6 +117,14 @@ class Home extends Controller
}
}
$oServerConf = & serverConf::getSingleton();
if ($oServerConf->isRtl( SYS_LANG )) {
$swRtl = 1;
} else {
$swRtl = 0;
}
//Get simplified options
global $G_TMP_MENU;
@@ -149,6 +157,7 @@ class Home extends Controller
$this->setVar( 'switchLink', $switchLink );
$this->setVar( 'arrayMnuOption', $arrayMnuOption );
$this->setVar( 'mnuNewCase', $mnuNewCase );
$this->setVar( 'rtl', $swRtl );
$this->render();
}
@@ -209,7 +218,6 @@ class Home extends Controller
$title = G::LoadTranslation("ID_UNASSIGNED_INBOX");
break;
default:
G::pr('sueñooooo');die();
$title = ucwords( $httpData->t );
break;
}