Revision 235
Added by ryan about 19 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.6.0 ------------------------------------- |
14 |
20-Nov-2005 Ryan Djurovich |
|
15 |
! News mod now hides read more link if no need for it (see ticket #56) |
|
16 |
+ Added support for mailto: links in the menu link mod |
|
17 |
# Added direct-access redirection on some files (see ticket #37) |
|
18 |
+ Added extra characters to convert.php (see ticket #64) |
|
19 |
# Fixed ticket #65 (last_reset check in account/forgot_form.php) |
|
14 | 20 |
29-Sep-2005 Ryan Djurovich |
15 | 21 |
! Cleaned up form buttons in Settings |
16 | 22 |
! Moved some options into Advanced Settings |
trunk/wb/languages/EN.php | ||
---|---|---|
388 | 388 |
$TEXT['RESTORE_MEDIA'] = 'Restore Media'; |
389 | 389 |
$TEXT['ADMINISTRATION_TOOL'] = 'Administration tool'; |
390 | 390 |
$TEXT['CAPTCHA_VERIFICATION'] = 'Captcha Verification'; |
391 |
$TEXT['VERIFICATION'] = 'Verification'; |
|
391 | 392 |
|
392 | 393 |
|
393 | 394 |
// Success/error messages |
trunk/wb/modules/form/view.php | ||
---|---|---|
190 | 190 |
for($i = 0; $i < 5; $i++) { |
191 | 191 |
$_SESSION['captcha'] .= rand(0,9); |
192 | 192 |
} |
193 |
?><tr><td class="field_title">Verification:</td><td>
|
|
193 |
?><tr><td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td><td>
|
|
194 | 194 |
<table cellpadding="2" cellspacing="0" border="0"> |
195 | 195 |
<tr><td><img src="<?php echo WB_URL; ?>/include/captcha.php" alt="Captcha" /></td> |
196 | 196 |
<td><input type="text" name="captcha" maxlength="5" /></td> |
... | ... | |
313 | 313 |
// Now send the email |
314 | 314 |
if($email_to != '') { |
315 | 315 |
if($email_from != '') { |
316 |
if(mail($email_to,$email_subject,str_replace('\n', '', $email_body),"From: ".$email_from)) { $success = true; }
|
|
316 |
if(mail($email_to,$email_subject,str_replace("\n", '', $email_body),"From: ".$email_from)) { $success = true; }
|
|
317 | 317 |
} else { |
318 |
if(mail($email_to,$email_subject,str_replace('\n', '', $email_body))) { $success = true; }
|
|
318 |
if(mail($email_to,$email_subject,str_replace("\n", '', $email_body))) { $success = true; }
|
|
319 | 319 |
} |
320 | 320 |
} |
321 | 321 |
// Write submission to database |
trunk/wb/config.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
define('DB_TYPE', 'mysql'); |
|
4 |
define('DB_HOST', 'localhost'); |
|
5 |
define('DB_USERNAME', 'root'); |
|
6 |
define('DB_PASSWORD', 'password'); |
|
7 |
define('DB_NAME', 'wb'); |
|
8 |
define('TABLE_PREFIX', ''); |
|
9 |
|
|
10 |
define('WB_PATH', dirname(__FILE__)); |
|
11 |
define('WB_URL', 'http://localhost/workspace/websitebaker2/wb'); |
|
12 |
define('ADMIN_PATH', WB_PATH.'/admin'); |
|
13 |
define('ADMIN_URL', 'http://localhost/workspace/websitebaker2/wb/admin'); |
|
14 |
|
|
15 |
require_once(WB_PATH.'/framework/initialize.php'); |
|
16 |
|
|
17 |
?> |
|
1 |
<?php ?> |
Also available in: Unified diff
Updated CHANGELOG and some other files