r206 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r205‎ | r206 | r207 >
Date:06:03, 26 February 2002
Author:axelboldt
Status:old
Tags:
Comment:
Restoring the textarea for displaying edit conflicts.
Modified paths:
  • /trunk/phpwiki/fpw/basicFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/fpw/basicFunctions.php
@@ -175,13 +175,14 @@
176176 $ret .= "<input type=hidden value=yes name=FromEditForm>\n" ;
177177 $ret .= " <a href=\"".wikiLink($vpage->url)."\">$wikiDontSaveChanges</a>\n" ;
178178 $ret .= " | <a href=\"".wikiLink("wikipedia:How_does_one_edit_a_page")."\">$wikiEditHelp</a>\n" ;
179 - $ret .= " </form>\n" ;
180179
181180 if ( $editConflict ) {
182181 $ret .= "<br><hr><br><b>This is the text you submitted :</b><br>\n" ;
183182 $ret .= "<textarea name=NotIMPORTANT rows=".$user->options["rows"]." cols=".$user->options["cols"]." STYLE=\"width:100%\" WRAP=virtual>$oldSubmittedText</textarea><br>\n" ;
184183 }
185184
 185+ $ret .= " </form>\n" ;
 186+
186187 return $ret.$append ;
187188 }
188189

Status & tagging log