? .svn ? po/.svn Index: thickbox.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/thickbox/thickbox.module,v retrieving revision 1.9.2.13 diff -u -p -r1.9.2.13 thickbox.module --- thickbox.module 1 Dec 2008 02:33:50 -0000 1.9.2.13 +++ thickbox.module 20 May 2009 08:19:15 -0000 @@ -103,6 +103,13 @@ function thickbox_menu($may_cache) { 'access' => !$user->uid, 'type' => MENU_CALLBACK ); + $items[] = array( + 'path' => 'thickbox_password', + 'title' => t('Forgot Password'), + 'callback' => 'thickbox_password', + 'access' => !$user->uid, + 'type' => MENU_CALLBACK + ); } else { // Code from the block_list funtion in block.module. @@ -131,6 +138,14 @@ function thickbox_login() { } /** + * Menu callback for thickbox_password. + */ +function thickbox_password() { + print drupal_get_form('user_pass'); + exit; +} + +/** * Loads the various js and css files. */ function _thickbox_doheader() { Index: thickbox_login.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/thickbox/thickbox_login.js,v retrieving revision 1.1.2.2 diff -u -p -r1.1.2.2 thickbox_login.js --- thickbox_login.js 6 Apr 2007 08:55:31 -0000 1.1.2.2 +++ thickbox_login.js 20 May 2009 08:19:15 -0000 @@ -1,4 +1,6 @@ // $Id: thickbox_login.js,v 1.1.2.2 2007/04/06 08:55:31 frjo Exp $ // Contributed by user jmiccolis. $(document).ready(function() { $("a[@href*='/user/login']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/login\??/,"thickbox_login?height=220&width=250&") }) }); -$(document).ready(function() { $("a[@href*='?q=user/login']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/login/,"thickbox_login&height=220&width=250") }) }); \ No newline at end of file +$(document).ready(function() { $("a[@href*='?q=user/login']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/login/,"thickbox_login&height=220&width=250") }) }); +$(document).ready(function() { $("a[@href*='/user/password']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/password\??/,"thickbox_password?height=120&width=400&") }) }); +$(document).ready(function() { $("a[@href*='?q=user/password']").addClass('thickbox').each(function() { this.href = this.href.replace(/user\/password/,"thickbox_password&height=120&width=400") }) });