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

Diff of /contributions/modules/news/news.module

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

revision 1.12, Wed Mar 18 22:33:50 2009 UTC revision 1.13, Thu Mar 19 19:03:13 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: news.module,v 1.11 2008/12/14 02:00:22 vauxia Exp $  <?php // $Id: news.module,v 1.12 2009/03/18 22:33:50 vauxia Exp $
2    
3  /**  /**
4   * @file   * @file
# Line 20  function news_menu() { Line 20  function news_menu() {
20        'file'             => 'news.form.inc',        'file'             => 'news.form.inc',
21        'file path'        => drupal_get_path('module', 'news') .'/includes',        'file path'        => drupal_get_path('module', 'news') .'/includes',
22      ),      ),
23        'send/news/send' => array(
24          'title'            => 'Compose',
25          'page callback'    => 'drupal_get_form',
26          'page arguments'   => array('news_form'),
27          'access arguments' => array('send news'),
28          'type'             => MENU_DEFAULT_LOCAL_TASK,
29          'file'             => 'news.form.inc',
30          'file path'        => drupal_get_path('module', 'news') .'/includes',
31          'weight'           => -10,
32        ),
33        'send/news/list' => array(
34          'title'            => 'Lists',
35          'page callback'    => 'news_admin_lists',
36          'access arguments' => array('administer mailing lists'),
37          'type'             => MENU_LOCAL_TASK,
38          'file'             => 'news.admin.inc',
39          'file path'        => drupal_get_path('module', 'news') .'/includes',
40        ),
41      'send/news/%' => array(      'send/news/%' => array(
42        'title'            => 'Send news',        'title'            => 'Send news',
43        'page callback'    => 'drupal_get_form',        'page callback'    => 'drupal_get_form',
# Line 64  function news_send_profile_info() { Line 82  function news_send_profile_info() {
82      ),      ),
83    );    );
84  }  }
85    
86    /**
87     * Implementation of hook_views_api().
88     */
89    function news_views_api() {
90      return array(
91        'api' => 2,
92        'path' => drupal_get_path('module', 'news') .'/includes/views',
93      );
94    }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.2