| <?php | |
| # Set the theme for your project's web pages. | |
| # See the Committer Tools "How Do I" for list of themes | |
| # https://dev.eclipse.org/committers/ | |
| # Optional: defaults to system theme | |
| $_theme = "Solstice"; | |
| $theme = "Solstice"; | |
| if(isset($_POST['theme'])) { | |
| $_theme = $_POST['theme']; | |
| } | |
| if($_theme != "" && $App->isValidTheme($_theme)) { | |
| setcookie("theme", $_theme); | |
| $theme = $_theme; | |
| } | |
| else { | |
| # Get theme from browser, or none default | |
| $theme = $App->getUserPreferedTheme(); | |
| } | |
| # Define your project-wide Nav bars here. | |
| # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3) | |
| # these are optional | |
| $Nav->addCustomNav("About PDE", "/projects/project_summary.php?projectid=eclipse.pde", "", 1); | |
| $Nav->addNavSeparator("Projects", "index.php"); | |
| $Nav->addCustomNav("Platform", "http://www.eclipse.org/platform/", "_self", 1); | |
| $Nav->addCustomNav("JDT", "http://www.eclipse.org/jdt/", "_self", 1); | |
| $Nav->addCustomNav("PDE", "http://www.eclipse.org/pde/", "_self", 1); | |
| $Nav->addCustomNav("e4", "http://www.eclipse.org/e4/", "_self", 1); | |
| $Nav->addCustomNav("Incubator", "http://www.eclipse.org/eclipse/incubator/", "_self", 1); | |
| $Nav->addNavSeparator("Development", "http://www.eclipse.org/eclipse/development/", "_self", 1); | |
| $Nav->addCustomNav("Mailing Lists", "http://www.eclipse.org/mail/", "_self", 1); | |
| ?> |