comparison modules/locale/locale.module @ 7:fff6d4c8c043 6.3

Drupal 6.3
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:30:28 +0100
parents 2427550111ae
children 589fb7c02327
comparison
equal deleted inserted replaced
6:2cfdc3c92142 7:fff6d4c8c043
1 <?php 1 <?php
2 // $Id: locale.module,v 1.212.2.1 2008/04/09 21:11:48 goba Exp $ 2 // $Id: locale.module,v 1.212.2.2 2008/07/09 21:48:28 goba Exp $
3 3
4 /** 4 /**
5 * @file 5 * @file
6 * Add language handling functionality and enables the translation of the 6 * Add language handling functionality and enables the translation of the
7 * user interface to languages other than English. 7 * user interface to languages other than English.
171 'type' => MENU_CALLBACK, 171 'type' => MENU_CALLBACK,
172 ); 172 );
173 $items['admin/build/translate/delete/%'] = array( 173 $items['admin/build/translate/delete/%'] = array(
174 'title' => 'Delete string', 174 'title' => 'Delete string',
175 'page callback' => 'locale_inc_callback', 175 'page callback' => 'locale_inc_callback',
176 'page arguments' => array('locale_translate_delete', 4), // directly deletes, no confirmation 176 'page arguments' => array('locale_translate_delete_page', 4),
177 'access arguments' => array('translate interface'), 177 'access arguments' => array('translate interface'),
178 'type' => MENU_CALLBACK, 178 'type' => MENU_CALLBACK,
179 ); 179 );
180 180
181 return $items; 181 return $items;