| <?php | |
| /* | |
| * File : _projectCommon.php | |
| * Author : Diego Madruga Sandin (dmadruga) | |
| * Date : 2008-03-12 | |
| * Description : This is common page block for all MTJ page. | |
| */ | |
| # 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 = ""; | |
| /* For test purposes */ | |
| $local = true; | |
| # 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 | |
| if($local == true){ | |
| /* Remove the Navbar default links : Committers, Newsgroups, Bugs and Articles*/ | |
| $Nav->setLinkList(array()); | |
| $Nav->addNavSeparator("DSDP-MTJ", "/dsdp/mtj/" ); | |
| $Nav->addCustomNav("About This Project", "/projects/project_summary.php?projectid=dsdp.mtj", "", 1 ); | |
| $Nav->addCustomNav("Status", "/dsdp/mtj/status.php", "", 2 ); | |
| $Nav->addCustomNav("Team", "/dsdp/mtj/participants.php", "", 2 ); | |
| $Nav->addNavSeparator("Users", ""); | |
| $Nav->addCustomNav("Getting Started", "/dsdp/mtj/development/tutorial/gettingstarted.php", "", 2); | |
| $Nav->addCustomNav("User Documentation", "http://help.eclipse.org/galileo/topic/org.eclipse.mtj.doc.user/html/gettingstarted/gettingstarted.html", "", 2); | |
| $Nav->addCustomNav("New & Noteworthy", "/dsdp/mtj/development/releasenotes/MTJ1.0/newsNoteworthy.php", "", 2); | |
| $Nav->addCustomNav("Newsgroups", "/dsdp/mtj/news.php", "", 2); | |
| $Nav->addCustomNav("Bugs", "/dsdp/mtj/development/bugs", "", 2); | |
| $Nav->addNavSeparator("Downloads", ""); | |
| $Nav->addCustomNav("Latest builds", "/dsdp/mtj/download/downloads.php", "", 2); | |
| $Nav->addCustomNav("Update Sites", "/dsdp/mtj/download/update.php", "", 2); | |
| $Nav->addCustomNav("Statistics", "/dsdp/mtj/download/downloadStats.php", "", 2); | |
| $Nav->addNavSeparator("Integrators", ""); | |
| $Nav->addCustomNav("API Plan", "/dsdp/mtj/development/plan.php", "", 2); | |
| $Nav->addNavSeparator("Contributors", ""); | |
| $Nav->addCustomNav("Contributing", "/dsdp/mtj/contributing.php", "", 2); | |
| $Nav->addCustomNav("Mailing Lists", "/dsdp/mtj/mailinglist.php", "", 2); | |
| $Nav->addCustomNav("Development Tools", "/dsdp/mtj/development/", "", 2); | |
| $Nav->addCustomNav("Programmer's Guide", "http://help.eclipse.org/galileo/topic/org.eclipse.mtj.doc.isv/html/guide/guide.html", "", 2); | |
| $Nav->addNavSeparator("Legal", ""); | |
| $Nav->addCustomNav("IP Log", "/dsdp/mtj/ipLog.php", "", 2); | |
| } else { | |
| /* Required eclipse basic classes */ | |
| require_once($_SERVER['DOCUMENT_ROOT'] . "/projects/common/project-info.class.php"); | |
| $projectInfo = new ProjectInfo("dsdp.mtj"); | |
| $projectInfo->generate_common_nav( $Nav ); | |
| } | |
| $Nav->addNavSeparator("Events", "/dsdp/mtj/events.php"); | |
| ?> |