Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22071/plugin
Modified Files:
PopularNearby.php
Log Message:
re-ordered locale init (as in 1.3.9)
fixed loadfile with subpages, and merge/restore anyway
(sf.net bug #844188)
Index: PopularNearby.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/PopularNearby.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -2 -b -p -d -r1.1 -r1.2
--- PopularNearby.php 29 Apr 2004 18:32:38 -0000 1.1
+++ PopularNearby.php 29 Apr 2004 23:25:12 -0000 1.2
@@ -29,7 +29,7 @@ rcs_id('$Id$');
/* Usage:
-* <?plugin PopularNearby mode=incoming ?>
-* <?plugin PopularNearby mode=outgoing ?>
-* <?plugin PopularNearby mode=nearby ?>
+* <small><?plugin PopularNearby mode=incoming ?></small>
+* <small><?plugin PopularNearby mode=outgoing ?></small>
+* <small><?plugin PopularNearby mode=nearby ?></small>
*/
@@ -58,5 +58,5 @@ extends WikiPlugin
'mode' => 'nearby', // or 'incoming' or 'outgoing'
'exclude' => '',
- 'limit' => 5, // limit <0 returns least popular pages
+ 'limit' => 5,
'noheader' => 0,
);
@@ -89,5 +89,4 @@ extends WikiPlugin
break;
}
- // if (count($links) > $limit) array_splice($links, $limit);
$html = HTML($header);
for ($i=0; $i<count($links); $i++) {
@@ -155,4 +154,9 @@ extends WikiPlugin
// $Log$
+// Revision 1.2 2004/04/29 23:25:12 rurban
+// re-ordered locale init (as in 1.3.9)
+// fixed loadfile with subpages, and merge/restore anyway
+// (sf.net bug #844188)
+//
// Revision 1.1 2004/04/29 18:32:38 rurban
// Re-implement the classic phpwiki-1.2 feature of the
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|