diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-31 21:14:27 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-05-31 21:14:27 +0000 |
commit | a597354bcb48536f2c7633d53c78fa931b186c20 (patch) | |
tree | 34e16a5b178faf3047963cddfdec084bfeceb8cb /modules/blogapi.module | |
parent | 025bca28aa1717459c811744704e0c1b514d1e1e (diff) | |
download | brdo-a597354bcb48536f2c7633d53c78fa931b186c20.tar.gz brdo-a597354bcb48536f2c7633d53c78fa931b186c20.tar.bz2 |
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
Diffstat (limited to 'modules/blogapi.module')
-rw-r--r-- | modules/blogapi.module | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module index d836c27fd..3c6172837 100644 --- a/modules/blogapi.module +++ b/modules/blogapi.module @@ -530,7 +530,10 @@ function blogapi_menu($may_cache) { $items = array(); if ($_GET['q'] == variable_get('site_frontpage', 'node')) { - drupal_set_html_head('<link rel="EditURI" type="application/rsd+xml" title="RSD" href="' . url('blogapi/rsd', NULL, NULL, TRUE) . '" />'); + drupal_add_link(array('rel' => 'EditURI', + 'type' => 'application/rsd+xml', + 'title' => t('RSD'), + 'href' => url('blogapi/rsd', NULL, NULL, TRUE))); } if ($may_cache) { |