Project

General

Profile

« Previous | Next » 

Revision 1635

Added by Dietmar over 12 years ago

fallback signuo2.php revision 1633

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14

  
15
09 Mar-2012 Build 1635 Dietmar Woellbrink (Luisehahne)
16
! fallback signuo2.php revision 1633
14 17
09 Mar-2012 Build 1634 Dietmar Woellbrink (Luisehahne)
15 18
! update language files and rework some core files (read DEVINFOS)
16 19
! compress mdcr.js
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1634');
54
if(!defined('REVISION')) define('REVISION', '1635');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/account/signup2.php
42 42
if($groups_id == "") {
43 43
	$wb->print_error($MESSAGE['USERS_NO_GROUP'], $js_back, false);
44 44
}
45
if(!preg_match('/^[a-z]{1}[a-z0-9._-]{2,}$/i', $username)) {
45
if(!preg_match('/^[a-z]{1}[a-z0-9_-]{2,}$/i', $username)) {
46 46
	$wb->print_error( $MESSAGE['USERS_NAME_INVALID_CHARS'].' / '.
47 47
	                  $MESSAGE['USERS_USERNAME_TOO_SHORT'], $js_back);
48 48
}
......
113 113
} else {
114 114
	// Setup email to send
115 115
	$mail_to = $email;
116
	$mail_subject = $MESSAGE['SIGNUP2']['SUBJECT_LOGIN_INFO'];
116
	$mail_subject = $MESSAGE['SIGNUP2_SUBJECT_LOGIN_INFO'];
117 117

  
118 118
	// Replace placeholders from language variable with values
119 119
	$search = array('{LOGIN_DISPLAY_NAME}', '{LOGIN_WEBSITE_TITLE}', '{LOGIN_NAME}', '{LOGIN_PASSWORD}');
branches/2.8.x/DEVINFOS
1 1
WebsiteBaker 2.8.3 Developing Instructions/Informations
2 2
=======================================================
3
$Id:  $
4 3

  
4
$Id: DEVINFOS 1634 2012-03-09 02:20:16Z Luisehahne $
5 5

  
6 6

  
7
09 Mar-2012 Build 1634 change in language files
8
-----------------------------------------------
9
$MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] the const SERVER_EMAIL to a var {SERVER_EMAIL}
10
If you use it you have to replace as follows
7

  
8
09 Mar-2012 Build 1634
9
----------------------
10
If using the $MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'] in your module, please add
11
following code to your script
11 12
[code]
12 13
$search = array('{SERVER_EMAIL}');
13 14
$replace = array( SERVER_EMAIL);

Also available in: Unified diff