2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Avoid a warning when generating index pages.

My local php has warnings set much higher than the server.


[SVN r66110]
This commit is contained in:
Daniel James
2010-10-19 23:34:57 +00:00
parent 5e8190f47e
commit e57bc59079
5 changed files with 7 additions and 8 deletions

View File

@@ -52,8 +52,9 @@ $_downloads = new boost_feed(dirname(__FILE__) . '/../feed/downloads.rss', '/use
<li>
<?php print '<a href="'.htmlentities($_item['link']).'">Release Notes</a>'; ?></li>
<li>
<?php if(!empty($_item['boostbook:download'])) : ?><li>
<?php print '<a href="'.htmlentities($_item['boostbook:download']).'">Download</a>'; ?></li>
<?php endif ?>
</ul><?php } ?>
<h2><a name="history" id="history"></a>Old Boost Releases</h2>

View File

@@ -45,7 +45,7 @@ $_history->sort_by('pubdate');
<li>
<?php print '<a href="'.htmlentities($_item['link']).'">Details</a>'; ?></li>
<?php if(isset($_item['boostbook:download'])) : ?>
<?php if(!empty($_item['boostbook:download'])) : ?>
<li><?php print '<a href="'.htmlentities($_item['boostbook:download']).'">Download</a>'; ?></li>
<?php endif; ?>
</ul><?php } ?>

View File

@@ -50,7 +50,7 @@ $_news->sort_by('pubdate');
<li>
<?php print '<a href="'.htmlentities($_item['link']).'">Details</a>'; ?></li>
<?php if($_item['boostbook:download']) : ?>
<?php if(!empty($_item['boostbook:download'])) : ?>
<li><?php print '<a href="'.htmlentities($_item['boostbook:download']).'">Download</a>'; ?></li>
<?php endif; ?>
</ul><?php } ?>

View File

@@ -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=

View File

@@ -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><a href="/users/news/version_1_44_0">Version 1.44.0</a></h2>