diff options
author | cash <cash.costello@gmail.com> | 2011-12-02 22:05:50 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-02 22:05:50 -0500 |
commit | c4ed70ad4cf233f6091f6de22a5cfaf81ea88747 (patch) | |
tree | 0dcaaf83e169d6d7d906675c64464700545ea884 /views/default/opensearch/includes.php | |
parent | 98acc22fec2dc7942e5c6e5bcdd2e6a356c6e905 (diff) | |
download | elgg-c4ed70ad4cf233f6091f6de22a5cfaf81ea88747.tar.gz elgg-c4ed70ad4cf233f6091f6de22a5cfaf81ea88747.tar.bz2 |
Elgg 1.8 version
Diffstat (limited to 'views/default/opensearch/includes.php')
-rw-r--r-- | views/default/opensearch/includes.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/opensearch/includes.php b/views/default/opensearch/includes.php index 57e56723f..6aceb45c2 100644 --- a/views/default/opensearch/includes.php +++ b/views/default/opensearch/includes.php @@ -1,7 +1,10 @@ <?php +/** + * OpenSearch head include + */ -$url = "{$vars['url']}pg/opensearch/osd.xml"; -$title = $vars['config']->sitename; +$url = elgg_normalize_url('opensearch/osd.xml'); +$title = elgg_get_site_entity()->name; ?> <link rel="search" type="application/opensearchdescription+xml" href="<?php echo $url; ?>" title="<?php echo $title; ?>" /> |