X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fopensearch.php;h=b1529860a87487cd3382211e3fe4e7260a49e0c6;hb=0eb38b8f8400a86c9f2f864fb656d5c89e757c5b;hp=b2186f0e94fc4603f3f0ba29b23044cd7304f3ae;hpb=81b4a381d9ddc71ed8a53c074ea10910882d3156;p=quix0rs-gnu-social.git diff --git a/actions/opensearch.php b/actions/opensearch.php index b2186f0e94..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; } } -