Author: Lars Michelsen <[email protected]>
Date: Mon Apr 25 21:03:55 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Mon Apr 25 21:03:55 2011 +0200
Fixed wrong js code when toggling the header menu
---
share/userfiles/templates/default.header.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/userfiles/templates/default.header.html
b/share/userfiles/templates/default.header.html
index e0872e0..68a715a 100644
--- a/share/userfiles/templates/default.header.html
+++ b/share/userfiles/templates/default.header.html
@@ -9,7 +9,7 @@
<li class="logo"><a href="http://www.nagvis.org/"><img
src="{$pathImages}/internal/logo_96x25.png" alt="NagVis" /></a></li>
<li>
<dl class="dropdown">
- <dt id="views-ddheader" onmouseover="!sidebarOpen() &&
ddMenu('views',1)" onmouseout="ddMenu('views',-1)"
onclick="toggleSidebar(true);ddMenu('views',-1)">
+ <dt id="views-ddheader" onmouseover="!sidebarOpen() ?
ddMenu('views',1) : void(0)" onmouseout="ddMenu('views',-1)"
onclick="toggleSidebar(true);ddMenu('views',-1)">
{$langOpen} <img
src="{$pathTemplateImages}default.header_down.png" alt="∇" />
</dt>
<dd id="views-ddcontent"
onmouseover="cancelHide('views')" onmouseout="ddMenu('views',-1)">
@@ -145,7 +145,7 @@
<dd id="user-ddcontent" onmouseover="cancelHide('user')"
onmouseout="ddMenu('user',-1)">
<ul>
<li><a href="#">{$langLoggedIn}: {$currentUser}</a></li>
- {if $supportedChangePassword &&
$permittedChangePassword}<li><a href="#"
onlick="showFrontendDialog(oGeneralProperties.path_server+'?mod=ChangePassword&act=view',
'{$langChangePassword}');">{$langChangePassword}</a></li>{/if}
+ {if $supportedChangePassword &&
$permittedChangePassword}<li><a href="#"
onclick="showFrontendDialog(oGeneralProperties.path_server+'?mod=ChangePassword&act=view',
'{$langChangePassword}');">{$langChangePassword}</a></li>{/if}
{if $permittedUserMgmt}<li><a href="#"
onclick="showFrontendDialog(oGeneralProperties.path_server+'?mod=UserMgmt&act=view',
'{$langUserMgmt}');">{$langUserMgmt}</a></li>{/if}
{if $permittedRoleMgmt}<li><a href="#"
onclick="showFrontendDialog(oGeneralProperties.path_server+'?mod=RoleMgmt&act=view',
'{$langManageRoles}', 500);">{$langManageRoles}</a></li>{/if}
{if $permittedLogout}<li><a href="#"
onclick="getSyncRequest('{$pathBase}/server/core/ajax_handler.php?mod=Auth&act=logout');return
false;">{$langLogout}</a></li>{/if}
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins