Index: modules/aggregator/aggregator.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v
retrieving revision 1.306
diff -u -F^function -r1.306 aggregator.module
--- modules/aggregator/aggregator.module        17 Sep 2006 19:14:15 -0000      1.306
+++ modules/aggregator/aggregator.module        2 Oct 2006 20:20:51 -0000
@@ -137,13 +137,14 @@ function aggregator_menu($may_cache) {
             'weight' => -10);
           $items[] = array('path' => 'aggregator/sources/'. $feed['fid'] .'/categorize',
             'title' => t('categorize'),
-            'callback' => 'aggregator_page_source',
+            'callback' => 'drupal_get_form',
+            'callback arguments' => array('aggregator_page_source'),
             'access' => $edit,
             'type' => MENU_LOCAL_TASK);
           $items[] = array('path' => 'aggregator/sources/'. $feed['fid'] .'/configure',
             'title' => t('configure'),
-            'callback' => 'aggregator_form_feed',
-            'callback arguments' => array($feed),
+            'callback' => 'drupal_get_form',
+            'callback arguments' => array('aggregator_form_feed', $feed),
             'access' => $edit,
             'type' => MENU_LOCAL_TASK,
             'weight' => 1);
@@ -158,13 +159,14 @@ function aggregator_menu($may_cache) {
             'weight' => -10);
           $items[] = array('path' => 'aggregator/categories/'. $category['cid'] .'/categorize',
             'title' => t('categorize'),
-            'callback' => 'aggregator_page_category',
+            'callback' => 'drupal_get_form',
+            'callback arguments' => array('aggregator_page_category'),
             'access' => $edit,
             'type' => MENU_LOCAL_TASK);
           $items[] = array('path' => 'aggregator/categories/'. $category['cid'] .'/configure',
             'title' => t('configure'),
-            'callback' => 'aggregator_form_category',
-            'callback arguments' => array($category),
+            'callback' => 'drupal_get_form',
+            'callback arguments' => array('aggregator_form_category', $category),
             'access' => $edit,
             'type' => MENU_LOCAL_TASK,
             'weight' => 1);
@@ -1058,6 +1060,7 @@ function aggregator_page_category() {
 }

 function aggregator_page_list($sql, $header, $categorize) {
+  $form['#base'] = 'aggregator_page_list';
   $form['header'] = array('#value' => $header);
   $result = pager_query($sql, 20);
   $categories = array();
@@ -1299,7 +1302,7 @@ function theme_aggregator_feed($feed) {
   $output .= '<div class="feed-url"><em>'. t('URL:') .'</em> '. l($feed->link, $feed->link, array(), NULL, NULL, TRUE) ."</div>\n";

   if ($feed->checked) {
-    $updated = t('%time ago', array('%time' => format_interval(time() - $feed->checked)));
+    $updated = t('@time ago', array('@time' => format_interval(time() - $feed->checked)));
   }
   else {
     $updated = t('never');
