com web/windows: Show only latest 10 news entries: docroot/index.php
| From: | Christoph Michael Becker | Date: | Mon, 05 Aug 2019 12:05:16 +0000 |
| Subject: | com web/windows: Show only latest 10 news entries: docroot/index.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-28278@lists.php.net to get a copy of this message | ||
Commit: 00119839ecfd95a024ebd3f713ac0ef7f22dcd15
Author: Christoph M. Becker <cmbecker69@gmx.de> Sat, 6 Jul 2019 17:12:31 +0200
Parents: ed39623e94a5768b283c39ef5e95cd9affa2af98
Branches: master
Link: http://git.php.net/?p=web/windows.git;a=commitdiff;h=00119839ecfd95a024ebd3f713ac0ef7f22dcd15
Log:
Show only latest 10 news entries
Changed paths:
M docroot/index.php
Diff:
diff --git a/docroot/index.php b/docroot/index.php
index 4a8133b..5e532f9 100644
--- a/docroot/index.php
+++ b/docroot/index.php
@@ -40,7 +40,7 @@ include TPL_PATH . 'news_line.php';
<div class="content">
<div class="block">
<!-- .block -->
- <?php show_latest_news(); ?>
+ <?php show_latest_news(10); ?>
</div><!-- .block -->
<p class="t-center"><!--
<a href="https://windows.php.net/archive/index.php"><strong>News
Archive</strong></a>