Qtranslate plugin
-
Hi,
How I would show two first languages in horizontal line and rest of them in listbox. Now I think I can use this like code:
echo $k = 1; case 'dropdown': echo '<ul class="qtrans_language_chooser" id="'.$id.'">'; foreach(qtrans_getSortedLanguages() as $language) { if($k > 1){ echo '<li'; if($language == $q_config['language']) echo ' class="active"'; echo '><a href="'.qtrans_convertURL('', $language).'"'; if($style=='image') echo ' class="qtrans_flag qtrans_flag_'.$language.'"'; echo '><span'; if($style=='image') echo ' style="display:none"'; echo '>'.$q_config['language_name'][$language].'</span>'; $k = $k + 1; } else { $k = $k + 1; } } echo "<div class=\"qtrans_widget_end\"></div>";
but don’t work.
Pls, help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Qtranslate plugin’ is closed to new replies.