You are here

function image_fupload_menu in Image FUpload 6.3

Same name and namespace in other branches
  1. 6.2 image_fupload.module \image_fupload_menu()

Implementation of hook_menu().

File

./image_fupload.module, line 13

Code

function image_fupload_menu() {
  $items['fupload/flash'] = array(
    'title' => 'Image FUpload',
    'page callback' => 'fupload_filetransfer',
    'access callback' => TRUE,
    // must be examined later
    'type' => MENU_CALLBACK,
  );
  $items['fupload/js/deletequeue/%'] = array(
    'title' => 'Image FUpload',
    'page callback' => 'fupload_empty_queue',
    'page arguments' => array(
      3,
    ),
    'access arguments' => array(
      'mass upload images',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['node/add/%image_node_type/list_images'] = array(
    'title' => 'Edit Captions',
    'access arguments' => array(
      'edit captions',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fupload_list_images_image',
      2,
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/images.previewlist.image.inc',
  );
  $items['node/add/%image_node_type/list_imagefields'] = array(
    'title' => 'Edit Captions',
    'access arguments' => array(
      'edit captions',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'fupload_list_images_imagefield',
      2,
    ),
    'type' => MENU_CALLBACK,
    'file' => 'includes/images.previewlist.imagefield.inc',
  );
  return $items;
}