Skip to content
Snippets Groups Projects
Commit c47db1eb authored by Tim Steiner's avatar Tim Steiner
Browse files

Re-enable the ability to use the "Add User" link so that we can manually add...

Re-enable the ability to use the "Add User" link so that we can manually add users with the privacy flag set.

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@276 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 84169279
Branches
Tags
No related merge requests found
...@@ -49,13 +49,14 @@ function unl_cas_menu() { ...@@ -49,13 +49,14 @@ function unl_cas_menu() {
); );
$items['admin/people/import'] = array( $items['admin/people/import'] = array(
'title' => 'Import User', 'title' => 'Import User from People Finder',
'description' => 'Import a user from UNL People Finder', 'description' => 'Import a user from UNL People Finder',
'access arguments' => array('administer users'), 'access arguments' => array('administer users'),
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('unl_cas_user_import'), 'page arguments' => array('unl_cas_user_import'),
'type' => MENU_LOCAL_ACTION, 'type' => MENU_LOCAL_ACTION,
'file' => 'unl_cas.admin.inc', 'file' => 'unl_cas.admin.inc',
'weight' => 1,
); );
return $items; return $items;
...@@ -63,7 +64,8 @@ function unl_cas_menu() { ...@@ -63,7 +64,8 @@ function unl_cas_menu() {
function unl_cas_menu_alter(&$items) function unl_cas_menu_alter(&$items)
{ {
unset($items['admin/people/create']); $items['admin/people/create']['weight'] = 2;
$items['admin/people/create']['title'] .= ' manually';
} }
function unl_cas_validate() { function unl_cas_validate() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment