-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathewmenu.php
More file actions
31 lines (26 loc) · 775 Bytes
/
ewmenu.php
File metadata and controls
31 lines (26 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
// Menu
define("EW_MENUBAR_CLASSNAME", "ewMenuBarVertical", TRUE);
define("EW_MENUBAR_SUBMENU_CLASSNAME", "", TRUE);
?>
<?php
// MenuItem Adding event
function MenuItem_Adding(&$Item) {
//var_dump($Item);
// Return FALSE if menu item not allowed
return TRUE;
}
?>
<!-- Begin Main Menu -->
<div class="phpmaker">
<?php
// Generate all menu items
$RootMenu = new cMenu("RootMenu");
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(2, $Language->MenuPhrase("2", "MenuText"), "contadoreslist.php", -1, "", TRUE);
$RootMenu->AddMenuItem(3, $Language->MenuPhrase("3", "MenuText"), "irciolist.php", -1, "", TRUE);
$RootMenu->AddMenuItem(1, $Language->MenuPhrase("1", "MenuText"), "calculolist.php", -1, "", TRUE);
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->