SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年10月29日 18:24:28
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv22762/lib
Modified Files:
	pageinfo.php 
Log Message:
Fix SF Bug #473499: Diff from page history always diffs HomePage when
USE_PATH_INFO is false. (Patch from Steven Murdoch.)
Index: pageinfo.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/pageinfo.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** pageinfo.php	2001年09月18日 19:16:23	1.11
--- pageinfo.php	2001年10月29日 18:24:26	1.12
***************
*** 68,76 ****
 
 $table = ("\n"
! . Element('table', join("\n", $rows)) . "\n"
! . Element('input', array('type' => 'hidden',
! 'name' => 'action',
! 'value' => 'diff')) . "\n"
! . Element('input', array('type' => 'submit', 'value' => 'Run Diff')) . "\n");
 
 $formargs['action'] = USE_PATH_INFO ? WikiURL($pagename) : SCRIPT_NAME;
--- 68,79 ----
 
 $table = ("\n"
! . Element('table', join("\n", $rows)) . "\n"
! . Element('input', array('type' => 'hidden',
! 'name' => 'action',
! 'value' => 'diff')) . "\n"
! . Element('input', array('type' => 'hidden',
! 'name' => 'pagename',
! 'value' => $pagename)) . "\n"
! . Element('input', array('type' => 'submit', 'value' => 'Run Diff')) . "\n");
 
 $formargs['action'] = USE_PATH_INFO ? WikiURL($pagename) : SCRIPT_NAME;
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 によって変換されたページ (->オリジナル) /