SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Carsten K. <car...@us...> - 2002年10月12日 08:55:07
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6051
Modified Files:
	Theme.php 
Log Message:
Fix for "==Object(wikipagename)==" displaying instead of page name for unknown links.
Index: Theme.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Theme.php,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -2 -b -p -d -r1.57 -r1.58
--- Theme.php	18 Sep 2002 19:29:43 -0000	1.57
+++ Theme.php	12 Oct 2002 08:55:03 -0000	1.58
@@ -52,5 +52,5 @@ function WikiLink ($page_or_rev, $type =
 $wikipage = $pagename;
 }
- elseif (isa($page_or_rev, 'WikiPagename')) {
+ elseif (isa($page_or_rev, 'WikiPageName')) {
 $wikipage = $page_or_rev;
 $pagename = $wikipage->fullPagename;
@@ -106,5 +106,5 @@ function WikiLink ($page_or_rev, $type =
 }
 else {
- return $Theme->linkUnknownWikiWord($wikipage, $label);
+ return $Theme->linkUnknownWikiWord($pagename, $label);
 }
 }
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /