Ejemplo n.º 1
0
echo Translate::string("navigation.contact");
?>
</a>
        </div>
        <div id="finnplus-adbutton" class="right">
            <a href="#advert-intro" class="btn"><?php 
echo Translate::string("navigation.create_an_ad");
?>
</a>
        </div>
        <div class="right" id="user-menus">
            <?php 
// Language Dropdown
$settings = array('id' => "lang-dropdown", "class" => "inline-block", "btn" => Translate::string("navigation.language") . " ({$lang})", "btnClass" => "link no-before");
$list = array('<a class="li" href="?lang=eng">ENG</a>', '<a class="li" href="?lang=nor">NOR</a>');
FormElement::dropdown($settings, $list);
?>
            <?php 
if ($isLoggedIn) {
    ?>

                <div class="dropdown inline-block">
                    <label for="dropdown-1" class="dropdown-btn link"><?php 
    echo $user->name();
    ?>
 *</label><input type="checkbox" class="dropdown-checkbox" id="dropdown-1">
                    <ul>
                        <li>
                            <a class="li my-ads-link" href="?my-ads#my-ads"><?php 
    echo Translate::string("navigation.my_ads");
    ?>