diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-03 23:07:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-03 23:07:01 +0000 |
commit | 856a1a539ec7eaaeb999cbb127ed5307b1f58e9d (patch) | |
tree | b65fcd24991b6e963aefb3d80bb0043e9b5bd830 | |
parent | 603d33649b725051391d480446011a5148bb5255 (diff) | |
download | brdo-856a1a539ec7eaaeb999cbb127ed5307b1f58e9d.tar.gz brdo-856a1a539ec7eaaeb999cbb127ed5307b1f58e9d.tar.bz2 |
- Patch #662868 by David_Rothstein: user edit link should open in a overlay.
-rw-r--r-- | modules/openid/openid.module | 11 | ||||
-rw-r--r-- | modules/shortcut/shortcut.module | 10 | ||||
-rw-r--r-- | modules/user/user.module | 12 |
3 files changed, 33 insertions, 0 deletions
diff --git a/modules/openid/openid.module b/modules/openid/openid.module index 99d37cf4c..b51e13aca 100644 --- a/modules/openid/openid.module +++ b/modules/openid/openid.module @@ -49,6 +49,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(). */ function openid_help($path, $arg) { diff --git a/modules/shortcut/shortcut.module b/modules/shortcut/shortcut.module index 8e9773de1..6217d1ed4 100644 --- a/modules/shortcut/shortcut.module +++ b/modules/shortcut/shortcut.module @@ -167,6 +167,16 @@ function shortcut_menu() { } /** + * Implements hook_admin_paths(). + */ +function shortcut_admin_paths() { + $paths = array( + 'user/*/shortcuts' => TRUE, + ); + return $paths; +} + +/** * Implements hook_theme(). */ function shortcut_theme() { diff --git a/modules/user/user.module b/modules/user/user.module index 12ed82d11..03dce06c9 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1781,6 +1781,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(). */ function user_init() { |