X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopensearch.php;h=b1529860a87487cd3382211e3fe4e7260a49e0c6;hb=1f02dc639ec3dfa44df87c4fa031b3f298ffee7e;hp=d5e6698f3880a07b43110058abd934f680d01b4d;hpb=bbb830e14c718c687f0636710a1827c90b11f4cc;p=quix0rs-gnu-social.git diff --git a/actions/opensearch.php b/actions/opensearch.php index d5e6698f38..b1529860a8 100644 --- a/actions/opensearch.php +++ b/actions/opensearch.php @@ -1,5 +1,4 @@ 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'); @@ -89,4 +90,3 @@ class OpensearchAction extends Action return true; } } -