blob: 02791604afd0c3ff9af8b15fdcf854f2d81b3925 [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'
$pageTitle = "JGit - Download";
$maven_repo = "https://repo.eclipse.org/content/groups/releases/";
$version = "3.2.0.201312181205-r";
$html = '<div id="midcolumn">';
$html .= file_get_contents('_index.html');
$html .= "</div>";
$html = preg_replace('/@VERSION@/', $version, $html);
$html = preg_replace('/@MAVEN_REPO@/', $maven_repo, $html);
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
?>