| <?php |
| /******************************************************************************* |
| * Copyright (c) 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: |
| * Denis Roy (Eclipse Foundation)- initial API and implementation |
| *******************************************************************************/ |
| |
| $returnstring = ""; |
| $continuestring = "<br /><p style='margin-bottom: 2px;'>Jump To:</p><ul>"; |
| $continuestring .= "<li><a href='http://www.eclipse.org/forums/'>Eclipse Forums</a></li>"; |
| $continuestring .= "<li><a href='https://bugs.eclipse.org/bugs/'>Bugzilla</a></li>"; |
| $continuestring .= "<li><a href='http://wiki.eclipse.org/'>Wiki</a></li>"; |
| $continuestring .= "<li><a href='http://marketplace.eclipse.org/'>Eclipse Marketplace</a></li>"; |
| $continuestring .= "</ul>"; |
| |
| |
| if(preg_match("/^(http|https):\/\/dev\.eclipse\.org\/site_login/", $takemeback )) { |
| $takemeback = ""; |
| } |
| |
| if($takemeback != "") { |
| if(!preg_match("/^(http|https):\/\/dev\.eclipse\.org\/site_login/", $takemeback )){ |
| $returnstring = "<p><a href=\"" . $takemeback . "\">Return to previous page.</a></p>"; |
| # Don't do this anymore -- there are other options on the page now. |
| # $App->AddExtraHtmlHeader('<meta http-equiv="refresh" content="5;url=' . $takemeback. '" />'); |
| $continuestring = '<br /><a href="' . $takemeback . '"><img src="images/continue.png" /></a>'; |
| } |
| } |
| |
| # Clear the Jump To... / Continue if you're accessing your account |
| if(preg_match("/.*myaccount.php/", $_SERVER['PHP_SELF'])) { |
| $continuestring = ""; |
| } |
| |
| |
| ob_start(); |
| ?> |
| <div id="maincontent"> |
| <div id="midcolumn" style="width: 678px;"> |
| <h1><?=$pageTitle ?></h1> |
| <?= $continuestring ?> |
| <br /> |
| <?php include "en_accountsettings.php" ?> |
| <?php |
| if($Friend->getIsCommitter()) { |
| include "en_committer.php"; |
| } |
| ?> |
| <?php include "en_friends_info.php" ?> |
| </div> |
| </div> |
| <?php |
| $html = ob_get_contents(); |
| ob_end_clean(); |
| ?> |