function image_fupload_menu in Image FUpload 6.2
Same name and namespace in other branches
- 6.3 image_fupload.module \image_fupload_menu()
Implementation of hook_menu().
File
- ./
image_fupload.module, line 29
Code
function image_fupload_menu() {
$items['admin/settings/image/image_fupload'] = array(
'title' => 'Image FUpload Settings',
'access arguments' => array(
'administer site configuration',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'image_fupload_admin',
),
'description' => 'Configure FUpload Settings',
'type' => MENU_LOCAL_TASK,
'file' => 'image_fupload.admin.inc',
);
$items['fupload/js'] = array(
'title' => 'Image FUpload',
'page callback' => 'fupload_node_create',
'access arguments' => array(
'create images',
),
'type' => MENU_CALLBACK,
'file' => 'node.pages.inc',
'file path' => drupal_get_path('module', 'node'),
);
$items['fupload/js/deletequeue'] = array(
'title' => 'Image FUpload',
'page callback' => 'fupload_empty_queue',
'access arguments' => array(
'create images',
),
'type' => MENU_CALLBACK,
);
$items['fupload/flash'] = array(
'title' => 'Image FUpload',
'page callback' => 'fupload_filetransfer',
'access callback' => TRUE,
// must be examined later
'type' => MENU_CALLBACK,
);
return $items;
}