2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-27 19:32:16 +00:00
Files
website/common/code/templates/history.php
2016-05-29 19:50:18 +01:00

31 lines
1.1 KiB
PHP

<?php
$title = "Boost Version History";
foreach ($released_versions as $entry) {
echo("\n");
echo(" <h2 class=\"news-title\">\n");
echo(" <a name=\"i{$entry->id}\" id=\"i{$entry->id}\"></a><a href=\"/".
html_encode($entry->location).
"\">{$entry->title_xml}</a></h2>\n\n");
echo(" <p class=\"news-date\">".$entry->web_date()."</p>\n\n");
echo(" <div class=\"news-description\">\n");
echo(" <span class=\"brief\"><span class=\"purpose\">{$entry->purpose_xml}</span></span>\n");
echo(" </div>\n\n");
echo("<ul class=\"menu\">\n");
echo("<li>");
echo("<a href=\"/".html_encode($entry->location)."\">Release Notes</a>");
echo("</li>\n");
if ($entry->get_download_page()) {
echo("<li>");
echo("<a href=\"".html_encode($entry->get_download_page())."\">Download</a>");
echo("</li>\n");
}
if ($entry->get_documentation()) {
echo("<li>");
echo("<a href=\"".html_encode($entry->get_documentation())."\">Documentation</a>");
echo("</li>\n");
}
echo("</ul>\n");
}