summaryrefslogtreecommitdiff
path: root/UI/menu_expand.html
blob: 86fd3011a43baa21a82cb328f8523c012957a8eb (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_expand.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 el = document.getElementById(obj);
  17. if (el.style.display == "block") {
  18. el.style.display = "none";
  19. } else {
  20. el.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. target = "main_window"
  43. onclick="return <?lsmb IF item.menu
  44. ?>SwitchMenu('sub_<?lsmb item.id ?>')<?lsmb END ?>"
  45. class = "<?lsmb IF item.module ?>Menu<?lsmb
  46. ELSE ?>Item<?lsmb END ?>"
  47. ><?lsmb text(item.label) ?></a>
  48. </div>
  49. <?lsmb IF item.menu ?>
  50. <div id="sub_<?lsmb item.id ?>" class=submenu>
  51. <?lsmb END ?>
  52. <?lsmb old_level = item.level ?>
  53. <?lsmb END ?>
  54. </body>
  55. </html>