/[drupal]/contributions/modules/feed_block/feed_block.module
ViewVC logotype

Diff of /contributions/modules/feed_block/feed_block.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.2, Thu Apr 30 18:06:48 2009 UTC revision 1.1.2.3, Fri May 1 02:29:34 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: feed_block.module,v 1.1.2.2 2009/04/30 18:06:48 ivanjaros Exp $
3    
4  /*  /*
5  * Generates content of the block.  * Generates content of the block.
# Line 54  function feed_block_block($op = 'list', Line 54  function feed_block_block($op = 'list',
54  /*  /*
55  * Generates module's administration page.  * Generates module's administration page.
56  */  */
57  function feedblock_settings() {  function feed_block_settings() {
58    $q = db_query('SELECT cid, title FROM {aggregator_category}');    $q = db_query('SELECT cid, title FROM {aggregator_category}');
59    
60    while ($fetch = db_fetch_object($q)) {    while ($fetch = db_fetch_object($q)) {
# Line 101  function feed_block_menu() { Line 101  function feed_block_menu() {
101      'title' => 'Feed Block',      'title' => 'Feed Block',
102      'description' => 'Administer Feed Block.',      'description' => 'Administer Feed Block.',
103      'page callback' => 'drupal_get_form',      'page callback' => 'drupal_get_form',
104      'page arguments' => array('feedblock_settings'),      'page arguments' => array('feed_block_settings'),
105      'access arguments' => array('administer site configuration'),      'access arguments' => array('administer site configuration'),
106      'type' => MENU_NORMAL_ITEM,      'type' => MENU_NORMAL_ITEM,
107    );    );

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2