[geeklog-cvs] Geeklog-1.x/public_html usersettings.php, 1.172, 1.173
Blaine Lang
blaine at qs1489.pair.com
Sat May 31 15:49:38 EDT 2008
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/system lib-custom.php,1.39,1.40
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/language afrikaans.php, 1.4, 1.5 afrikaans_utf-8.php, 1.4, 1.5 bosnian.php, 1.9, 1.10 bosnian_utf-8.php, 1.4, 1.5 bulgarian.php, 1.14, 1.15 bulgarian_utf-8.php, 1.5, 1.6 catalan.php, 1.6, 1.7 catalan_utf-8.php, 1.4, 1.5 chinese_simplified_utf-8.php, 1.16, 1.17 chinese_traditional_utf-8.php, 1.16, 1.17 croatian.php, 1.12, 1.13 croatian_utf-8.php, 1.9, 1.10 czech.php, 1.13, 1.14 czech_utf-8.php, 1.5, 1.6 danish.php, 1.13, 1.14 danish_utf-8.php, 1.4, 1.5 dutch.php, 1.28, 1.29 dutch_utf-8.php, 1.4, 1.5 english.php, 1.336, 1.337 english_utf-8.php, 1.120, 1.121
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv65923/public_html
Modified Files:
usersettings.php
Log Message:
Added a call to CUSTOM_usercheck when editing a user under My Account if custom registratrion is enabled
Test for a numeric return and if not set or not numeric display a generic message
Added new generic message to language file for CUSTOM membership edit validation failed
Index: usersettings.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v
retrieving revision 1.172
retrieving revision 1.173
diff -C2 -d -r1.172 -r1.173
*** usersettings.php 17 May 2008 11:00:49 -0000 1.172
--- usersettings.php 31 May 2008 19:49:36 -0000 1.173
***************
*** 903,906 ****
--- 903,912 ----
return COM_refresh ($_CONF['site_url']
. '/usersettings.php?mode=edit&msg=83');
+ } elseif ($_CONF['custom_registration'] &&
+ function_exists ('CUSTOM_userCheck')) {
+ $ret = CUSTOM_userCheck ($A['username'], $A['email']);
+ // Need a numeric return for the default message hander - if not numeric use default message
+ if (!is_numeric($ret)) $ret = 97;
+ return COM_refresh ("{$_CONF['site_url']}/usersettings.php?mode=edit&msg={$ret}");
}
}
- Previous message (by thread): [geeklog-cvs] Geeklog-1.x/system lib-custom.php,1.39,1.40
- Next message (by thread): [geeklog-cvs] Geeklog-1.x/language afrikaans.php, 1.4, 1.5 afrikaans_utf-8.php, 1.4, 1.5 bosnian.php, 1.9, 1.10 bosnian_utf-8.php, 1.4, 1.5 bulgarian.php, 1.14, 1.15 bulgarian_utf-8.php, 1.5, 1.6 catalan.php, 1.6, 1.7 catalan_utf-8.php, 1.4, 1.5 chinese_simplified_utf-8.php, 1.16, 1.17 chinese_traditional_utf-8.php, 1.16, 1.17 croatian.php, 1.12, 1.13 croatian_utf-8.php, 1.9, 1.10 czech.php, 1.13, 1.14 czech_utf-8.php, 1.5, 1.6 danish.php, 1.13, 1.14 danish_utf-8.php, 1.4, 1.5 dutch.php, 1.28, 1.29 dutch_utf-8.php, 1.4, 1.5 english.php, 1.336, 1.337 english_utf-8.php, 1.120, 1.121
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the geeklog-cvs
mailing list