blob: 0a96e025df6fcd2bd756f5e11954480cd7e02963 [file] [log] [blame]
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php"); require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav = new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); # All on the same line to unclutter the user's desktop'
#*****************************************************************************
#
# template.php
#
# Author: Mike Milinkovich
# Date: 2008-07-23
#
# Description: Minutes of the March, 2008 Board meeting
#
#
#****************************************************************************
#
# Begin: page-specific settings. Change these.
$pageTitle = "Eclipse Foundation Board Meeting Minutes";
$pageKeywords = "eclipse, foundation, governance, board, minutes";
$pageAuthor = "Mike Milinkovich";
# Add page-specific Nav bars here
# Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank), level (1, 2 or 3)
# $Nav->addNavSeparator("My Page Links", "downloads.php");
# $Nav->addCustomNav("My Link", "mypage.php", "_self", 3);
# $Nav->addCustomNav("Google", "http://www.google.com/", "_blank", 3);
# End: page-specific settings
#
# Paste your HTML content between the EOHTML markers!
$html = <<<EOHTML
<!--<div id="maincontent">-->
<div id="midcolumn">
<h1>$pageTitle</h1>
<h3>December 12, 2012</h3>
<P>Coming soon!</P>
</div>
<!--</div>-->
</script>
EOHTML;
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
function get_candidates_list_as_html(&$candidates, $year, $type) {
$type_name = strcmp($type, 'committer') == 0 ? 'Committer' : 'Add-in provider';
$html = "<h3>$type_name Candidates</h3><table border=\"0\" cellpadding=\"5\">";
foreach ($candidates as $candidate) {
if (strcmp($candidate->type, $type) != 0) continue;
$html .= <<<EOHTML
<tr>
<td valign="top"><a href="candidate.php?year=$year&id=$candidate->id"><img src="$candidate->image" width="75"></a></td>
<td valign="top" style="border-bottom: dashed 1px #494949;">
<strong><a href="candidate.php?year=$year&id=$candidate->id">$candidate->name</a></strong>
<br>$candidate->title
<p>$candidate->contact</p>
</td>
</tr>
EOHTML;
}
$html .= "</table>";
return $html;
}
?>