[geeklog-cvs] geeklog: Fixed description of $index parameter (bug #0001203)

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Oct 30 11:31:37 EDT 2010


changeset 7995:503ac0163341
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/503ac0163341
user: Dirk Haun <dirk at haun-online.de>
date: Sat Oct 30 16:39:47 2010 +0200
description:
Fixed description of $index parameter (bug #0001203)

diffstat:

 system/lib-story.php |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r bb1a6f0be5bb -r 503ac0163341 system/lib-story.php
--- a/system/lib-story.php	Sat Oct 30 16:33:10 2010 +0200
+++ b/system/lib-story.php	Sat Oct 30 16:39:47 2010 +0200
@@ -2,7 +2,7 @@
 
 /* Reminder: always indent with 4 spaces (no tabs). */
 // +---------------------------------------------------------------------------+
-// | Geeklog 1.6                                                               |
+// | Geeklog 1.7                                                               |
 // +---------------------------------------------------------------------------+
 // | lib-story.php                                                             |
 // |                                                                           |
@@ -60,7 +60,7 @@
  * submit.php and admin/story.php (Preview mode for the last two).
  *
  * @param   object  $story      The story to display, an instance of the Story class.
- * @param   string  $index      n = 'Compact display' for list of stories. p = 'Preview' mode. Else full display of article.
+ * @param   string  $index      n = Full display of article. p = 'Preview' mode. Else introtext only.
  * @param   string  $storytpl   The template to use to render the story.
  * @param   string  $query      A search query, if one was specified.
  *
@@ -213,7 +213,7 @@
 
     $show_comments = true;
 
-    // n = 'Compact display' for list of stories. p = 'Preview' mode.
+    // n = Full display of article. p = 'Preview' mode.
 
     if ((($index != 'n') && ($index != 'p')) || !empty($query)) {
         $attributes = ' class="non-ul"';



More information about the geeklog-cvs mailing list