comparison modules/path/path.module @ 5:2427550111ae 6.2

Drupal 6.2
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:30:08 +0100
parents c1f4ac30525a
children fff6d4c8c043
comparison
equal deleted inserted replaced
4:d94886ac61a0 5:2427550111ae
1 <?php 1 <?php
2 // $Id: path.module,v 1.138 2008/02/03 19:20:35 goba Exp $ 2 // $Id: path.module,v 1.138.2.1 2008/04/09 21:11:48 goba Exp $
3 3
4 /** 4 /**
5 * @file 5 * @file
6 * Enables users to rename URLs. 6 * Enables users to rename URLs.
7 */ 7 */
44 'file' => 'path.admin.inc', 44 'file' => 'path.admin.inc',
45 ); 45 );
46 $items['admin/build/path/edit'] = array( 46 $items['admin/build/path/edit'] = array(
47 'title' => 'Edit alias', 47 'title' => 'Edit alias',
48 'page callback' => 'path_admin_edit', 48 'page callback' => 'path_admin_edit',
49 'access arguments' => array('administer url aliases'),
49 'type' => MENU_CALLBACK, 50 'type' => MENU_CALLBACK,
50 'file' => 'path.admin.inc', 51 'file' => 'path.admin.inc',
51 ); 52 );
52 $items['admin/build/path/delete'] = array( 53 $items['admin/build/path/delete'] = array(
53 'title' => 'Delete alias', 54 'title' => 'Delete alias',
54 'page callback' => 'drupal_get_form', 55 'page callback' => 'drupal_get_form',
55 'page arguments' => array('path_admin_delete_confirm'), 56 'page arguments' => array('path_admin_delete_confirm'),
57 'access arguments' => array('administer url aliases'),
56 'type' => MENU_CALLBACK, 58 'type' => MENU_CALLBACK,
57 'file' => 'path.admin.inc', 59 'file' => 'path.admin.inc',
58 ); 60 );
59 $items['admin/build/path/list'] = array( 61 $items['admin/build/path/list'] = array(
60 'title' => 'List', 62 'title' => 'List',