From: <var...@us...> - 2008-10-24 14:25:38
|
Revision: 6335 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6335&view=rev Author: vargenau Date: 2008-10-24 14:25:18 +0000 (Fri, 24 Oct 2008) Log Message: ----------- Do not display a link for a deleted page, just the page name Modified Paths: -------------- trunk/lib/plugin/RecentChanges.php Modified: trunk/lib/plugin/RecentChanges.php =================================================================== --- trunk/lib/plugin/RecentChanges.php 2008-10-24 13:50:21 UTC (rev 6334) +++ trunk/lib/plugin/RecentChanges.php 2008-10-24 14:25:18 UTC (rev 6335) @@ -459,16 +459,23 @@ if ($args['historylinks']) $line->pushContent($this->historyLink($rev), ' '); + // Do not display a link for a deleted page, just the page name + if ($rev->hasDefaultContents()) { + $linkorname = $rev->_pagename; + } else { + $linkorname = $this->pageLink($rev); + } + if (isa($WikiTheme, 'WikiTheme_MonoBook')) { $line->pushContent( $args['historylinks'] ? '' : $this->historyLink($rev), - ' . . ', $this->pageLink($rev), '; ', + ' . . ', $linkorname, '; ', $time, ' . . ', $this->authorLink($rev),' ', $this->authorContribs($rev),' ', $this->summaryAsHTML($rev)); } else { - $line->pushContent($this->pageLink($rev), ' ', + $line->pushContent($linkorname, ' ', $time, ' ', $this->summaryAsHTML($rev), ' ... ', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |