Index: aggregator2_logo.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/aggregator2/aggregator2_logo.module,v
retrieving revision 1.3
diff -u -r1.3 aggregator2_logo.module
--- aggregator2_logo.module	9 Dec 2005 17:59:22 -0000	1.3
+++ aggregator2_logo.module	22 May 2006 02:31:46 -0000
@@ -16,7 +16,7 @@
 function aggregator2_logo_help($section) {
   switch ($section) {
     case 'admin/modules#description':
-      return t('Adds logo image to feed and it\'s items body.');
+      return t('Adds logo image to feed and its items body.');
 
     case 'admin/settings/aggregator2_logo':
       return '<p>' . t('If the %url include %image or %logo tag information,
@@ -63,12 +63,22 @@
  * Implementation of hook_settings().
  */
 function aggregator2_logo_settings() {
-  $output = '';
 
-  $output .= form_checkbox(t('Add image to feed description'), 'aggregator2_logo_feed', 1, variable_get('aggregator2_logo_feed', 0), t('If enabled, feed nodes will be shown with feed logo link added to their description.'));
-  $output .= form_checkbox(t('Add image to feed items description'), 'aggregator2_logo_items', 1, variable_get('aggregator2_logo_items', 0), t('If enabled, feed items will be shown with feed logo link added to their description.'));
+  $form['aggregator2_logo_feed'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Add image to feed description'),
+    '#default_value' => variable_get('aggregator2_logo_feed', 0),
+    '#description' => t('If enabled, feed nodes will be shown with feed logo link added to their description.'),
+  );
+
+  $form['aggregator2_logo_items'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Add image to feed items description'),
+    '#default_value' => variable_get('aggregator2_logo_items', 0),
+    '#description' => t('If enabled, feed items will be shown with feed logo link added to their description.'),
+  );
 
-  return $output;
+  return $form;
 }
 
 /**
