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:
@@ -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>
|
||||
|
||||
@@ -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 } ?>
|
||||
|
||||
@@ -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 } ?>
|
||||
|
||||
@@ -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=
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user