Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php |
— | — | @@ -302,8 +302,7 @@ |
303 | 303 | $count = $matrix->getCount(); |
304 | 304 | header( 'Content-Type: text/xml; charset=utf-8' ); |
305 | 305 | echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; |
306 | | - echo "<sitematrix>\n"; |
307 | | - echo "\t<matrix size=\"{$count}\">\n"; |
| 306 | + echo "\t<sitematrix size=\"{$count}\">\n"; |
308 | 307 | foreach ( $matrix->getLangList() as $lang ) { |
309 | 308 | $langhost = str_replace( '_', '-', $lang ); |
310 | 309 | $attribs = array( |
— | — | @@ -322,7 +321,6 @@ |
323 | 322 | } |
324 | 323 | echo "\t\t</language>\n"; |
325 | 324 | } |
326 | | - echo "\t</matrix>\n"; |
327 | 325 | echo "\t<specials>\n"; |
328 | 326 | foreach ( $matrix->getSpecials() as $special ) { |
329 | 327 | list( $lang, $site ) = $special; |
— | — | @@ -333,7 +331,7 @@ |
334 | 332 | echo "\t\t<special code=\"{$langhost}\" url=\"{$url}\" />\n"; |
335 | 333 | } |
336 | 334 | echo "\t</specials>\n"; |
337 | | - echo "</sitematrix>"; |
| 335 | + echo "\t</sitematrix>\n"; |
338 | 336 | return; |
339 | 337 | } |
340 | 338 | |