<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hello listers.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a site running drupal 4.7.4 and i18n module.
I have been able to do most things with regards to i18n module, with moderate
success. I attempted to display only the inactive language link with the
following function in my template.php file: </FONT></DIV><FONT face=Arial
size=2>
<DIV><BR>function nattiq_i18n_link($text, $target, $lang,
$separator='&nbsp;'){<BR> $output = '<span
class="i18n-link">';<BR> if ($lang == i18n_get_lang())
{<BR> //language is active. Do nothing.<BR> }<BR>
else {<BR> $output .= l($text, $target, array(), NULL, NULL,
FALSE, TRUE);<BR> }<BR> <BR> $output .=
'</span>';<BR> return $output;<BR>}</DIV>
<DIV><BR>this works just fine, except for this wierd thing: when the english
version is running the arabic link works fine, but when in the arabic version
the english link just doesn't work. this is only in internet explorer, I have
tried with other browsers and everything worked fine. of course, most of our
visitors will be using i.e.</DIV>
<DIV> </DIV>
<DIV>I tried changing the theme, and the links worked good in both versions. now
what work around is there so that I get the links to work in both versions with
the current theme? any suggestions?</DIV>
<DIV> </DIV>
<DIV>the site in question is: <A
href="http://www.nattiq.net">www.nattiq.net</A></DIV>
<DIV> </DIV></FONT>
<DIV><FONT face=Arial size=2>Regards,<BR>Mohammed
al-shar'</FONT></DIV></BODY></HTML>