blob: 0c112cb4ca402d4ff047e3791aeb15550a8a8ce9 [file] [log] [blame]
Christopher Guindon0413ed92014-05-29 14:25:10 -04001<?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 Guindon0413ed92014-05-29 14:25:10 -040017 $App = new App();
Christopher Guindon0413ed92014-05-29 14:25:10 -040018 $Menu = new Menu();
19 include($App->getProjectCommon());
20
Christopher Guindon6e49e002014-05-30 11:38:15 -040021 $pageTitle = "Project Activity News";
Christopher Guindon0413ed92014-05-29 14:25:10 -040022 $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 Guindon4ca74602014-05-30 10:57:43 -040030 // Custom theme variables
31 $variables = array();
Yi Liu16efbd72020-10-29 14:00:21 -040032 $variables['main_container_classes'] = 'container-full';
Christopher Guindon4ca74602014-05-30 10:57:43 -040033 $App->setThemeVariables($variables);
Christopher Guindon0413ed92014-05-29 14:25:10 -040034
Wayne Beaton1e294632020-06-08 15:50:58 -040035 $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/projects/web-parts/projects.css"/>');
Christopher Guindon0413ed92014-05-29 14:25:10 -040036 # Generate the web page
37 $App->PageRSS = "/projects/reviews-rss.php";
Christopher Guindond729e752018-03-23 16:02:44 -040038 $App->generatePage(NULL, $Menu, NULL, $pageAuthor, $pageKeywords, $pageTitle, $html);