Update of /cvsroot/phpwiki/phpwiki/lib/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv7892/phpwiki/lib/plugin
Modified Files:
RecentChanges.php
Log Message:
extract(args) Hack to change heading between RecentChanges and RecentEdits to match the Page's title rather than simply RecentChanges. (It was not so bad in english but in other languages it could be confusing to have a conflicting PageTitle and Page Heading with RecentChanges and RecentEdits.)
Index: RecentChanges.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RecentChanges.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** RecentChanges.php 2001/12/17 16:13:00 1.13
--- RecentChanges.php 2001/12/18 06:36:05 1.14
***************
*** 156,160 ****
function title () {
! return htmlspecialchars(_("RecentChanges")) . "\n" . $this->rss_icon();
}
--- 156,161 ----
function title () {
! extract($this->_args);
! return htmlspecialchars( $show_minor ? _("RecentEdits") : _("RecentChanges") ) . "\n" . $this->rss_icon();
}
|