Project

General

Profile

« Previous | Next » 

Revision 1615

Added by Dietmar over 12 years ago

+ Validationfix, add qx_rawlang.php in quickSkin_alpha to solve
<a> escaping malformed URI reference messages in javascript
! fixed magic_quotes_gpc=on, magic_quotes going to be removed in PHP6.
and some hoster do not set it to off

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
18 Feb-2012 Build 1615 Dietmar Woellbrink (Luisehahne)
15
+ Validationfix, add qx_rawlang.php in quickSkin_alpha to solve
16
  <a> escaping malformed URI reference messages in javascript
17
! fixed magic_quotes_gpc=on, magic_quotes going to be removed in PHP6.
18
  and some hoster do not set it to off  
14 19
18 Feb-2012 Build 1614 Dietmar Woellbrink (Luisehahne)
15 20
# fixed tabindex in installer (Tks to Easyuser)
16 21
# fixed installer call in /admin/index.php
branches/2.8.x/wb/include/quickSkin_alpha/_lib/qx/qx_rawlang.php
1
<?php
2

  
3
function qx_rawlang($var) {
4
	$retval = '{'.$var.'}';
5
	$arr = explode('_', $var);
6
	$var0 = array_shift($arr);
7
	while( sizeof($arr) > 0 ) {
8
		$var1 = implode('_', $arr);
9
		$retval = ( isset($GLOBALS[$var0][$var1]) ? $GLOBALS[$var0][$var1] : $retval );
10
		$var0 .= '_'.array_shift($arr);
11
	}
12
	return rawurlencode ($retval);
13
}
0 14

  
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', '1614');
54
if(!defined('REVISION')) define('REVISION', '1615');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/wysiwyg/save.php
38 38
// Update the mod_wysiwygs table with the contents
39 39
if(isset($_POST['content'.$section_id])) {
40 40
    $content = $_POST['content'.$section_id];
41
	if(version_compare(PHP_VERSION, '5.3.0', '<'))
41
	if(ini_get('magic_quotes_gpc')==true)
42 42
	{
43 43
		$content = $admin->strip_slashes($_POST['content'.$section_id]);
44 44
	}

Also available in: Unified diff