/[drupal]/contributions/modules/send/includes/send.menu.inc
ViewVC logotype

Diff of /contributions/modules/send/includes/send.menu.inc

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

revision 1.2, Fri May 22 15:21:55 2009 UTC revision 1.3, Fri Aug 7 01:00:04 2009 UTC
# Line 1  Line 1 
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';
# Line 68  function send_menu_menu() { Line 68  function send_menu_menu() {
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  }  }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2