diff options
author | Markus Warg <mw@it-sls.de> | 2010-04-14 15:20:40 +0200 |
---|---|---|
committer | Markus Warg <mw@it-sls.de> | 2010-04-14 15:20:40 +0200 |
commit | ae053ad0371d46f529a26c2a18953189620b88e4 (patch) | |
tree | aad5ebb03e7138647f950be8960c3f7c84df0020 /manager/library/plugins | |
parent | d09a673644f87ee067f62f3de978cb046a02c7a8 (diff) | |
download | cacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.tar.gz cacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.tar.xz cacert-mgr-ae053ad0371d46f529a26c2a18953189620b88e4.zip |
imap class / mail controller
add imap class to access captured emails
add mail controller to framework (display content)
Diffstat (limited to 'manager/library/plugins')
-rw-r--r-- | manager/library/plugins/plugin.loginlogout.php | 8 |
1 files changed, 7 insertions, 1 deletions
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('<a href="' .
$view->url(array('controller' => $controller), 'default', true) .
- '">' . I18n::_($text) . '</a>', Zend_View_Helper_Placeholder_Container_Abstract::SET, 1000);
+ '"' . $aclass . '>' . I18n::_($text) . '</a>', Zend_View_Helper_Placeholder_Container_Abstract::SET, 1000);
}
}
|