aboutsummaryrefslogtreecommitdiffstats
path: root/mod/opensearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
committerfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
commit8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616 (patch)
tree1941b7e5879c9d1e54cc45529f92e9b0a8a7a0c3 /mod/opensearch.php
parent87c171030c8de2e36f284fa6b58f11a5535a9a29 (diff)
downloadvolse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.gz
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.bz2
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.zip
lotsa little fixes
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
+}