$user->blowFavesCache();
if ($this->boolean('ajax')) {
- common_start_html('text/xml');
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Add to favorites'));
common_element_end('head');
array('nickname' => $user->nickname)));
}
}
-}
\ No newline at end of file
+}
$user->blowFavesCache();
if ($this->boolean('ajax')) {
- common_start_html('text/xml');
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Disfavor favorite'));
common_element_end('head');
}
}
-}
\ No newline at end of file
+}
common_broadcast_notice($notice);
if ($this->boolean('ajax')) {
- common_start_html('text/xml;charset=utf-8', false);
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Notice posted'));
common_element_end('head');
}
if ($this->boolean('ajax')) {
- common_start_html('text/xml');
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Subscribed'));
common_element_end('head');
}
if ($this->boolean('ajax')) {
- common_start_html('text/xml');
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Unsubscribed'));
common_element_end('head');