Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 1 | <?php |
| 2 | /******************************************************************************* |
| 3 | * Copyright (c) 2010 Eclipse Foundation and others. |
| 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License v1.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Christopher Guindon (Eclipse Foundation) - Initial implementation |
| 11 | *******************************************************************************/ |
| 12 | |
| 13 | require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); |
| 14 | require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); |
| 15 | require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); |
| 16 | |
Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 17 | $App = new App(); |
Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 18 | $Menu = new Menu(); |
| 19 | include($App->getProjectCommon()); |
| 20 | |
Christopher Guindon | 6e49e00 | 2014-05-30 11:38:15 -0400 | [diff] [blame] | 21 | $pageTitle = "Project Activity News"; |
Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 22 | $pageAuthor = ""; |
| 23 | $pageKeywords = "Eclipse projects activity, project proposal, upcoming review, recent activity"; |
| 24 | |
| 25 | // Place your html content in a file called content/en_pagename.php |
| 26 | ob_start(); |
| 27 | include("content/en_" . $App->getScriptName()); |
| 28 | $html = ob_get_clean(); |
| 29 | |
Christopher Guindon | 4ca7460 | 2014-05-30 10:57:43 -0400 | [diff] [blame] | 30 | // Custom theme variables |
| 31 | $variables = array(); |
Yi Liu | 16efbd7 | 2020-10-29 14:00:21 -0400 | [diff] [blame] | 32 | $variables['main_container_classes'] = 'container-full'; |
Christopher Guindon | 4ca7460 | 2014-05-30 10:57:43 -0400 | [diff] [blame] | 33 | $App->setThemeVariables($variables); |
Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 34 | |
Wayne Beaton | 1e29463 | 2020-06-08 15:50:58 -0400 | [diff] [blame] | 35 | $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/projects/web-parts/projects.css"/>'); |
Christopher Guindon | 0413ed9 | 2014-05-29 14:25:10 -0400 | [diff] [blame] | 36 | # Generate the web page |
| 37 | $App->PageRSS = "/projects/reviews-rss.php"; |
Christopher Guindon | d729e75 | 2018-03-23 16:02:44 -0400 | [diff] [blame] | 38 | $App->generatePage(NULL, $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html); |