Project

General

Profile

« Previous | Next » 

Revision 1017

Added by Ruud almost 15 years ago

Fixed a small bug in output_filter. Did not detect the included script from /droplet/js/ directory.

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
27-June-2009 Ruud Eisinga
15
#	Fixed email encryption bug in output filter. Introduced by adding droplets.
16
	(Thanks to Luisehahne)
14 17
25-June-2009 Matthias Gallas
15 18
+	Added missing admin/settings/setting.js
16 19
!	Changed name of classic theme from "classic" to "classic_theme"
trunk/wb/modules/output_filter/filter-routines.php
78 78
						
79 79
			// check if Javascript mailto encryption is enabled (call register_frontend_functions in the template)
80 80
			$search = '<script type="text/javascript" src="' .WB_URL .'/modules/output_filter/js/mdcr.js"></script>';
81
			if(strpos($content, $search) !== false) { 
81
			$search_droplet = '<script type="text/javascript" src="' .WB_URL .'/modules/droplets/js/mdcr.js"></script>';
82
			if(strpos($content, $search) !== false || strpos($content, $search_droplet) !== false) { 
82 83
				$output_filter_mode = $output_filter_mode + 4;							// 0|4
83 84
			}
84 85
		}

Also available in: Unified diff