aboutsummaryrefslogtreecommitdiffstats
path: root/mod/opensearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/opensearch.php')
-rw-r--r--mod/opensearch.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/mod/opensearch.php b/mod/opensearch.php
index ff748d1c5..d28c4f1b8 100644
--- a/mod/opensearch.php
+++ b/mod/opensearch.php
@@ -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();
- }
-?> \ No newline at end of file
+}