From ae053ad0371d46f529a26c2a18953189620b88e4 Mon Sep 17 00:00:00 2001 From: Markus Warg Date: Wed, 14 Apr 2010 15:20:40 +0200 Subject: imap class / mail controller add imap class to access captured emails add mail controller to framework (display content) --- manager/library/plugins/plugin.loginlogout.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'manager/library/plugins') diff --git a/manager/library/plugins/plugin.loginlogout.php b/manager/library/plugins/plugin.loginlogout.php index 6de7a92..8bd13db 100644 --- a/manager/library/plugins/plugin.loginlogout.php +++ b/manager/library/plugins/plugin.loginlogout.php @@ -17,9 +17,15 @@ class LoginLogout extends Zend_Controller_Plugin_Abstract { $controller = 'logout'; $text = 'Logout'; } + $cur_ctrl = $request->getControllerName(); + if ($cur_ctrl == 'login') + $aclass=' class="active"'; + else + $aclass=''; + $view = Zend_Registry::get('view'); $view->topNav('' . I18n::_($text) . '', Zend_View_Helper_Placeholder_Container_Abstract::SET, 1000); + '"' . $aclass . '>' . I18n::_($text) . '', Zend_View_Helper_Placeholder_Container_Abstract::SET, 1000); } } -- cgit v1.2.1