Project

General

Profile

« Previous | Next » 

Revision 1697

Added by Dietmar over 12 years ago

  1. Bugfixed issues whith storing text for Search function on WYSIWYG module.
  2. Html tags where not filtered out.

View differences:

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

  
14

  
14
27 Aug-2012 Build 1697 Dietmar Woellbrink (Luisehahne)
15
# Bugfixed issues whith storing text for Search function on WYSIWYG module.
16
# Html tags where not filtered out.
17
27 Aug-2012 Build 1696 Dietmar Woellbrink (Luisehahne)
18
! move extra handling of menu links in index.php to the view.php of module menu links {Tks to NorHei)
15 19
18 Aug-2012 Build 1695 Dietmar Woellbrink (Luisehahne)
16 20
# fixed $install_tables in install/save.php 
17 21
18 Aug-2012 Build 1694 Dietmar Woellbrink (Luisehahne)
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', '1695');
54
if(!defined('REVISION')) define('REVISION', '1697');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/modules/wysiwyg/save.php
46 46
    $content = preg_replace($searchfor, '$1{SYSVAR:MEDIA_REL}$3', $content);
47 47
	// searching in $text will be much easier this way
48 48
    $content = mysql_real_escape_string ($content);
49
	$text = umlauts_to_entities($content, strtoupper(DEFAULT_CHARSET), 0);
49
	$text = umlauts_to_entities(strip_tags($content), strtoupper(DEFAULT_CHARSET), 0);
50 50
	$sql  = 'UPDATE `'.TABLE_PREFIX.'mod_wysiwyg` ';
51 51
	$sql .= 'SET `content`=\''.$content.'\', `text`=\''.$text.'\' ';
52 52
	$sql .= 'WHERE `section_id`='.(int)$section_id;

Also available in: Unified diff