| 1 |
<?php |
<?php |
| 2 |
// $Id: node_images.module,v 1.11.2.14 2009/01/30 13:21:02 stefano73 Exp $ |
// $Id: node_images.module,v 1.11.2.15 2009/01/31 14:25:53 stefano73 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 62 |
'file' => 'node_images.pages.inc', |
'file' => 'node_images.pages.inc', |
| 63 |
); |
); |
| 64 |
$items['admin/settings/node_images'] = array( |
$items['admin/settings/node_images'] = array( |
| 65 |
'title' => t('Node images'), |
'title' => 'Node images', |
| 66 |
'description' => t('Control how to upload node images.'), |
'description' => 'Control how to upload node images.', |
| 67 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 68 |
'page arguments' => array('node_images_admin_settings'), |
'page arguments' => array('node_images_admin_settings'), |
| 69 |
'access arguments' => array('administer site configuration'), |
'access arguments' => array('administer site configuration'), |
| 70 |
'file' => 'node_images.admin.inc', |
'file' => 'node_images.admin.inc', |
| 71 |
); |
); |
| 72 |
$items['node/%node/images'] = array( |
$items['node/%node/images'] = array( |
| 73 |
'title' => t('Images'), |
'title' => 'Images', |
| 74 |
'page callback' => 'drupal_get_form', |
'page callback' => 'drupal_get_form', |
| 75 |
'page arguments' => array('_node_images_edit_page', 1), |
'page arguments' => array('_node_images_edit_page', 1), |
| 76 |
'access callback' => '_node_images_access', |
'access callback' => '_node_images_access', |
| 80 |
'type' => MENU_LOCAL_TASK, |
'type' => MENU_LOCAL_TASK, |
| 81 |
); |
); |
| 82 |
$items['node/%node/image_gallery'] = array( |
$items['node/%node/image_gallery'] = array( |
| 83 |
'title' => t('Gallery'), |
'title' => 'Gallery', |
| 84 |
'page callback' => '_node_images_gallery', |
'page callback' => '_node_images_gallery', |
| 85 |
'page arguments' => array(1), |
'page arguments' => array(1), |
| 86 |
'access callback' => 'node_access', |
'access callback' => 'node_access', |