You are here

function smileys_import_menu in Smileys 6

Same name and namespace in other branches
  1. 5 smileys_import.module \smileys_import_menu()

Implementation of hook_menu().

File

./smileys_import.module, line 16

Code

function smileys_import_menu() {
  $items = array();
  $items['admin/settings/smileys/import'] = array(
    'title' => t('Import'),
    'page callback' => 'smileys_import_page',
    'access arguments' => array(
      'administer smileys',
    ),
    'weight' => 2,
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/settings/smileys/export'] = array(
    'title' => t('Export'),
    'page callback' => 'smileys_export_page',
    'access arguments' => array(
      'administer smileys',
    ),
    'weight' => 3,
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/settings/smileys/import/add'] = array(
    'page callback' => 'smileys_import_add',
    'access arguments' => array(
      'administer smileys',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/smileys/import/delete'] = array(
    'page callback' => 'smileys_import_delete',
    'access arguments' => array(
      'administer smileys',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}