<li class="@classNames">
    <a class="dropdown-toggle" href="#">
        <span>
            <?php if ($show_label && !empty($block->subject)): ?>
                <?php print $block->subject ?>: 
            <?php endif;?>
            <?php print {theme_name}_get_language($text_type); ?>
        </span>
        <?php if ($show_arrow): ?><span class="caret"></span><?php endif; ?>
    </a>
    <?php if (isset($content)) print $content; elseif (isset($block->content)) print $block->content; ?>
</li>