Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -211,9 +211,9 @@ |
212 | 212 | |
213 | 213 | $this->setHeaders(); |
214 | 214 | $wgOut->addInlineScript( "var wgCollectionVersion = \"$wgCollectionVersion\";" ); |
215 | | - $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
216 | | - $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.ui.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
217 | | - $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/collection.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
| 215 | + $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
| 216 | + $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.ui.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
| 217 | + $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/collection.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
218 | 218 | |
219 | 219 | $template = new CollectionPageTemplate(); |
220 | 220 | $template->set( 'collection', $_SESSION['wsCollection'] ); |
— | — | @@ -765,8 +765,8 @@ |
766 | 766 | $wgOut->addInlineScript( 'var writer = "' . urlencode( $response['writer']) . '";' ); |
767 | 767 | $wgOut->addInlineScript( 'var collection_rendering = true;' ); |
768 | 768 | $wgOut->addInlineScript( "var wgCollectionVersion = \"$wgCollectionVersion\";" ); |
769 | | - $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
770 | | - $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/collection.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
| 769 | + $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/jquery.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
| 770 | + $wgOut->addScript( "<script type=\"$wgJsMimeType\" src=\"$wgScriptPath/extensions/Collection/collection/collection.js?$wgStyleVersion&$wgCollectionVersion\"></script>" ); |
771 | 771 | $wgOut->setPageTitle( wfMsg( 'coll-rendering_title' ) ); |
772 | 772 | |
773 | 773 | if ( isset($response['status']['status'] ) && $response['status']['status'] ) { |
— | — | @@ -1153,7 +1153,7 @@ |
1154 | 1154 | $msg = htmlspecialchars( wfMsg( 'coll-clear_collection_confirm' ) ); |
1155 | 1155 | $out .= <<<EOS |
1156 | 1156 | <li> |
1157 | | - <a href=\"$href\" onclick="if (confirm('$msg')) collectionCall('Clear', []); return false;" rel=\"nofollow\">$clearCollection</a> |
| 1157 | + <a href="$href" onclick="if (confirm('$msg')) collectionCall('Clear', []); return false;" rel="nofollow">$clearCollection</a> |
1158 | 1158 | </li> |
1159 | 1159 | EOS |
1160 | 1160 | ; |
— | — | @@ -1167,6 +1167,7 @@ |
1168 | 1168 | ; |
1169 | 1169 | } |
1170 | 1170 | |
| 1171 | + $out .= "</ul>"; |
1171 | 1172 | return $out; |
1172 | 1173 | } |
1173 | 1174 | |