lotsa little fixes
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<?php
|
||||
function opensearch_content(&$a) {
|
||||
|
||||
function opensearch_init(&$a) {
|
||||
|
||||
$tpl = get_markup_template('opensearch.tpl');
|
||||
$tpl = get_markup_template('opensearch.tpl');
|
||||
|
||||
header("Content-type: application/opensearchdescription+xml");
|
||||
header("Content-type: application/opensearchdescription+xml");
|
||||
|
||||
$o = replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$nodename' => $a->get_hostname(),
|
||||
));
|
||||
$o = replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$nodename' => $a->get_hostname(),
|
||||
));
|
||||
|
||||
echo $o;
|
||||
echo $o;
|
||||
|
||||
killme();
|
||||
killme();
|
||||
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user