summaryrefslogtreecommitdiff
path: root/UI/menu_expand.html
blob: 82c82db3f044064811f48ed11be2038e44dfaca8 (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 = subs ?>
  29. <?lsmb old_id = id ?><?lsmb old_path = path ?>
  30. <?lsmb id = item.id ?><?lsmb path = item.path ?>
  31. <?lsmb IF (id != old_id) AND id ?>
  32. <?lsmb desc_ids = [id, ''] ?>
  33. <?lsmb asc_ids = [old_id, ''] ?>
  34. <?lsmb IF old_id.search(desc_ids.join('--')) ?>
  35. <div id="sub_<?lsmb old_id ?>" class="Submenu">
  36. <?lsmb ELSIF id.search(asc_ids.join('--')) ?>
  37. </div>
  38. <?lsmb END ?>
  39. <?lsmb END ?>
  40. <div class="Menu" id="menu_<?lsmb id ?>">
  41. <a href="<?lsmb IF item.module ?><?lsmb item.module
  42. ?><?lsmb ELSE ?>menu.pl<?lsmb END
  43. ?>?login=<?lsmb login
  44. ?><?lsmb FOREACH key IN item.keys ?>&<?lsmb key
  45. ?>=<?lsmb item.$key ?><?lsmb END ?>"
  46. target = "main_window"
  47. onclick="return <?lsmb IF item.module
  48. ?>SwitchMenu(<?lsmb id ?>)<?lsmb END ?>"
  49. class = "<?lsmb IF item.module ?>Menu<?lsmb
  50. ELSE ?>Item<?lsmb END ?>"
  51. ><?lsmb text(item.label) ?></a>
  52. </div>
  53. <?lsmb END ?>
  54. </body>
  55. </html>