Revision 1624
Added by Dietmar over 12 years ago
- fixed index warning in form modul (Tks to DBS)
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
=============================================================================== |
13 | 13 |
|
14 |
29 Feb-2012 Build 1624 Dietmar Woellbrink (Luisehahne) |
|
15 |
# fixed index warning in form modul (Tks to DBS) |
|
14 | 16 |
29 Feb-2012 Build 1623 Dietmar Woellbrink (Luisehahne) |
15 | 17 |
# fixed FCKeditor to work in IE7/8, IE9 not tested |
16 | 18 |
! redesign filemanager FCKeditor |
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', '1623');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '1624');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/modules/form/modify.php | ||
---|---|---|
232 | 232 |
$sBody = $submission['body']; |
233 | 233 |
$regex = "/[a-z0-9\-_]?[a-z0-9.\-_]+[a-z0-9\-_]?@[a-z0-9.-]+\.[a-z]{2,}/iU"; |
234 | 234 |
preg_match ($regex, $sBody, $output); |
235 |
$submission['email'] = $output['0']; |
|
235 |
// workout if output is empty |
|
236 |
$submission['email'] = (isset($output['0']) ? $output['0'] : ''); |
|
236 | 237 |
?> |
237 | 238 |
<tr class="row_<?php echo $row; ?>"> |
238 | 239 |
<td width="20" style="padding-left: 5px;text-align: center;"> |
... | ... | |
266 | 267 |
} |
267 | 268 |
} else { |
268 | 269 |
?> |
269 |
<tr><td><?php echo $TEXT['NONE_FOUND'] ?></td></tr> |
|
270 |
<tr><td colspan="8"><?php echo $TEXT['NONE_FOUND'] ?></td></tr>
|
|
270 | 271 |
<?php |
271 | 272 |
} |
272 | 273 |
?> |
Also available in: Unified diff