Everything seems OK...volcanoboy wrote:Code: Select all
$languages = array( "no" => array("Hovedside-no", "<img xml:lang='no' src='/uploads/images/sitePics/no.gif' alt='Norsk' />"), "se" => array("huvudsida-se", "<img xml:lang='se' src='/uploads/images/sitePics/se.gif' alt='Svenska' />"), "en" => array("home-en", "<img xml:lang='en' src='/uploads/images/sitePics/gb.gif' alt='English' />") );
I've taken a look into the code that builds the language menu and everything seems OK with quotes...
Do you call {language_menu} with parameters? If so, what? Post that line. That could help to trace the issue.
I see you made a little change in the code: the quotes. In theory it doesn't matter but... Please use single quotes for PHP parameters in the language array definition (they are faster because they don't intepret variables inside) and double quotes for XHTML parameters. That's how the original code did. Change them and tell me what happens.
Cheers,
Marcos