| 1 |
<?php |
<?php |
| 2 |
// $Id: lists.module,v 1.9 2007/08/06 06:27:04 dww Exp $ |
// $Id: lists.module,v 1.10 2008/01/03 05:14:41 kbahey Exp $ |
| 3 |
|
|
| 4 |
function _lists_get_lists() { |
function _lists_get_lists() { |
| 5 |
$lists = array( |
$lists = array( |
| 79 |
} |
} |
| 80 |
|
|
| 81 |
function lists_menu() { |
function lists_menu() { |
| 82 |
$items = array(); |
$items = array(); |
| 83 |
|
$items['lists'] = array( |
| 84 |
$items['admin/lists'] = array( |
'title' => 'Mailing lists', |
| 85 |
'title' => t('Mailing lists'), |
'page callback' => 'drupal_get_form', |
| 86 |
'page callback' => 'drupal_get_form', |
'page arguments' => array('lists_subscribe_form'), |
| 87 |
'page arguments' => array('lists_subscribe'), |
'access arguments' => array('access content'), |
| 88 |
'access' => user_access('access content'), |
'type' => MENU_SUGGESTED_ITEM, |
| 89 |
'type' => MENU_NORMAL_ITEM, |
); |
| 90 |
'file' => 'lists.module', |
return $items; |
|
); |
|
|
|
|
|
return $items; |
|
| 91 |
} |
} |
| 92 |
|
|
| 93 |
function lists_subscribe() { |
function lists_subscribe() { |