|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50873 - website/public_html/beta/doc
From: daniel_james_at_[hidden]
Date: 2009-01-29 11:02:33
Author: danieljames
Date: 2009-01-29 11:02:33 EST (Thu, 29 Jan 2009)
New Revision: 50873
URL: http://svn.boost.org/trac/boost/changeset/50873
Log:
Include the category in the page title.
Text files modified:
website/public_html/beta/doc/libraries.php | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
Modified: website/public_html/beta/doc/libraries.php
==============================================================================
--- website/public_html/beta/doc/libraries.php (original)
+++ website/public_html/beta/doc/libraries.php 2009-01-29 11:02:33 EST (Thu, 29 Jan 2009)
@@ -65,6 +65,13 @@
echo 'Invalid sort field.'; exit(0);
}
+// Page title
+
+$page_title = boost_title().' Library Documentation';
+if($category_value) $page_title.= ' - '. $libs->categories[$category_value]['title'];
+
+// Functions
+
function library_filter($lib) {
global $filter_value, $category_value;
@@ -177,7 +184,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
- <title><?php echo boost_title(); ?> Library Documention</title>
+ <title><?php echo htmlentities($page_title); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="/favicon.ico" type="image/ico" />
<link rel="stylesheet" type="text/css" href="/style/section-doc.css" />
@@ -195,7 +202,7 @@
<div class="section" id="intro">
<div class="section-0">
<div class="section-title">
- <h1><?php echo boost_title(); ?> Library Documentation</h1>
+ <h1><?php echo htmlentities($page_title); ?></h1>
</div>
<div class="section-body">
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