diff options
author | Cash Costello <cash.costello@gmail.com> | 2010-05-23 19:37:12 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2010-05-23 19:37:12 -0400 |
commit | 6d496263bbcc662282a059aee76d74784ac44479 (patch) | |
tree | 8a1a2e751912c6f3cd46409d872dd13d1d7186df /views/default/opensearch | |
download | elgg-6d496263bbcc662282a059aee76d74784ac44479.tar.gz elgg-6d496263bbcc662282a059aee76d74784ac44479.tar.bz2 |
First version of an OpenSearch endpoint for Elgg
Diffstat (limited to 'views/default/opensearch')
-rw-r--r-- | views/default/opensearch/includes.php | 7 |
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; ?>" /> |