You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2017/03/01 19:00:42 UTC

svn commit: r1785019 - /vcl/trunk/web/themes/dropdownmenus/page.php

Author: jfthomps
Date: Wed Mar  1 19:00:42 2017
New Revision: 1785019

URL: http://svn.apache.org/viewvc?rev=1785019&view=rev
Log:
VCL-981 - create a new theme that is more responsive for mobile devices

added check for $menu[$item] being set in section that generates drop down for Reporting because not all users see the dashboard and user lookup links

Modified:
    vcl/trunk/web/themes/dropdownmenus/page.php

Modified: vcl/trunk/web/themes/dropdownmenus/page.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/themes/dropdownmenus/page.php?rev=1785019&r1=1785018&r2=1785019&view=diff
==============================================================================
--- vcl/trunk/web/themes/dropdownmenus/page.php (original)
+++ vcl/trunk/web/themes/dropdownmenus/page.php Wed Mar  1 19:00:42 2017
@@ -130,6 +130,8 @@ function getHeader($refresh) {
 		$rt .= "                <ul class=\"dropdown-menu\">\n";
 		$items = array('dashboard', 'statistics', 'userLookup');
 		foreach($items as $item) {
+			if(! isset($menu[$item]))
+				continue;
 			$selected = '';
 			if($menu[$item]['selected'])
 				$selected = ' class="active"';