<li class="@classNames">
    <a class="dropdown-toggle" href="#">
        <span>
            <?php if ($settings['showLabel']): ?>Language: <?php endif ?>
            <?php if (!is_null($activeLang)) : ?>
                <?php if ($settings['textType'] === 'noText') : ?>
                    <?php echo JHtml::_('image', 'mod_languages/'.$activeLang->image.'.gif', $activeLang->title_native, array('title'=>$activeLang->title_native), true);?>
                <?php else : ?>
                    <?php echo $settings['textType'] === 'short' ? strtoupper($activeLang->sef) : $activeLang->title_native;?>
                <?php endif; ?>
            <?php endif; ?>
        </span>
        <?php if ($settings['showArrow']): ?><span class="caret"></span><?php endif ?>
    </a>
    <?php echo $submenu; ?>
</li>