diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-10-11 19:44:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-10-11 19:44:35 +0000 |
commit | 75fe6b6c0ae85d2b53cb803d5b028b050fd6d454 (patch) | |
tree | 70ea02551300ed5a696b4d289cfc4722924d58ca /modules/blogapi.module | |
parent | ecf5ed57d66a182ae0e269942169e0a6cf3a3912 (diff) | |
download | brdo-75fe6b6c0ae85d2b53cb803d5b028b050fd6d454.tar.gz brdo-75fe6b6c0ae85d2b53cb803d5b028b050fd6d454.tar.bz2 |
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
Diffstat (limited to 'modules/blogapi.module')
-rw-r--r-- | modules/blogapi.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module index ef2fc080b..b23de7324 100644 --- a/modules/blogapi.module +++ b/modules/blogapi.module @@ -549,17 +549,17 @@ function blogapi_blogger_title(&$contents) { function blogapi_settings() { $form['blogapi_engine'] = array( - type => 'select', title => t('XML-RPC Engine'), default_value => variable_get('blogapi_engine', 0), - options => array(0 => 'Blogger', 1 => 'MetaWeblog', 2 => 'Movabletype'), - description => t('RSD or Really-Simple-Discovery is a mechanism which allows external blogger tools to discover the APIs they can use to interact with Drupal. Here you can set the preferred method for blogger tools to interact with your site. The common XML-RPC engines are Blogger, MetaWeblog and Movabletype. If you are not sure which is the correct setting, choose Blogger.') + '#type' => 'select', '#title' => t('XML-RPC Engine'), '#default_value' => variable_get('blogapi_engine', 0), + '#options' => array(0 => 'Blogger', 1 => 'MetaWeblog', 2 => 'Movabletype'), + '#description' => t('RSD or Really-Simple-Discovery is a mechanism which allows external blogger tools to discover the APIs they can use to interact with Drupal. Here you can set the preferred method for blogger tools to interact with your site. The common XML-RPC engines are Blogger, MetaWeblog and Movabletype. If you are not sure which is the correct setting, choose Blogger.') ); $node_types = node_get_types(); $defaults = isset($node_types['blog']) ? array('blog') : array(); $form['blogapi_node_types'] = array( - type => 'checkboxes', title => t('Blog types'), required => TRUE, - default_value => variable_get('blogapi_node_types', $defaults), options => $node_types, - description => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).') + '#type' => 'checkboxes', '#title' => t('Blog types'), '#required' => TRUE, + '#default_value' => variable_get('blogapi_node_types', $defaults), '#options' => $node_types, + '#description' => t('Select the content types for which you wish to enable posting via blogapi. Each type will appear as a different "blog" in the client application (if supported).') ); return $form; |