Browse files

Menu updates for win IE topbar and for Zi's layout.

  • Loading branch information...
1 parent 87cc0ac commit aa08d00f3f76cd4045f40bc07c476782800b346e @rthrash rthrash committed Jul 17, 2005
Showing with 228 additions and 241 deletions.
  1. +3 −3 manager/frames/3ldr.php
  2. +1 −1 manager/frames/l0mnu.php
  3. +163 −176 manager/frames/l3mnu.php
  4. +61 −61 manager/media/style/l3navbar.css
View
6 manager/frames/3ldr.php
@@ -118,7 +118,7 @@ function makeHTML($indent,$parent,$expandAll)
$icon='page';
if($privateweb||$privatemgr) $icon='page-secure';
else if(isset($icons[$contenttype])) $icon = $icons[$contenttype];
- $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.$pad.'<img id="p'.$id.'" align="absmiddle" title="'.$_lang['click_to_context'].'" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="return showPopup('.$id.',\''.addslashes($pagetitle).'\',event);" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
+ $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.$pad.'<img id="p'.$id.'" align="absmiddle" title="'.$_lang['click_to_context'].'" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="showPopup('.$id.',\''.addslashes($pagetitle).'\',event);return false;" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
$output .= '<span p="'.$parent.'" onclick="treeAction('.$id.', \''.addslashes($pagetitle).'\'); setSelected(this);" onmouseover="setHoverClass(this, 1);" onmouseout="setHoverClass(this, 0);" class="treeNode" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" oncontextmenu="document.getElementById(\'p'.$id.'\').onclick(event);return false;" title="'.addslashes($alt).'">'.$pagetitleDisplay.$weblinkDisplay.'</span> <small>('.$id.')</small></div>';
}
else {
@@ -131,14 +131,14 @@ function makeHTML($indent,$parent,$expandAll)
array_push($opened2, $id);
}
$icon='folderopen';
- $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.'<img id="s'.$id.'" align="absmiddle" style="cursor: pointer" src="media/images/tree/minusnode.gif" width="18" height="18" onclick="toggleNode(this,'.($indent+1).','.$id.',0); return false;" oncontextmenu="this.onclick(event); return false;" />&nbsp;<img id="f'.$id.'" align="absmiddle" title="'.$_lang['click_to_context'].'" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="return showPopup('.$id.',\''.addslashes($pagetitle).'\',event);" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
+ $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.'<img id="s'.$id.'" align="absmiddle" style="cursor: pointer" src="media/images/tree/minusnode.gif" width="18" height="18" onclick="toggleNode(this,'.($indent+1).','.$id.',0); return false;" oncontextmenu="this.onclick(event); return false;" />&nbsp;<img id="f'.$id.'" align="absmiddle" title="'.$_lang['click_to_context'].'" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="showPopup('.$id.',\''.addslashes($pagetitle).'\',event);return false;" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
$output .= '<span onclick="treeAction('.$id.', \''.addslashes($pagetitle).'\'); setSelected(this);" onmouseover="setHoverClass(this, 1);" onmouseout="setHoverClass(this, 0);" class="treeNode" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" oncontextmenu="document.getElementById(\'f'.$id.'\').onclick(event);return false;" title="'.addslashes($alt).'">'.$pagetitleDisplay.$weblinkDisplay.'</span> <small>('.$id.')</small><div style="display:block">';
makeHTML($indent+1,$id,$expandAll);
$output .= '</div></div>';
}
else {
$icon='folder';
- $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.'<img id="s'.$id.'" align="absmiddle" style="cursor: pointer" src="media/images/tree/plusnode.gif" width="18" height="18" onclick="toggleNode(this,'.($indent+1).','.$id.',0); return false;" oncontextmenu="this.onclick(event); return false;" />&nbsp;<img id="f'.$id.'" title="'.$_lang['click_to_context'].'" align="absmiddle" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="return showPopup('.$id.',\''.addslashes($pagetitle).'\',event);" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
+ $output .= '<div id="node'.$id.'" p="'.$parent.'" style="white-space: nowrap;">'.$spacer.'<img id="s'.$id.'" align="absmiddle" style="cursor: pointer" src="media/images/tree/plusnode.gif" width="18" height="18" onclick="toggleNode(this,'.($indent+1).','.$id.',0); return false;" oncontextmenu="this.onclick(event); return false;" />&nbsp;<img id="f'.$id.'" title="'.$_lang['click_to_context'].'" align="absmiddle" style="cursor: pointer" src="media/images/tree/'.$icon.'.gif" width="18" height="18" onclick="showPopup('.$id.',\''.addslashes($pagetitle).'\',event);return false;" oncontextmenu="this.onclick(event);return false;" onmouseover="setCNS(this, 1)" onmouseout="setCNS(this, 0)" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" />&nbsp;';
$output .= '<span onclick="treeAction('.$id.', \''.addslashes($pagetitle).'\'); setSelected(this);" onmouseover="setHoverClass(this, 1);" onmouseout="setHoverClass(this, 0);" class="treeNode" onmousedown="itemToChange='.$id.'; selectedObjectName=\''.addslashes($pagetitle).'\'; selectedObjectDeleted='.$deleted.';" oncontextmenu="document.getElementById(\'f'.$id.'\').onclick(event);return false;" title="'.addslashes($alt).'">'.$pagetitleDisplay.$weblinkDisplay.'</span> <small>('.$id.')</small><div style="display:none"></div></div>';
array_push($closed2, $id);
}
View
2 manager/frames/l0mnu.php
@@ -339,7 +339,7 @@ function getTmplVars() {
var resourcesMenu = new Menu();
-resourcesMenu.add( tmp = new MenuItem( "<?php echo $_lang['module_management']; ?>", "index.php?a=19", "media/images/icons/template16.gif") );
+resourcesMenu.add( tmp = new MenuItem( "<?php echo $_lang['module_management']; ?>", "index.php?a=106", "media/images/icons/template16.gif") );
tmp.target="main";
<?php echo !$modx->hasPermission('new_module') && !$modx->hasPermission('edit_module') && !$modx->hasPermission('exec_module') ? "\ttmp.disabled=true;" : "" ; ?>
View
339 manager/frames/l3mnu.php
@@ -1,177 +1,164 @@
-<?php
-if(IN_MANAGER_MODE!="true") die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the MODx Content Manager instead of accessing this file directly.");
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-<title>nav</title>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $etomite_charset; ?>">
-<link rel="stylesheet" type="text/css" href="media/style/<?php echo $manager_theme ? "$manager_theme/":""; ?>l3navbar.css<?php echo "?$theme_refresher";?>" />
-<script language="JavaScript" type="text/javascript">
-function showWin() {
- window.open('../');
-}
-
-function openCredits() {
- parent.main.document.location.href = "index.php?a=18";
- xwwd = window.setTimeout('stopIt()', 2000);
-}
-
-
-function stopIt() {
- top.scripter.stopWork();
-}
-</script>
-
-<style>
-body {
- margin : 0px 0px 0px 0px;
- background: #fff url("media/images/bg/treeback.jpg");
- background-position: top right;
-}
-</style>
-</head>
-
-<body>
-<div id="container" >
-<form name="menuForm">
-<div style="height:15px;width:100%" ><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="center" class="buttonoc"><a style="height:15px;" href="javascript:parent.resizeFrame('0,20,17,*')"><b>Open/Close Menu</b></a></td></tr></table></div>
-<div>
-<table border="0" cellpadding="0" cellspacing="0" class="tdnormaltext">
- <tr>
- <td class="menuHeader"><?php echo $_lang["site"]; ?></td>
- <?php if($modx->hasPermission('new_document')) { ?>
- <td class="menuHeader"><?php echo $_lang["content"]; ?></td>
- <?php } ?>
-
- <?php if($modx->hasPermission('messages') || $modx->hasPermission('change_password')) { ?>
- <td class="menuHeader"><?php echo $_lang["my_account"]; ?></td>
- <?php } ?>
-
- <?php if($modx->hasPermission('new_user') || $modx->hasPermission('edit_user') || $modx->hasPermission('new_role') || $modx->hasPermission('edit_role') || $modx->hasPermission('access_permissions')) { ?>
- <td class="menuHeader"><?php echo $_lang["users"]; ?></td>
- <?php } ?>
-
- <?php
- $hasAccess = $modx->hasPermission('new_template') || $modx->hasPermission('edit_template') || $modx->hasPermission('new_snippet') || $modx->hasPermission('edit_snippet') || $modx->hasPermission('new_plugin') || $modx->hasPermission('edit_plugin') || $modx->hasPermission('manage_metatags');
- if($hasAccess || $modx->hasPermission('new_module') || $modx->hasPermission('edit_module') || $modx->hasPermission('exec_module')) { ?>
- <td class="menuHeader"><?php echo $_lang["resources"]; ?></td>
- <?php } ?>
-
-<?php if($modx->hasPermission('settings') || $modx->hasPermission('edit_parser') || $modx->hasPermission('logs') || $modx->hasPermission('file_manager') || $modx->hasPermission('view_eventlog')) { ?>
- <td class="menuHeader"><?php echo $_lang["administration"]; ?></td>
- <?php } ?>
-
- <?php if($modx->hasPermission('help')) { ?>
- <td class="menuHeader"><?php echo $_lang["help"]; ?></td>
- <?php } ?>
-
- </tr>
- <tr>
- <td valign="top">
- <a href="index.php?a=2" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["home"]; ?></a>
- <a href="javascript:showWin();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["launch_site"]; ?></a>
- <a href="index.php?a=26" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["refresh_site"]; ?></a>
- <a href="index.php?a=70" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["site_schedule"]; ?></a>
- <a href="index.php?a=68" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["visitor_stats"]; ?></a>
- <a href="index.php?a=69" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["visitor_stats_online"]; ?></a>
-
- </td>
-<?php if($modx->hasPermission('new_document')) { ?>
- <td valign="top">
- <a href="index.php?a=85" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_folder"]; ?></a>
- <a href="index.php?a=4" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_document"]; ?></a>
- <a href="index.php?a=72" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_weblink"]; ?></a>
- </td>
-<?php } ?>
-<?php if($modx->hasPermission('messages') || $modx->hasPermission('change_password')) { ?>
- <td valign="top">
-
-<?php if($modx->hasPermission('messages')) { ?>
- <a href="index.php?a=10" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["messages"]; ?> <span id="msgCounter">(? / ? )</span></a>
-<?php }
- if($modx->hasPermission('change_password')) { ?>
- <a href="index.php?a=28" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["change_password"]; ?></a>
-<?php } ?>
- </td>
- <?php } ?>
-
-<?php if($modx->hasPermission('new_user') || $modx->hasPermission('edit_user') || $modx->hasPermission('new_role') || $modx->hasPermission('edit_role') || $modx->hasPermission('access_permissions')) { ?>
- <td valign="top">
-<?php if($modx->hasPermission('new_user')||$modx->hasPermission('edit_user')) { ?>
- <a href="index.php?a=75" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["user_management_title"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('new_web_user')||$modx->hasPermission('edit_web_user')) { ?>
- <a href="index.php?a=99" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["web_user_management_title"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('new_role')||$modx->hasPermission('edit_user')) { ?>
- <a href="index.php?a=86" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["role_management_title"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('access_permissions')) { ?>
- <a href="index.php?a=40" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["manager_permissions"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('web_access_permissions')) { ?>
- <a href="index.php?a=91" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["web_permissions"]; ?></a>
-<?php } ?>
- </td>
- <?php } ?>
-
-
-
-<?php if($modx->hasPermission('new_module') || $modx->hasPermission('edit_module') || $modx->hasPermission('exec_module')) { ?>
- <td valign="top">
- <a href="index.php?a=106" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!" /><?php echo $_lang["module_management"]; ?></a>
-<?php } ?>
-<?php if($hasAccess) { ?>
- <a href="index.php?a=76" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["resource_management"]; ?></a>
- </td>
-<?php } ?>
-
-
-
-
-
-<?php if($modx->hasPermission('settings') || $modx->hasPermission('edit_parser') || $modx->hasPermission('logs') || $modx->hasPermission('file_manager') || $modx->hasPermission('view_eventlog')) { ?>
- <td valign="top">
-
-<?php if($modx->hasPermission('settings')) { ?>
- <a href="index.php?a=17" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["edit_settings"]; ?></a>
- <a href="index.php?a=53" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["view_sysinfo"]; ?></a>
- <a href="javascript:top.scripter.removeLocks();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["remove_locks"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('view_eventlog')) { ?>
- <a href="index.php?a=114" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["eventlog_viewer"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('logs')) { ?>
- <a href="index.php?a=13" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["view_logging"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('file_manager')) { ?>
- <a href="index.php?a=31" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["manage_files"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('bk_manager')) { ?>
- <a href="index.php?a=93" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["bk_manager"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('edit_document')) { ?>
- <a href="index.php?a=83" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["export_site"]; ?></a>
-<?php } ?>
-<?php if($modx->hasPermission('new_document')) { ?>
- <a href="index.php?a=95" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["import_site"]; ?></a>
-<?php } ?>
- </td>
-<?php } ?>
- <td valign="top">
-<?php if($modx->hasPermission('help')) { ?>
- <a href="javascript:openCredits();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["credits"]; ?></a>
- <a href="index.php?a=9" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["help"]; ?></a>
- <a href="index.php?a=59" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["about"]; ?></a>
-<?php } ?>
- <a href="index.php?a=8" target="_top"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["logout"]; ?></a>
- </td>
- </tr>
-</table>
-</div>
-</form>
-</div>
-
-</body>
+<?php
+if(IN_MANAGER_MODE!="true") die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the MODx Content Manager instead of accessing this file directly.");
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title>nav</title>
+<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $etomite_charset; ?>">
+<link rel="stylesheet" type="text/css" href="media/style/<?php echo $manager_theme ? "$manager_theme/":""; ?>navbar.css<?php echo "?$theme_refresher";?>" />
+<script language="JavaScript" type="text/javascript">
+function showWin() {
+ window.open('../');
+}
+
+function openCredits() {
+ parent.main.document.location.href = "index.php?a=18";
+ xwwd = window.setTimeout('stopIt()', 2000);
+}
+
+
+function stopIt() {
+ top.scripter.stopWork();
+}
+</script>
+
+<style>
+body {
+ margin : 0px 0px 0px 0px;
+ background: #fff url("media/images/bg/treeback.jpg");
+ background-position: top right;
+}
+</style>
+</head>
+
+<body>
+<div id="container" >
+<form name="menuForm">
+<div style="height:15px;width:100%" ><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="center" class="scrollbtn"><a style="height:15px;" href="javascript:parent.resizeFrame('0,20,17,*')"><b>Open/Close Menu</b></a></td></tr></table></div>
+<div>
+<table border="0" cellpadding="0" cellspacing="0" class="tdnormaltext">
+ <tr>
+ <td class="menuHeader"><?php echo $_lang["site"]; ?></td>
+ <?php if($modx->hasPermission('new_document')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["content"]; ?></td>
+ <?php } ?>
+
+ <?php if($modx->hasPermission('messages')==1 || $modx->hasPermission('change_password')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["my_account"]; ?></td>
+ <?php } ?>
+
+ <?php if($modx->hasPermission('new_user')==1 || $modx->hasPermission('edit_user')==1 || $modx->hasPermission('new_role')==1 || $modx->hasPermission('edit_role')==1 || $modx->hasPermission('access_permissions')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["users"]; ?></td>
+ <?php } ?>
+
+ <?php if($modx->hasPermission('new_template')==1 || $modx->hasPermission('edit_template')==1 || $modx->hasPermission('new_snippet')==1 || $modx->hasPermission('edit_snippet')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["resources"]; ?></td>
+ <?php } ?>
+
+ <?php if($modx->hasPermission('settings')==1 || $modx->hasPermission('edit_parser')==1 || $modx->hasPermission('logs')==1 || $modx->hasPermission('file_manager')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["administration"]; ?></td>
+ <?php } ?>
+
+ <?php if($modx->hasPermission('help')==1) { ?>
+ <td class="menuHeader"><?php echo $_lang["help"]; ?></td>
+ <?php } ?>
+
+ </tr>
+ <tr>
+ <td valign="top">
+ <a href="index.php?a=2" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["home"]; ?></a>
+ <a href="javascript:showWin();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["launch_site"]; ?></a>
+ <a href="index.php?a=26" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["refresh_site"]; ?></a>
+ <a href="index.php?a=70" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["site_schedule"]; ?></a>
+ <a href="index.php?a=68" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["visitor_stats"]; ?></a>
+ <a href="index.php?a=69" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["visitor_stats_online"]; ?></a>
+
+ </td>
+<?php if($modx->hasPermission('new_document')==1) { ?>
+ <td valign="top">
+ <a href="index.php?a=85" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_folder"]; ?></a>
+ <a href="index.php?a=4" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_document"]; ?></a>
+ <a href="index.php?a=72" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["add_weblink"]; ?></a>
+ </td>
+<?php } ?>
+<?php if($modx->hasPermission('messages')==1 || $modx->hasPermission('change_password')==1) { ?>
+ <td valign="top">
+
+<?php if($modx->hasPermission('messages')==1) { ?>
+ <a href="index.php?a=10" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["messages"]; ?> <span id="msgCounter">(? / ? )</span></a>
+<?php }
+ if($modx->hasPermission('change_password')==1) { ?>
+ <a href="index.php?a=28" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["change_password"]; ?></a>
+<?php } ?>
+ </td>
+ <?php } ?>
+
+<?php if($modx->hasPermission('new_user')==1 || $modx->hasPermission('edit_user')==1 || $modx->hasPermission('new_role')==1 || $modx->hasPermission('edit_role')==1 || $modx->hasPermission('access_permissions')==1) { ?>
+ <td valign="top">
+<?php if($modx->hasPermission('new_user')==1||$modx->hasPermission('edit_user')==1) { ?>
+ <a href="index.php?a=75" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["user_management_title"]; ?></a>
+ <a href="index.php?a=99" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["web_user_management_title"]; ?></a>
+ <a href="index.php?a=86" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!" /><?php echo $_lang["role_manageme
+ nt_title"]; ?></a>
+
+<?php } ?>
+<?php if($modx->hasPermission('access_permissions')==1) { ?>
+ <a href="index.php?a=40" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["access_permissions"]; ?></a>
+ <a href="index.php?a=91" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["web_access_permissions"]; ?></a>
+<?php } ?>
+ </td>
+ <?php } ?>
+
+<?php if($modx->hasPermission('new_template')==1 || $modx->hasPermission('edit_template')==1 || $modx->hasPermission('new_snippet')==1 || $modx->hasPermission('edit_snippet')==1) { ?>
+ <td valign="top">
+ <a href="index.php?a=106" target="main"><img src='media/images/misc/arrow.gif' alt="Arrow!" /><?php echo $_lang["module_management"]; ?></a>
+ <a href="index.php?a=76" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["resource_management"]; ?></a>
+ </td>
+<?php } ?>
+
+
+<?php if($modx->hasPermission('settings')==1 || $modx->hasPermission('edit_parser')==1 || $modx->hasPermission('logs')==1 || $modx->hasPermission('file_manager')==1) { ?>
+ <td valign="top">
+
+<?php if($modx->hasPermission('settings')==1) { ?>
+ <a href="index.php?a=17" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["edit_settings"]; ?></a>
+ <a href="index.php?a=53" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["view_sysinfo"]; ?></a>
+ <a href="javascript:top.scripter.removeLocks();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["remove_locks"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('view_eventlog')) { ?>
+ <a onclick="this.blur();" href="index.php?a=114" target="main"><img src='media/images/misc/arrow.gif' alt="Arrow!" /><?php echo $_lang["eventlog_viewer"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('logs')==1) { ?>
+ <a href="index.php?a=13" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["view_logging"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('file_manager')==1) { ?>
+ <a href="index.php?a=31" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["manage_files"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('bk_manager')==1) { ?>
+ <a href="index.php?a=93" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["bk_manager"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('edit_document')==1) { ?>
+ <a href="index.php?a=83" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["export_site"]; ?></a>
+<?php } ?>
+<?php if($modx->hasPermission('new_document')==1) { ?>
+ <a href="index.php?a=95" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["import_site"]; ?></a>
+<?php } ?>
+ </td>
+<?php } ?>
+ <td valign="top">
+<?php if($modx->hasPermission('help')==1) { ?>
+ <a href="javascript:openCredits();"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["credits"]; ?></a>
+ <a href="index.php?a=9" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["help"]; ?></a>
+ <a href="index.php?a=59" target="main"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["about"]; ?></a>
+<?php } ?>
+ <a href="index.php?a=8" target="_top"><img src='media/images/misc/menu_dot.gif' alt="dot!"/><?php echo $_lang["logout"]; ?></a>
+ </td>
+ </tr>
+</table>
+</div>
+</form>
+</div>
+
+</body>
</html>
View
122 manager/media/style/l3navbar.css
@@ -1,61 +1,61 @@
-BODY {
- margin: 0px 0px 0px 0px;
- font-size: 9px;
- color: black;
-}
-.menuHeader {
- font-family: Tahoma, Arial, Helvetica, sans-serif;
- color: #000000;
- font-size: 11px;
- font-weight: bold;
- text-align: left;
- vertical-align: top;
- padding: 0px 0px 0px 7px;
-}
-
-
-
-.tdnormaltext {
- font-family: tahoma, Arial, Helvetica, sans-serif;
- color: #000000;
- font-size: 9px;
- height: 8;
- text-align : left;
- cell-spacing: 2px;
-}
-.buttonoc a, .buttonoc a:visited{
- font-family: tahoma, Arial, Helvetica, sans-serif;
- background: url("../images/misc/buttonbar.gif");
- font-size: 11px;
- padding: 0px 2px 0px 2px;
- text-decoration: none;
- display: block;
- }
-
-.buttonoc a:hover{
- background: url("../images/misc/buttonbar_gs.gif");
- color: #000000;
- }
-
-
-
-a, a:visited {
- font-family: tahoma, Arial, Helvetica, sans-serif;
- color: #003399;
- font-size: 11px;
- padding: 0px 2px 0px 2px;
- text-decoration: none;
- display: block;
-
-}
-
-a:hover {
- background-color: #000080;
- color: #FFFFFF;
-
-}
-
-a img {
- border: 0px;
- vertical-align: middle;
-}
+BODY {
+ margin: 0;
+ font-size: 9px;
+ color: black;
+}
+.menuHeader {
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ color: #000000;
+ font-size: 11px;
+ font-weight: bold;
+ text-align: left;
+ vertical-align: top;
+ padding: 0px 0px 0px 7px;
+}
+
+
+
+.tdnormaltext {
+ font-family: tahoma, Arial, Helvetica, sans-serif;
+ color: #000000;
+ font-size: 9px;
+ height: 8;
+ text-align : left;
+ cell-spacing: 2px;
+}
+.buttonoc a, .buttonoc a:visited{
+ font-family: tahoma, Arial, Helvetica, sans-serif;
+ background: url("../../images/misc/buttonbar.gif");
+ font-size: 11px;
+ padding: 0px 2px 0px 2px;
+ text-decoration: none;
+ display: block;
+ }
+
+.buttonoc a:hover{
+ background: url("../../images/misc/buttonbar_gs.gif");
+ color: #000000;
+ }
+
+
+
+a, a:visited {
+ font-family: tahoma, Arial, Helvetica, sans-serif;
+ color: #003399;
+ font-size: 11px;
+ padding: 0px 2px 0px 2px;
+ text-decoration: none;
+ display: block;
+
+}
+
+a:hover {
+ background-color: #000080;
+ color: #FFFFFF;
+
+}
+
+a img {
+ border: 0px;
+ vertical-align: middle;
+}

0 comments on commit aa08d00

Please sign in to comment.