|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50776 - website/public_html/beta/users/history
From: daniel_james_at_[hidden]
Date: 2009-01-25 15:25:21
Author: danieljames
Date: 2009-01-25 15:25:21 EST (Sun, 25 Jan 2009)
New Revision: 50776
URL: http://svn.boost.org/trac/boost/changeset/50776
Log:
Implement a minimal version of the release history entry pages that
could be used to generate the README.txt file needed by cmake.
Added:
website/public_html/beta/users/history/minimal.php (contents, props changed)
Added: website/public_html/beta/users/history/minimal.php
==============================================================================
--- (empty file)
+++ website/public_html/beta/users/history/minimal.php 2009-01-25 15:25:21 EST (Sun, 25 Jan 2009)
@@ -0,0 +1,28 @@
+<?php
+require_once(dirname(__FILE__) . '/../../common/code/boost_feed.php');
+$_history = new boost_feed(dirname(__FILE__) . '/../../feed/history.rss', '/users/history');
+$_guid = basename($_SERVER["PATH_INFO"]);
+if(!isset($_history->db[$_guid])) {
+ require_once(dirname(__FILE__) . '/../../common/code/boost_error_page.php');
+ error_page_404();
+ exit(0);
+}
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+<head>
+ <title><?php print $_history->db[$_guid]['title']; ?></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="icon" href="/favicon.ico" type="image/ico" />
+</head>
+
+<body>
+ <h2><?php print $_history->db[$_guid]['title']; ?></h2>
+
+ <p><span class="news-date"><?php print $_history->db[$_guid]['date']; ?></span></p>
+
+ <?php print $_history->db[$_guid]['description']; ?>
+</body>
+</html>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk