All pastes #762831 Raw Edit

Anonymous

public php v1 · immutable
·published 2007-11-05 22:48 UTC
rendered paste body
function delivery_schedule_menu($may_cache) {  global $user;  $items = array();  if ($may_cache) {	  $items[] = array(	    'path' => 'deliveries',	    'title' => t('Delivery Schdule'),	    'callback' => 'delivery_schedule',			'access' => 'view schedule',			'type' => MENU_CALLBACK,	  );		$items[] = array(	    'path' => 'deliveries/results',	    'title' => t('Delivery Schedule Search Results'),	    'callback' => 'delivery_schedule_search_results',			'access' => TRUE,			'type' => MENU_CALLBACK,	  );	return $items;	}}