Revision 1101
Added by aldus over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 |
29-July 2009 Dietrich Roland Pehlke (Aldus) |
|
15 |
# changes in framework/class.wb.php to avoid the "print->footer()" bug in the frontend, |
|
16 |
as this function/method doesn't exists for the frontend. |
|
17 |
# Changes inside index.php and save.php in settings to get rid of the situation |
|
18 |
that a SMTP-Password could not contain an "<" char (right chars are craped), |
|
19 |
and also "<" is not transformed into an entitie "<". (Thanks to FrankH) |
|
20 |
# Modify of "addon.precheck.inc.php" to get rid of the problematic that version_compare |
|
21 |
could faild if words like "alpha", "beta" are inside a version-string. (missing in changelog 1100) |
|
14 | 22 |
28-July 2009 Matthias Gallas |
15 | 23 |
# fixed some smaller issues in rss.php (Thanks to Kibmcz) |
16 | 24 |
27-July 2009 Matthias Gallas |
trunk/wb/admin/settings/save.php | ||
---|---|---|
138 | 138 |
$setting_name = $setting['name']; |
139 | 139 |
$value = $admin->get_post($setting_name); |
140 | 140 |
if ($setting_name!='wb_version') { |
141 |
$allow_tags_in_fields = array('website_header', 'website_footer'); |
|
141 |
$allow_tags_in_fields = array('website_header', 'website_footer','wbmailer_smtp_password');
|
|
142 | 142 |
if(!in_array($setting_name, $allow_tags_in_fields)) { |
143 | 143 |
$value = strip_tags($value); |
144 | 144 |
} |
trunk/wb/admin/settings/index.php | ||
---|---|---|
45 | 45 |
$results = $database->query($query); |
46 | 46 |
while($setting = $results->fetchRow()) { |
47 | 47 |
$setting_name = $setting['name']; |
48 |
$setting_value = htmlspecialchars($setting['value']);
|
|
48 |
$setting_value = ( $setting_name != 'wbmailer_smtp_password' ) ? htmlspecialchars($setting['value']) : $setting['value'];
|
|
49 | 49 |
$template->set_var(strtoupper($setting_name),$setting_value); |
50 | 50 |
} |
51 | 51 |
|
trunk/wb/framework/class.wb.php | ||
---|---|---|
299 | 299 |
$success_template->set_var('BACK', $TEXT['BACK']); |
300 | 300 |
$success_template->parse('main', 'main_block', false); |
301 | 301 |
$success_template->pparse('output', 'page'); |
302 |
if($auto_footer == true) { |
|
303 |
$this->print_footer(); |
|
302 |
if ( $auto_footer == true ) { |
|
303 |
if ( method_exists($this, "print_footer") ) { |
|
304 |
$this->print_footer(); |
|
305 |
exit(); |
|
306 |
} |
|
304 | 307 |
} |
305 |
exit(); |
|
306 | 308 |
} |
307 | 309 |
|
308 | 310 |
// Validate send email |
Also available in: Unified diff
Changes inside class.wb.php to get rid of the the print->footer() problematic in the frontend.
changtes inside the adminsettings to alowed the user to use a "<" char inside his SMTP-Password.(thanks to FrankH)
Add last changes to the changelog - missing by mistake.