Revision 613
Added by doc almost 17 years ago
trunk/CHANGELOG | ||
---|---|---|
10 | 10 |
# = Bugfix |
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
14 |
27-Jan-2008 Christian Sommer |
|
15 |
# added default language for users to avoid empty language fields |
|
14 | 16 |
27-Jan-2008 Matthias Gallas |
15 | 17 |
# Fixed some spelling errors in german language file |
16 |
27-Jan-2008 Thomas Hornik |
|
17 |
# Module form: dropdown "success page" listed foreign private pages, too. Fixed. |
|
18 |
+ Added preview-images for CAPTCHA. |
|
19 |
! Improved security: CAPTCHAS can't be loaded from outside WB |
|
18 |
27-Jan-2008 Thomas Hornik
|
|
19 |
# Module form: dropdown "success page" listed foreign private pages, too. Fixed.
|
|
20 |
+ Added preview-images for CAPTCHA.
|
|
21 |
! Improved security: CAPTCHAS can't be loaded from outside WB
|
|
20 | 22 |
! CAPTCHA ttf_image: added variant. Adjusted character-pool and one background for better readability. |
21 | 23 |
26-Jan-2008 Christian Sommer |
22 | 24 |
! changed WYSIWYG content field from text to longtext (allows more than 65'534 characters) |
... | ... | |
26 | 28 |
+ Added new language files |
27 | 29 |
+ Added keywords to files where they are missing |
28 | 30 |
26-Jan-2008 Thomas Hornik |
29 |
! fixed some issues with CAPTCHA and ASP. Adjusted baseline of '*' in supplyed fonts to meet |
|
30 |
baseline of numbers. Added counter to ttf_image generation-loop. Removed now unneeded GD-lib verification. |
|
31 |
Improved ASP in news-module. |
|
31 |
! fixed some issues with CAPTCHA and ASP. Adjusted baseline of '*' in supplyed fonts to meet
|
|
32 |
baseline of numbers. Added counter to ttf_image generation-loop. Removed now unneeded GD-lib verification.
|
|
33 |
Improved ASP in news-module.
|
|
32 | 34 |
+ module news: added publish_until field to control the visibility of a news-posting by date and time |
33 | 35 |
! added strongly "condensed" fonts with many intersections for ttf-CAPTCHA as default fonts. |
34 | 36 |
It should be very difficult for spam-bots to recognize intersected characters. |
trunk/wb/admin/users/add.php | ||
---|---|---|
41 | 41 |
$display_name = $admin->get_post('display_name'); |
42 | 42 |
$email = $admin->get_post('email'); |
43 | 43 |
$home_folder = $admin->get_post('home_folder'); |
44 |
$default_language = DEFAULT_LANGUAGE; |
|
44 | 45 |
|
45 | 46 |
// Create a javascript back link |
46 | 47 |
$js_back = "javascript: history.go(-1);"; |
... | ... | |
84 | 85 |
$md5_password = md5($password); |
85 | 86 |
|
86 | 87 |
// Inser the user into the database |
87 |
$query = "INSERT INTO ".TABLE_PREFIX."users (groups_id,active,username,password,display_name,home_folder,email,timezone) VALUES ('$groups_id', '$active', '$username','$md5_password','$display_name','$home_folder','$email','-72000')";
|
|
88 |
$query = "INSERT INTO ".TABLE_PREFIX."users (groups_id,active,username,password,display_name,home_folder,email,timezone, language) VALUES ('$groups_id', '$active', '$username','$md5_password','$display_name','$home_folder','$email','-72000', '$default_language')";
|
|
88 | 89 |
$database->query($query); |
89 | 90 |
if($database->is_error()) { |
90 | 91 |
$admin->print_error($database->get_error()); |
trunk/wb/install/save.php | ||
---|---|---|
473 | 473 |
. ' `timezone` INT NOT NULL DEFAULT \'0\',' |
474 | 474 |
. ' `date_format` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,' |
475 | 475 |
. ' `time_format` VARCHAR( 255 ) NOT NULL DEFAULT \'\' ,' |
476 |
. ' `language` VARCHAR( 5 ) NOT NULL DEFAULT \'\' ,' |
|
476 |
. ' `language` VARCHAR( 5 ) NOT NULL DEFAULT \'EN\' ,'
|
|
477 | 477 |
. ' `home_folder` TEXT NOT NULL ,' |
478 | 478 |
. ' `login_when` INT NOT NULL DEFAULT \'0\',' |
479 | 479 |
. ' `login_ip` VARCHAR( 15 ) NOT NULL DEFAULT \'\' ,' |
Also available in: Unified diff
added default language for users to avoid empty language fields