function widget($args, $instance) { extract($args); echo $before_widget; if ($instance['title']) { echo $before_title, $instance['title'], $after_title; } mlf_links_to_languages(); echo $after_widget; }
<div class="bar"> <div class="barInner"> <div class="topMenu"> <?php if (is_active_sidebar('vhl_menu_1_' . $current_language)) { ?> <?php dynamic_sidebar('vhl_menu_1_' . $current_language); ?> <?php } ?> </div> <div id="otherVersions"> <?php mlf_links_to_languages(); ?> </div> <div id="contact"> <span><a href="/<?php echo $site_lang; ?> /contact/">Contato</a></span> </div> <div class="spacer"></div> </div> </div> <div class="top top_<?php echo $current_language; ?> ">