blob: 36befa5b4a88291c02d36dd75089a614930ca541 (
plain)
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title><?lsmb text('LedgerSMB Accounting Menu')?>
- -- <?lsmb VERSION ?></title>
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Expires" content="-1" />
- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
- <link rel="stylesheet" title="Stylesheet" href="css/<?lsmb stylesheet ?>" />
- <link rel="stylesheet" title="Stylesheet" href="UI/menu/expanding.css" />
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <meta name="robots" content="noindex,nofollow" />
-
- <script type="text/javascript">
- function SwitchMenu(id) {
- var obj = "menu_" + id;
- if (document.getElementById) {
- var element = document.getElementById(obj);
-
- element = document.getElementById(obj);
- if (element.className == 'menu_open'){
- element.className
- = 'menu_closed';
- } else {
- element.className = 'menu_open';
- }
- return false;
- }
- }
- document.onselectstart = new Function("return false");
- </script>
- </head>
- <body class="menu">
- <img class="cornderlogo" src="images/ledgersmb_small.png" width="100" height="50" border="1" alt="LedgerSMB" />
- <ul id="top_menu" class="menu_open">
- <?lsmb old_level = 0 ?>
- <?lsmb FOREACH item = menu_items ?>
- <?lsmb href = "" ?>
- <!-- <?lsmb item.level ?> :: <?lsmb old_level ?> -->
- <?lsmb WHILE item.level < old_level ?>
- </li></ul><?lsmb old_level = old_level - 1 ?>
- <?lsmb END ?>
- <?lsmb IF old_level > 0 && item.level <= old_level ?></li><?lsmb END ?>
- <?lsmb old_level = item.level ?>
- <li id="menu_<?lsmb item.id ?>"
- class = "<?lsmb IF (item.menu && item.open)
- ?>menu_open<?lsmb ELSIF item.menu
- ?>menu_closed<?lsmb
- ELSE ?>menu_item<?lsmb END ?>">
- <a href="<?lsmb IF item.module ?><?lsmb item.module
- ?><?lsmb ELSE ?>menu.pl<?lsmb END
- ?>?login=<?lsmb login
- ?>&<?lsmb FOREACH arg IN item.args
- ?><?lsmb arg
- ?>&<?lsmb END
- ?><?lsmb IF item.menu
- ?>id=<?lsmb item.id
- ?>&open=<?lsmb open
- ?><?lsmb END ?>"
- <?lsmb IF (item.module != 'menu.pl') &&
- ('login.pl' != item.module) ?>
- target = "main_window"
- <?lsmb ELSIF ('New Window' == item.label) ?>
- target = 'new'
- <?lsmb ELSIF ('login.pl' == item.module) ?>
- target = '_top'
- <?lsmb END ?>
- <?lsmb IF item.menu &&
- ('New Menu' != item.label) ?>
- onclick="return SwitchMenu('<?lsmb item.id ?>')"
- <?lsmb END ?>
- id = "a_<?lsmb item.id ?>"
- ><?lsmb text(item.label) ?></a>
- <?lsmb IF item.menu && (item.label != 'New Window') ?>
- <ul id="sub_<?lsmb item.id ?>" class="submenu">
- <?lsmb END ?>
- <?lsmb END ?>
- <?lsmb WHILE 0 < old_level ?>
- </li></ul><?lsmb old_level = old_level - 1 ?>
- <?lsmb END ?>
-
-
- </body>
- </html>
|