Cleanup /format pre-move

This commit is contained in:
Hypolite Petovan 2017-04-30 00:01:26 -04:00
parent f77632378b
commit 56ee734b00
85 changed files with 522 additions and 581 deletions

View file

@ -1,18 +1,18 @@
<?php
function opensearch_content(App $a) {
$tpl = get_markup_template('opensearch.tpl');
header("Content-type: application/opensearchdescription+xml");
function opensearch_content(App $a) {
$o = replace_macros($tpl, array(
'$baseurl' => App::get_baseurl(),
'$nodename' => $a->get_hostname(),
));
$tpl = get_markup_template('opensearch.tpl');
echo $o;
header("Content-type: application/opensearchdescription+xml");
killme();
$o = replace_macros($tpl, array(
'$baseurl' => App::get_baseurl(),
'$nodename' => $a->get_hostname(),
));
}
?>
echo $o;
killme();
}