Global $_CB_framework;
$myId = $_CB_framework->myId();
$cbUser =& CBuser::getInstance( $myId );
if ( ! $cbUser ) {
$cbUser =& CBuser::getInstance( null );
}
$user =& $cbUser->getUserData();
$lang_tag = $user->params('language');
switch ($lang_tag) {
case 'en-EN':
$login = 'index.php?option=com_comprofiler&Itemid=347&lang=en';
break;
case 'es-ES':
$login = 'index.php?option=com_comprofiler&Itemid=350&lang=es';
break;
default:
}
Please Log in to join the conversation.
Please Log in to join the conversation.