Commit 856a1a53 authored by Dries's avatar Dries

- Patch #662868 by David_Rothstein: user edit link should open in a overlay.

parent 603d3364
......@@ -48,6 +48,17 @@ function openid_menu_site_status_alter(&$menu_site_status, $path) {
}
}
/**
* Implements hook_admin_paths().
*/
function openid_admin_paths() {
$paths = array(
'user/*/openid' => TRUE,
'user/*/openid/delete' => TRUE,
);
return $paths;
}
/**
* Implements hook_help().
*/
......
......@@ -166,6 +166,16 @@ function shortcut_menu() {
return $items;
}
/**
* Implements hook_admin_paths().
*/
function shortcut_admin_paths() {
$paths = array(
'user/*/shortcuts' => TRUE,
);
return $paths;
}
/**
* Implements hook_theme().
*/
......
......@@ -1780,6 +1780,18 @@ function user_menu_site_status_alter(&$menu_site_status, $path) {
}
}
/**
* Implements hook_admin_paths().
*/
function user_admin_paths() {
$paths = array(
'user/*/cancel' => TRUE,
'user/*/edit' => TRUE,
'user/*/edit/*' => TRUE,
);
return $paths;
}
/**
* Implements hook_init().
*/
......
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