summaryrefslogtreecommitdiff
path: root/UI/menu_expand.html
blob: ed06203345ae07198f0703a044ef6a18b5f72369 (plain)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <title>Accounting Menu - LedgerSMB Version 1.2.7 - Chris Travers - metatron_ledger</title>
  6. <meta http-equiv="Pragma" content="no-cache" />
  7. <meta http-equiv="Expires" content="-1" />
  8. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  9. <link rel="stylesheet" href="css/<?lsmb stylesheet ?>" type="text/css" title="LedgerSMB stylesheet" />
  10. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  11. <meta name="robots" content="noindex,nofollow" />
  12. <script type="text/javascript">
  13. function SwitchMenu(obj) {
  14. if (document.getElementById) {
  15. var el = document.getElementById(obj);
  16. if (el.style.display == "none") {
  17. el.style.display = "block"; //display the block of info
  18. } else {
  19. el.style.display = "none";
  20. }
  21. }
  22. }
  23. document.onselectstart = new Function("return false");
  24. </script>
  25. </head>
  26. <body class="menu">
  27. <img class="cornderlogo" src="images/ledgersmb_small.png" width="100" height="50" border="1" alt="ledger-smb" />
  28. <?lsmb FOREACH item = menu_items ?>
  29. <?lsmb href = "" ?>
  30. <?lsmb WHILE item.level < old_level ?>
  31. </div><?lsmb old_level = old_level - 1 ?>
  32. <?lsmb END ?>
  33. <div class="Menu" id="menu_<?lsmb item.id ?>">
  34. <a href="<?lsmb IF item.module ?><?lsmb item.module
  35. ?><?lsmb ELSE ?>menu.pl<?lsmb END
  36. ?>?login=<?lsmb login
  37. ?>&<?lsmb FOREACH arg IN item.args
  38. ?><?lsmb arg
  39. ?>&<?lsmb END ?>"
  40. target = "main_window"
  41. onclick="return <?lsmb IF item.module
  42. ?>SwitchMenu(<?lsmb id ?>)<?lsmb END ?>"
  43. class = "<?lsmb IF item.module ?>Menu<?lsmb
  44. ELSE ?>Item<?lsmb END ?>"
  45. ><?lsmb text(item.label) ?></a>
  46. </div>
  47. <?lsmb IF item.menu ?>
  48. <div id="sub_<?lsmb item.id ?>" class=submenu>
  49. <?lsmb END ?>
  50. <?lsmb old_level = item.level ?>
  51. <?lsmb END ?>
  52. </body>
  53. </html>