array_push($cat['items'], $feed);
}
+ $cat['param'] = T_sprintf('(%d feeds)', count($cat['items']));
+
if (count($cat['items']) > 0)
array_push($root['items'], $cat);
+
+ $root['param'] += count($cat['items']);
}
/* Uncategorized is a special case */
array_push($cat['items'], $feed);
}
+ $cat['param'] = T_sprintf('(%d feeds)', count($cat['items']));
+
if (count($cat['items']) > 0)
array_push($root['items'], $cat);
+ $root['param'] += count($cat['items']);
+ $root['param'] = T_sprintf('(%d feeds)', $root['param']);
+
} else {
$feed_result = db_query($link, "SELECT id, title, last_error,
".SUBSTRING_FOR_DATE."(last_updated,1,19) AS last_updated
array_push($root['items'], $feed);
}
+
+ $root['param'] = T_sprintf('(%d feeds)', count($root['items']));
+
}
$fl = array();