/******************************************************************************* * Copyright (c) 2008-2012 Eclipse Foundation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Nathan Gervais (Eclipse Foundation)- initial API and implementation *******************************************************************************/ global $App; $www_prefix = ""; $pageRSS = ""; $image_protocol = "http"; if(isset($_SERVER['HTTPS'])) { if($_SERVER['HTTPS']) { $image_protocol = "https"; } } if(isset($App)) { $www_prefix = $App->getWWWPrefix(); if(isset($App->PageRSS)) { if($App->PageRSS != "") { $pageRSS = $App->PageRSS; } } } ob_start(); for($i = 0; $i < $Menu->getMenuItemCount(); $i++) { $MenuItem = $Menu->getMenuItemAt($i); ?>