Hi all;
I am planing to make a bilingual site (Arabic + English).
I made many forms with CF component, and they worked great. But the direction of the form is static and not changing when I change the languages.
I edited the file (style1.css) to make the form in RTL direction, but now I want to make it LTR when I change the language to English.
There is a file named chronocontact.html.php contain the following code:
How can I add a code to call for a file named (style1_rtl.css) which contain the RTL style??
thank you in advance
I am planing to make a bilingual site (Arabic + English).
I made many forms with CF component, and they worked great. But the direction of the form is static and not changing when I change the languages.
I edited the file (style1.css) to make the form in RTL direction, but now I want to make it LTR when I change the language to English.
There is a file named chronocontact.html.php contain the following code:
<?php if ($MyForm->formparams('LoadFiles') == 'Yes'){ ?>
<?php if((!trim($MyForm->formrow->theme))||(trim($MyForm->formrow->theme) == 'default')){ ?>
<link href="<?php echo $CF_PATH.'components/com_chronocontact/themes/default/css/'; ?>style1.css" rel="stylesheet" type="text/css" />
<!--[if lt IE 6]><link href="<?php echo $CF_PATH.'components/com_chronocontact/themes/default/css/'; ?>style1-ie6.css" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if lt IE 7]><link href="<?php echo $CF_PATH.'components/com_chronocontact/themes/default/css/'; ?>style1-ie7.css" rel="stylesheet" type="text/css" /><![endif]-->
How can I add a code to call for a file named (style1_rtl.css) which contain the RTL style??
thank you in advance