- Patch #662868 by David_Rothstein: user edit link should open in a overlay.
parent
603d33649b
commit
856a1a539e
|
@ -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().
|
* Implements hook_help().
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -166,6 +166,16 @@ function shortcut_menu() {
|
||||||
return $items;
|
return $items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_admin_paths().
|
||||||
|
*/
|
||||||
|
function shortcut_admin_paths() {
|
||||||
|
$paths = array(
|
||||||
|
'user/*/shortcuts' => TRUE,
|
||||||
|
);
|
||||||
|
return $paths;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements hook_theme().
|
* 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().
|
* Implements hook_init().
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue