From 5708fa826f814ae3734396766f38a77a143a2565 Mon Sep 17 00:00:00 2001 From: Brian Patino Date: Mon, 7 Mar 2016 09:31:36 -0500 Subject: [PATCH] Update Menu * rearrange 'Where do I begin?' menu group --- global_header_no_sidebar.php | 48 +++++++----------------------------- 1 file changed, 9 insertions(+), 39 deletions(-) diff --git a/global_header_no_sidebar.php b/global_header_no_sidebar.php index d1bd5b8..ff6ecd3 100644 --- a/global_header_no_sidebar.php +++ b/global_header_no_sidebar.php @@ -30,44 +30,6 @@ $ucPrintCSSPath = $Path . 'lib/css/uc-print.css'; // not sure why this is left o $datePickerCSSPath = $Path . 'lib/bootstrap-datepicker-1.5.1-dist/css/bootstrap-datepicker.min.css'; $mainCS = array($bsCSSPath, $styleCSSPath, $commonCSSPath, $datePickerCSSPath); $resultCS = isset($CS) ? array_merge($mainCS, $CS) : $mainCS; - -/* Menu Items - * This is the list of the top bar menu items available as Key => value pairs. - * key: url and page id - * value: menu name - * */ -$firstGroupMenu = - array('prospective' => 'Prospective Students', 'graduate' => 'Graduate Students', 'abroad' => 'Education Abroad', - 'bgs' => 'BGS Students', 'cein' => 'Certificate Entry into Nursing (CEIN/BS) Students', 'tcpcg' => 'TCPCG Students', - 'certificate-programs' => 'Certificate Program Students' - ); -// TODO: Optimize other menu items array -$secondGroupMenu = - array('aid-type' => 'Introduction', 'grants' => 'Grants', - array('loans' => 'Loans', - array('altloans' => 'Alternative Student Loans', 'ugrdalt' => 'Alternative Loans - Undergraduate Students', - 'gradalt' => 'Alternative Loans - Graduate Students' - ), - 'stafford' => 'Federal Stafford', 'perkins' => 'Perkins', 'plus#parents' => 'Parent Plus', - 'plus#graduates' => 'Graduate Plus' - ) - ); -function createDropdown(&$group) { // pass by reference - list($key, $value) = each($group); - if (!is_array($value) && $value != false) { - echo "
  • {$value}
  • "; - createDropdown($group); - } /*else if (is_array($value)) { - list($key, $value) = each($value); - echo - ""; // remember to close
  • - }*/ -} ?> @@ -239,7 +201,15 @@ function createDropdown(&$group) { // pass by reference