| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: fee.module,v 1.1 2007/06/10 15:58:43 kbahey Exp $ |
// $Id: fee.module,v 1.1.2.1 2007/09/17 02:17:59 kbahey Exp $ |
| 4 |
|
|
| 5 |
// Variables |
// Variables |
| 6 |
define('FEE_EMAIL', 'fee_email'); |
define('FEE_EMAIL', 'fee_email'); |
| 49 |
} |
} |
| 50 |
|
|
| 51 |
function fee_perm() { |
function fee_perm() { |
| 52 |
return array('administer fees', 'view receipt'); |
return array('administer fees', 'view receipt', 'pay fee'); |
| 53 |
} |
} |
| 54 |
|
|
| 55 |
function fee_settings() { |
function fee_settings() { |
| 203 |
$items[] = array( |
$items[] = array( |
| 204 |
'path' => 'fee', |
'path' => 'fee', |
| 205 |
'title' => t('Fee'), |
'title' => t('Fee'), |
| 206 |
'access' => TRUE, |
'access' => user_access('pay fee'), |
| 207 |
'callback' => 'drupal_get_form', |
'callback' => 'drupal_get_form', |
| 208 |
'callback arguments' => array('fee_form_build'), |
'callback arguments' => array('fee_form_build'), |
| 209 |
'type' => MENU_SUGGESTED_ITEM, |
'type' => MENU_SUGGESTED_ITEM, |