- common_element('Image', array('height' => 16, 'width' => 16, 'type' => 'image/vnd.microsoft.icon'), common_path('favicon.ico'));
- common_element('Image', array('height' => 50, 'width' => 50, 'type' => 'image/png'), theme_path('logo.png'));
- common_element('AdultContent', null, 'false');
- common_element('Language', null, common_language());
- common_element('OutputEncoding', null, 'UTF-8');
- common_element('InputEncoding', null, 'UTF-8');
+ $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('AdultContent', null, 'false');
+ $this->element('Language', null, common_language());
+ $this->element('OutputEncoding', null, 'UTF-8');
+ $this->element('InputEncoding', null, 'UTF-8');
+ $this->elementEnd('OpenSearchDescription');
+ $this->endXML();
+ }