Index: trunk/extensions/ImportFreeImages/ImportFreeImages.php |
— | — | @@ -272,8 +272,10 @@ |
273 | 273 | |
274 | 274 | $q = $wgRequest->getText( 'q' ); |
275 | 275 | |
| 276 | + global $wgScript; |
276 | 277 | $wgOut->addHTML(wfMsg ('importfreeimages_description') . "<br /><br /> |
277 | | - <form method=GET action='" . $importPage->escapeFullURL() . "'>".wfMsg('search'). |
| 278 | + <form method=GET action=\"$wgScript\">".wfMsg('search'). |
| 279 | + Xml::hidden( 'title', $importPage->getPrefixedDbKey() ) . |
278 | 280 | ": <input type=text name=q value='" . htmlspecialchars($q) . "'><input type=submit value=".wfMsg('search')."></form>"); |
279 | 281 | |
280 | 282 | if ($q != '') { |
Property changes on: trunk/extensions/ImportFreeImages/ImportFreeImages.php |
___________________________________________________________________ |
Deleted: svn:executable |
281 | 283 | - * |