summaryrefslogtreecommitdiff
path: root/UI/menu_expand.html
blob: 3fe68d04927f7baf6807937052a761213ddb3fbb (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 key IN item.keys ?>&<?lsmb key
  38. ?>=<?lsmb item.$key ?><?lsmb END ?>"
  39. target = "main_window"
  40. onclick="return <?lsmb IF item.module
  41. ?>SwitchMenu(<?lsmb id ?>)<?lsmb END ?>"
  42. class = "<?lsmb IF item.module ?>Menu<?lsmb
  43. ELSE ?>Item<?lsmb END ?>"
  44. ><?lsmb text(item.label) ?></a>
  45. </div>
  46. <?lsmb IF item.menu ?>
  47. <div id="sub_<?lsmb item.id ?>" class=submenu>
  48. <?lsmb END ?>
  49. <?lsmb old_level = item.level ?>
  50. <?lsmb END ?>
  51. </body>
  52. </html>