|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66110 - in website/public_html/beta: build users/download users/news
From: dnljms_at_[hidden]
Date: 2010-10-19 19:35:12
Author: danieljames
Date: 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
New Revision: 66110
URL: http://svn.boost.org/trac/boost/changeset/66110
Log:
Avoid a warning when generating index pages.
My local php has warnings set much higher than the server.
Text files modified:
website/public_html/beta/build/download-index.php | 3 ++-
website/public_html/beta/build/history-index.php | 2 +-
website/public_html/beta/build/news-index.php | 2 +-
website/public_html/beta/users/download/index.html | 4 ++--
website/public_html/beta/users/news/index.html | 4 +---
5 files changed, 7 insertions(+), 8 deletions(-)
Modified: website/public_html/beta/build/download-index.php
==============================================================================
--- website/public_html/beta/build/download-index.php (original)
+++ website/public_html/beta/build/download-index.php 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
@@ -52,8 +52,9 @@
<li>
<?php print 'Release Notes'; ?></li>
- <li>
+ <?php if(!empty($_item['boostbook:download'])) : ?><li>
<?php print 'Download'; ?></li>
+ <?php endif ?>
</ul><?php } ?>
<h2><a name="history" id="history"></a>Old Boost Releases</h2>
Modified: website/public_html/beta/build/history-index.php
==============================================================================
--- website/public_html/beta/build/history-index.php (original)
+++ website/public_html/beta/build/history-index.php 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
@@ -45,7 +45,7 @@
<li>
<?php print 'Details'; ?></li>
- <?php if(isset($_item['boostbook:download'])) : ?>
+ <?php if(!empty($_item['boostbook:download'])) : ?>
<li><?php print 'Download'; ?></li>
<?php endif; ?>
</ul><?php } ?>
Modified: website/public_html/beta/build/news-index.php
==============================================================================
--- website/public_html/beta/build/news-index.php (original)
+++ website/public_html/beta/build/news-index.php 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
@@ -50,7 +50,7 @@
<li>
<?php print 'Details'; ?></li>
- <?php if($_item['boostbook:download']) : ?>
+ <?php if(!empty($_item['boostbook:download'])) : ?>
<li><?php print 'Download'; ?></li>
<?php endif; ?>
</ul><?php } ?>
Modified: website/public_html/beta/users/download/index.html
==============================================================================
--- website/public_html/beta/users/download/index.html (original)
+++ website/public_html/beta/users/download/index.html 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
@@ -53,7 +53,7 @@
<li>
<a href="http://sourceforge.net/projects/boost/files/boost/1.44.0/">Download</a></li>
- </ul>
+ </ul>
<h3><span class=
"news-title">Boost Jam 3.1.18</span></h3>
@@ -74,7 +74,7 @@
<li>
<a href="http://sourceforge.net/projects/boost/files/boost-jam/3.1.18/">Download</a></li>
- </ul>
+ </ul>
<h2><a name="history" id="history"></a>Old Boost Releases</h2>
<p>Old versions of boost can be found on the <a href=
Modified: website/public_html/beta/users/news/index.html
==============================================================================
--- website/public_html/beta/users/news/index.html (original)
+++ website/public_html/beta/users/news/index.html 2010-10-19 19:34:57 EDT (Tue, 19 Oct 2010)
@@ -50,9 +50,7 @@
<li>
<a href="/users/news/version_1_45_0">Details</a></li>
-
-Notice: Undefined index: boostbook:download in /Users/daniel/stuff/boost/website/beta/build/news-index.php on line 53
- </ul>
+ </ul>
<h2 class="news-title">
<a name="iversion_1_44_0" id="iversion_1_44_0"></a>Version 1.44.0</h2>
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