<?php

class Application_View_Helper_Loggedin extends Zend_View_Helper_Abstract
{
    public function loggedin()
    {
        $menuLoggedIn = '';

        $auth = Zend_Auth::getInstance();
        $data = $auth->getStorage()->read();
        $menuLoggedIn .= "<ul class='nav secondary-nav'>
            <li class='dropdown'>
                <a class='dropdown-toggle' href='#'>".$data['name']."</a>
                <ul class='dropdown-menu'>
                    <li><a href='/usuarios/usuarios/modificardatos'>".Zend_Registry::get('Zend_Translate')->translate('m011')."</a></li>
                    <li><a href='#'>".Zend_Registry::get('Zend_Translate')->translate('m013')."</a></li>
                    <li class='divider'></li>
                    <li><a href='/usuarios/usuarios/logout'>".Zend_Registry::get('Zend_Translate')->translate('m012')."</a></li>
                </ul>
            </li>
        </ul>";

        return $menuLoggedIn;

    }

}

<?php

class Application_View_Helper_Loggedin extends Zend_View_Helper_Abstract
{
    public function loggedin()
    {
        $menuLoggedIn = '';

        $auth = Zend_Auth::getInstance();
        $data = $auth->getStorage()->read();
        $menuLoggedIn .= "<ul class='nav secondary-nav'>
            <li class='dropdown'>
                <a class='dropdown-toggle'  data-toggle=\"dropdown\" href='#'>".$data['name']."</a>
                <ul class='dropdown-menu'>
                    <li><a href='/usuarios/usuarios/modificardatos'>".Zend_Registry::get('Zend_Translate')->translate('m011')."</a></li>
                    <li><a href='#'>".Zend_Registry::get('Zend_Translate')->translate('m013')."</a></li>
                    <li class='divider'></li>
                    <li><a href='/usuarios/usuarios/logout'>".Zend_Registry::get('Zend_Translate')->translate('m012')."</a></li>
                </ul>
            </li>
        </ul>";

        return $menuLoggedIn;

    }

}

Fix wrong click-action binding for loggedin menu
Fix wrong click-action binding for loggedin menu

Signed-off-by: Fran Diéguez <1a0d2d7b2e688322d0c86dcf5420732151ae4348@mabishu.com>