Commit a43b9fdf authored by kiz_0987's avatar kiz_0987

Fixed capitalization. Now displays gallery user page.

parent 037e15be
......@@ -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'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment