![]() |
How to <IF> ... </if> a language ID?
I have a bilingual forum (english/french). In my header, I have one line of code which looks like this (loads an image):
Code:
<a href='myform.php?do=myform_action $session[sessionurl]'><img src="$stylevar[imgdir_misc]/french_image.png" onmouseover="this.src='$stylevar[imgdir_misc]/french_image_MouseOver.png' ;" onmouseout="this.src='$stylevar[imgdir_misc]/french_Image.png' ;" border="0" /></a> Code:
<a href='myform.php?do=myform_action $session[sessionurl]'><img src="$stylevar[imgdir_misc]/english_image.png" onmouseover="this.src='$stylevar[imgdir_misc]/english_image_MouseOver.png' ;" onmouseout="this.src='$stylevar[imgdir_misc]/english_Image.png' ;" border="0" /></a> I'd like to add a condition according to the language ID each user has selected by default. I tried this but it does not work: Code:
<if condition="$vboptions['languageid'] == '2'"> |
All times are GMT. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|