aboutsummaryrefslogtreecommitdiff
path: root/views/default/opensearch/includes.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/opensearch/includes.php')
-rw-r--r--views/default/opensearch/includes.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/opensearch/includes.php b/views/default/opensearch/includes.php
new file mode 100644
index 000000000..57e56723f
--- /dev/null
+++ b/views/default/opensearch/includes.php
@@ -0,0 +1,7 @@
+<?php
+
+$url = "{$vars['url']}pg/opensearch/osd.xml";
+$title = $vars['config']->sitename;
+?>
+
+<link rel="search" type="application/opensearchdescription+xml" href="<?php echo $url; ?>" title="<?php echo $title; ?>" />