diff options
Diffstat (limited to 'menu_lookup_inc.php')
| -rw-r--r-- | menu_lookup_inc.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/menu_lookup_inc.php b/menu_lookup_inc.php new file mode 100644 index 0000000..b9b76f1 --- /dev/null +++ b/menu_lookup_inc.php @@ -0,0 +1,14 @@ +<?php +global $gNexus; + +if ( !empty( $_REQUEST['menu_id'] ) && is_numeric( $_REQUEST['menu_id'] ) ) { + $menuId = $_REQUEST['menu_id']; + $gNexus = new Nexus( $menuId ); +} else { + $gNexus = new Nexus(); + $menuId = NULL; +} + +$smarty->assign_by_ref( 'gNexus', $gNexus ); +$smarty->assign_by_ref( 'menuId', $menuId ); +?> |
