function smiley_import_menu in Smiley 6
Implementation of hook_menu().
File
- ./
smiley_import.module, line 16
Code
function smiley_import_menu() {
$items = array();
$items['admin/settings/smiley/import'] = array(
'title' => t('Import'),
'page callback' => 'smiley_import_page',
'access arguments' => array(
'administer smiley',
),
'weight' => 2,
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/smiley/export'] = array(
'title' => t('Export'),
'page callback' => 'smiley_export_page',
'access arguments' => array(
'administer smiley',
),
'weight' => 3,
'type' => MENU_LOCAL_TASK,
);
$items['admin/settings/smiley/import/add'] = array(
'page callback' => 'smiley_import_add',
'access arguments' => array(
'administer smiley',
),
'type' => MENU_CALLBACK,
);
$items['admin/settings/smiley/import/delete'] = array(
'page callback' => 'smiley_import_delete',
'access arguments' => array(
'administer smiley',
),
'type' => MENU_CALLBACK,
);
return $items;
}