Revision 1534
Added by darkviper almost 14 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
=========================== add small Features 2.8.2 ========================== |
| 14 |
08 Dez-2011 Build 1534 Werner v.d.Decken(DarkViper) |
|
| 15 |
# /output_filter/filter-routines.php rel-URL Filter fixed for mailto-links |
|
| 14 | 16 |
08 Dez-2011 Build 1533 Dietmar Woellbrink (Luisehahne) |
| 15 | 17 |
+ new backend theme handling (Tks to Stefek) |
| 16 | 18 |
# some fixes in install |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1533');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1534');
|
|
| 56 | 56 |
if(!defined('SP')) define('SP', 'SP2');
|
| branches/2.8.x/wb/modules/output_filter/filter-routines.php | ||
|---|---|---|
| 89 | 89 |
create_function('$matches',
|
| 90 | 90 |
'$retval = $matches[0]; '. |
| 91 | 91 |
'$h = parse_url($matches[2], PHP_URL_HOST); '. |
| 92 |
'if(stripos(WB_URL, $h) !== false) { '.
|
|
| 93 |
'$a = parse_url($matches[2]); '.
|
|
| 94 |
'$p = (isset($a[\'path\']) ? $a[\'path\'] : \'\'); '.
|
|
| 95 |
'$q = (isset($a[\'query\']) ? \'?\'.$a[\'query\'] : \'\'); '.
|
|
| 96 |
'$f = (isset($a[\'fragment\']) ? \'#\'.$a[\'fragment\'] : \'\'); '.
|
|
| 97 |
'$p .= ($q.$f); '.
|
|
| 98 |
'$retval = $matches[1]."/".(isset($p) ? ltrim(str_replace("//", "/", $p), "/") : "").$matches[3]; '.
|
|
| 99 |
'} '.
|
|
| 100 |
'return $retval;'),
|
|
| 92 |
'if(isset($h) && $h != \'\') { '.
|
|
| 93 |
'if(stripos(WB_URL, $h) !== false) { '.
|
|
| 94 |
'$a = parse_url($matches[2]); '.
|
|
| 95 |
'$p = (isset($a[\'path\']) ? $a[\'path\'] : \'\'); '.
|
|
| 96 |
'$q = (isset($a[\'query\']) ? \'?\'.$a[\'query\'] : \'\'); '.
|
|
| 97 |
'$f = (isset($a[\'fragment\']) ? \'#\'.$a[\'fragment\'] : \'\'); '.
|
|
| 98 |
'$p .= ($q.$f); '.
|
|
| 99 |
'$retval = $matches[1]."/".(isset($p) ? ltrim(str_replace("//", "/", $p), "/") : "").$matches[3]; '.
|
|
| 100 |
'}} return $retval;'),
|
|
| 101 | 101 |
$content); |
| 102 | 102 |
return $content; |
| 103 | 103 |
} |
Also available in: Unified diff
filter-routines.php rel-URL Filter fixed for mailto-links