| 1 |
<?php // $Id: send.menu.inc,v 1.1 2009/05/15 14:31:01 vauxia Exp $ |
<?php // $Id: send.menu.inc,v 1.2 2009/05/22 15:21:55 vauxia Exp $ |
| 2 |
|
|
| 3 |
function send_menu_menu() { |
function send_menu_menu() { |
| 4 |
$path = drupal_get_path('module', 'send') .'/includes'; |
$path = drupal_get_path('module', 'send') .'/includes'; |
| 68 |
'node/%node/send' => array( //TODO this isn't done yet. |
'node/%node/send' => array( //TODO this isn't done yet. |
| 69 |
), |
), |
| 70 |
); |
); |
|
foreach (send_profiles() as $module => $name) { |
|
|
$items['admin/content/send/'. $module] = array( |
|
|
'title' => module_invoke($module, 'send', 'name', $module), |
|
|
'page callback' => 'drupal_get_form', |
|
|
'page arguments' => array('_send_module_form', $module), |
|
|
'access arguments' => array('administer send'), |
|
|
'type' => MENU_LOCAL_TASK, |
|
|
'file' => 'send.admin.inc', |
|
|
'file path' => $path, |
|
|
); |
|
|
} |
|
| 71 |
return $items; |
return $items; |
| 72 |
} |
} |