summaryrefslogtreecommitdiff
path: root/actions/opensearch.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-08 23:10:34 +0000
committerSarven Capadisli <csarven@status.net>2009-11-08 23:10:34 +0000
commit8e58f241739b97bd53f78035781f16e2067a31d9 (patch)
tree8ad366f5f408d1181b1816f607a120fe0c91c502 /actions/opensearch.php
parent2a0a363e1d846334bc37d46b5f6f42e64a5a96eb (diff)
parentb78a35ec73980d8dfa2fcb68ef81936f4b3c110b (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'actions/opensearch.php')
-rw-r--r--actions/opensearch.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/opensearch.php b/actions/opensearch.php
index d5e6698f3..b205d2fe2 100644
--- a/actions/opensearch.php
+++ b/actions/opensearch.php
@@ -52,7 +52,7 @@ class OpensearchAction extends Action
*
* @param array $args query arguments
*
- * @return boolean false if user doesn't exist
+ * @return boolean false if user does not exist
*/
function handle($args)
{
@@ -75,7 +75,7 @@ class OpensearchAction extends Action
$this->element('Url', array('type' => 'text/html', 'method' => 'get',
'template' => str_replace('---', '{searchTerms}', common_local_url($type, array('q' => '---')))));
$this->element('Image', array('height' => 16, 'width' => 16, 'type' => 'image/vnd.microsoft.icon'), common_path('favicon.ico'));
- $this->element('Image', array('height' => 50, 'width' => 50, 'type' => 'image/png'), theme_path('logo.png'));
+ $this->element('Image', array('height' => 50, 'width' => 50, 'type' => 'image/png'), Theme::path('logo.png'));
$this->element('AdultContent', null, 'false');
$this->element('Language', null, common_language());
$this->element('OutputEncoding', null, 'UTF-8');