Loading gallery.module +6 −5 Original line number Diff line number Diff line Loading @@ -15,21 +15,22 @@ function gallery_menu($may_cache) { if ($may_cache) { $items[] = array( 'path' => 'gallery', 'title' => t('gallery'), 'title' => t('Gallery'), 'callback' => 'gallery_page', 'access' => user_access('access gallery'), 'type' => MENU_NORMAL_ITEM, ); $items[] = array( 'path' => 'admin/user/gallery', 'title' => t('gallery'), 'path' => 'admin/user/gallery', 'title' => t('Gallery'), 'description' => t('Show user sync status between Gallery2 and Drupal.'), 'callback' => 'gallery_users', 'access' => user_access('administer users'), 'type' => MENU_LOCAL_TASK, ); $items[] = array( 'path' => 'admin/settings/gallery', 'title' => t('gallery'), 'description' => t('Settings for embedded Gallery2.'), 'title' => t('Gallery'), 'description' => t('Configure settings for embedding Gallery2 into Drupal.'), 'callback' => 'drupal_get_form', 'callback arguments' => 'gallery_admin_settings', 'access' => user_access('administer site configuration'), Loading Loading
gallery.module +6 −5 Original line number Diff line number Diff line Loading @@ -15,21 +15,22 @@ function gallery_menu($may_cache) { if ($may_cache) { $items[] = array( 'path' => 'gallery', 'title' => t('gallery'), 'title' => t('Gallery'), 'callback' => 'gallery_page', 'access' => user_access('access gallery'), 'type' => MENU_NORMAL_ITEM, ); $items[] = array( 'path' => 'admin/user/gallery', 'title' => t('gallery'), 'path' => 'admin/user/gallery', 'title' => t('Gallery'), 'description' => t('Show user sync status between Gallery2 and Drupal.'), 'callback' => 'gallery_users', 'access' => user_access('administer users'), 'type' => MENU_LOCAL_TASK, ); $items[] = array( 'path' => 'admin/settings/gallery', 'title' => t('gallery'), 'description' => t('Settings for embedded Gallery2.'), 'title' => t('Gallery'), 'description' => t('Configure settings for embedding Gallery2 into Drupal.'), 'callback' => 'drupal_get_form', 'callback arguments' => 'gallery_admin_settings', 'access' => user_access('administer site configuration'), Loading