Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv16345
Modified Files:
RecentChanges.php
Log Message:
New: configurable "..." separators for RecentChanges and RecentEdits lists. (Inspired by Usemod's RC).
Index: RecentChanges.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RecentChanges.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** RecentChanges.php 2002/01/05 11:46:03 1.17
--- RecentChanges.php 2002/01/05 18:33:51 1.18
***************
*** 188,191 ****
--- 188,194 ----
function format_revision ($rev) {
+ if (!defined('RC_SEPARATOR_A')) define('RC_SEPARATOR_A', '');
+ if (!defined('RC_SEPARATOR_B')) define('RC_SEPARATOR_B', '...');
+
if ( ($summary = $this->summary($rev)) ) {
$summary = do_transform($summary, 'LinkTransform');
***************
*** 199,204 ****
$this->pageLink($rev),
$this->time($rev),
$summary,
! '...',
$this->authorLink($rev) )));
}
--- 202,208 ----
$this->pageLink($rev),
$this->time($rev),
+ RC_SEPARATOR_A,
$summary,
! RC_SEPARATOR_B,
$this->authorLink($rev) )));
}
|