cvs: phpweb /include shared-manual.inc

From: Date: Wed, 01 Aug 2007 17:26:22 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-36083@lists.php.net to get a copy of this message
bjori Wed Aug 1 17:26:22 2007 UTC Modified files: /phpweb/include shared-manual.inc Log: Add previous/next navigation links above user notes (closes FR#42169) http://cvs.php.net/viewvc.cgi/phpweb/include/shared-manual.inc?r1=1.233&r2=1.234&diff_format=u Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.233 phpweb/include/shared-manual.inc:1.234 --- phpweb/include/shared-manual.inc:1.233 Mon Jun 25 15:07:40 2007 +++ phpweb/include/shared-manual.inc Wed Aug 1 17:26:22 2007 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: shared-manual.inc,v 1.233 2007/06/25 15:07:40 bjori Exp $ +// $Id: shared-manual.inc,v 1.234 2007/08/01 17:26:22 bjori Exp $ /* @@ -210,6 +210,12 @@ // Load user note for this page $notes = manual_notes_load($filename); + // If there are few comments, provide the quick 'prevous'/'next' navigation + // above the comments + if(count($notes) > 2) { + manual_navbar("bottom"); + } + // Link target to add a note to the current manual page, // and it's extended form with a [+] image $addnotelink = '/manual/add-note.php?sect=' . $filename .

« previous php.mirrors (#36083) next »