summaryrefslogtreecommitdiff
path: root/UI/menu/expanding.html
blob: 77258ca8cec39ab98986cad3fe6448e1e66176ba (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. <link rel="stylesheet" href="UI/menu/expanding.css" type="text/css" title="LedgerSMB stylesheet" />
  11. <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  12. <meta name="robots" content="noindex,nofollow" />
  13. <script type="text/javascript">
  14. function SwitchMenu(obj) {
  15. if (document.getElementById) {
  16. var element = document.getElementById(obj);
  17. if (element.style.display == "block") {
  18. element.style.display = "none";
  19. } else {
  20. element.style.display = "block"; //display the block of info
  21. }
  22. return false;
  23. }
  24. }
  25. document.onselectstart = new Function("return false");
  26. </script>
  27. </head>
  28. <body class="menu">
  29. <img class="cornderlogo" src="images/ledgersmb_small.png" width="100" height="50" border="1" alt="ledger-smb" />
  30. <?lsmb FOREACH item = menu_items ?>
  31. <?lsmb href = "" ?>
  32. <?lsmb WHILE item.level < old_level ?>
  33. </div><?lsmb old_level = old_level - 1 ?>
  34. <?lsmb END ?>
  35. <div class="Menu" id="menu_<?lsmb item.id ?>">
  36. <a href="<?lsmb IF item.module ?><?lsmb item.module
  37. ?><?lsmb ELSE ?>menu.pl<?lsmb END
  38. ?>?login=<?lsmb login
  39. ?>&<?lsmb FOREACH arg IN item.args
  40. ?><?lsmb arg
  41. ?>&<?lsmb END
  42. ?><?lsmb IF item.menu
  43. ?>id=<?lsmb item.id
  44. ?>&open=<?lsmb open
  45. ?><?lsmb END ?>"
  46. <?lsmb IF item.module ?>
  47. target = "main_window"
  48. <?lsmb END ?>
  49. <?lsmb IF item.menu ?>
  50. onclick="return SwitchMenu('sub_<?lsmb item.id ?>')"
  51. <?lsmb END ?>
  52. class = "<?lsmb IF item.module ?>Menu<?lsmb
  53. ELSE ?>Item<?lsmb END ?>"
  54. ><?lsmb text(item.label) ?></a>
  55. </div>
  56. <?lsmb IF item.menu ?>
  57. <div id="sub_<?lsmb item.id ?>" class=submenu
  58. <?lsmb IF item.open ?>
  59. style="display: block"
  60. <?lsmb END ?>>
  61. <?lsmb END ?>
  62. <?lsmb old_level = item.level ?>
  63. <?lsmb END ?>
  64. </body>
  65. </html>