diff options
Diffstat (limited to 'UI/menu/expanding.html')
-rw-r--r-- | UI/menu/expanding.html | 78 |
1 files changed, 78 insertions, 0 deletions
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> |