summaryrefslogtreecommitdiff
path: root/UI/menu
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 06:16:04 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 06:16:04 +0000
commitde5795278d3f8a52112d0f42bcf7716a76ff11ac (patch)
treefa86e66fcceb146ce482464b6767a862c3aa2a00 /UI/menu
parent77f23e8cb7af1caaa1122e712d721133bc71bc4b (diff)
More menu fixes
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1482 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/menu')
-rw-r--r--UI/menu/drilldown.html34
-rw-r--r--UI/menu/expanding.css3
-rw-r--r--UI/menu/expanding.html78
3 files changed, 115 insertions, 0 deletions
diff --git a/UI/menu/drilldown.html b/UI/menu/drilldown.html
new file mode 100644
index 00000000..a09a3c7e
--- /dev/null
+++ b/UI/menu/drilldown.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Accounting Menu - LedgerSMB Version 1.2.7 - Chris Travers - metatron_ledger</title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
+ <link rel="stylesheet" href="UI/menu/expanding.css" type="text/css" title="LedgerSMB stylesheet" />
+
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+
+ <meta name="robots" content="noindex,nofollow" />
+</head>
+<body>
+ <?lsmb FOR item = menu_items ?>
+ <a href="<?lsmb IF item.module ?><?lsmb item.module
+ ?><?lsmb ELSE ?>menu.pl<?lsmb END
+ ?>?login=<?lsmb login
+ ?>&<?lsmb FOREACH arg IN item.args
+ ?><?lsmb arg
+ ?><?lsmb END
+ ?><?lsmb IF item.menu
+ ?>&parent_id=<?lsmb item.id
+ ?>&open=<?lsmb open
+ ?><?lsmb END ?>&menubar=1"
+ class = "<?lsmb IF item.menu ?>Menu<?lsmb
+ ELSE ?>Item<?lsmb END ?>"
+ ><?lsmb text(item.label) ?></a>
+ <br/>
+ <?lsmb END ?>
+</body>
+</html>
diff --git a/UI/menu/expanding.css b/UI/menu/expanding.css
new file mode 100644
index 00000000..46461cff
--- /dev/null
+++ b/UI/menu/expanding.css
@@ -0,0 +1,3 @@
+div.submenu {
+ display: none;
+}
diff --git a/UI/menu/expanding.html b/UI/menu/expanding.html
new file mode 100644
index 00000000..9aa4fead
--- /dev/null
+++ b/UI/menu/expanding.html
@@ -0,0 +1,78 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Accounting Menu - LedgerSMB Version 1.2.7 - Chris Travers - metatron_ledger</title>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
+ <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
+ <link rel="stylesheet" href="UI/menu/expanding.css" type="text/css" title="LedgerSMB stylesheet" />
+
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+
+ <meta name="robots" content="noindex,nofollow" />
+
+ <script type="text/javascript">
+
+ function SwitchMenu(obj) {
+ if (document.getElementById) {
+ var element = document.getElementById(obj);
+
+ if (element.style.display == "block") {
+ element.style.display = "none";
+
+ } else {
+ element.style.display = "block"; //display the block of info
+ }
+ return false;
+ }
+ }
+
+
+ document.onselectstart = new Function("return false");
+ </script>
+</head>
+
+
+ <body class="menu">
+ <img class="cornderlogo" src="images/ledgersmb_small.png" width="100" height="50" border="1" alt="ledger-smb" />
+ <?lsmb FOREACH item = menu_items ?>
+ <?lsmb href = "" ?>
+ <?lsmb WHILE item.level < old_level ?>
+ </div><?lsmb old_level = old_level - 1 ?>
+ <?lsmb END ?>
+ <div class="Menu" id="menu_<?lsmb item.id ?>">
+ <a href="<?lsmb IF item.module ?><?lsmb item.module
+ ?><?lsmb ELSE ?>menu.pl<?lsmb END
+ ?>?login=<?lsmb login
+ ?>&<?lsmb FOREACH arg IN item.args
+ ?><?lsmb arg
+ ?><?lsmb END
+ ?><?lsmb IF item.menu
+ ?>&id=<?lsmb item.id
+ ?>&open=<?lsmb open
+ ?><?lsmb END ?>"
+ <?lsmb IF item.module ?>
+ target = "main_window"
+ <?lsmb END ?>
+ <?lsmb IF item.menu ?>
+ onclick="return SwitchMenu('sub_<?lsmb item.id ?>')"
+ <?lsmb END ?>
+ class = "<?lsmb IF item.module ?>Menu<?lsmb
+ ELSE ?>Item<?lsmb END ?>"
+ ><?lsmb text(item.label) ?></a>
+ </div>
+ <?lsmb IF item.menu ?>
+ <div id="sub_<?lsmb item.id ?>" class=submenu
+ <?lsmb IF item.open ?>
+ style="display: block"
+ <?lsmb END ?>>
+ <?lsmb END ?>
+ <?lsmb old_level = item.level ?>
+ <?lsmb END ?>
+
+
+</body>
+
+</html>