Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -44,16 +44,16 @@ |
45 | 45 | $spectitle = Title::makeTitle( NS_SPECIAL, 'Ask' ); |
46 | 46 | $docutitle = Title::newFromText(wfMsg('smw_ask_doculink'), NS_HELP); |
47 | 47 | $html = wfMsg('smw_ask_docu', $docutitle->getFullURL()) . "\n" . |
48 | | - '<form name="ask" action="' . $spectitle->escapeLocalURL() . '" method="GET">' . "\n"; |
| 48 | + '<form name="ask" action="' . $spectitle->escapeLocalURL() . '" method="get">' . "\n"; |
49 | 49 | $html .= '<textarea name="query" cols="40" rows="6">' . htmlspecialchars($query) . '</textarea><br />' . "\n"; |
50 | 50 | |
51 | 51 | if ($smwgIQSortingEnabled) { |
52 | 52 | $html .= wfMsg('smw_ask_sortby') . ' <input type="text" name="sort" value="' . |
53 | 53 | htmlspecialchars($sort) . '"/> <select name="order"><option '; |
54 | 54 | // TODO: don't show sort widgets if sorting is not enabled |
55 | | - if ($order == 'ASC') $html .= 'selected '; |
| 55 | + if ($order == 'ASC') $html .= 'selected="selected" '; |
56 | 56 | $html .= 'value="ASC">' . wfMsg('smw_ask_ascorder') . '</option><option '; |
57 | | - if ($order == 'DESC') $html .= 'selected '; |
| 57 | + if ($order == 'DESC') $html .= 'selected="selected" '; |
58 | 58 | $html .= 'value="DESC">' . wfMsg('smw_ask_descorder') . '</option></select> <br />'; |
59 | 59 | } |
60 | 60 | $html .= '<br /><input type="submit" value="' . wfMsg('smw_ask_submit') . "\"/>\n</form>"; |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchTriple.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | |
67 | 67 | $title = Title::makeTitle( NS_SPECIAL, 'SearchTriple' ); |
68 | 68 | |
69 | | - $form .= '<form name="tripleSearch" action="' . $title->escapeLocalURL() . '" method="GET"><input type="hidden" name="title" value="' . $title->getPrefixedText() . '"/>'; |
| 69 | + $form .= '<form name="tripleSearch" action="' . $title->escapeLocalURL() . '" method="get"><input type="hidden" name="title" value="' . $title->getPrefixedText() . '"/>'; |
70 | 70 | $form .= wfMsg('smw_searchtriple_docu') . "\n\n"; |
71 | 71 | // $form .= |
72 | 72 | // '<input id="rel" type="radio" name="searchtype" value="relation" checked="checked" /><label for="rel">Relation</label>'. |