Project

General

Profile

« Previous | Next » 

Revision 1289

Added by kweitzel over 14 years ago

Branch 2.8.1 merged back into Trunk

View differences:

EmailFilter.php
1
//:Emailfiltering on your output - output filtering with the options below - Mailto links can be encrypted by a Javascript 
2
//:usage:  [[EmailFilter]] 
+//:Emailfiltering on your output - output filtering with the options below - Mailto links can be encrypted by a Javascript
1
//:usage:  [[EmailFilter]] 
3 2
 
4 3
// You can configure the output filtering with the options below.
5 4
// Tip: Mailto links can be encrypted by a Javascript function. 
......
40 40
	$output_filter_mode = $output_filter_mode + 2;								// 0|2
41 41
					
42 42
	// check if Javascript mailto encryption is enabled (call register_frontend_functions in the template)
43
	$search = '<script type="text/javascript" src="' .WB_URL .'/modules/droplets/js/mdcr.js"></script>';
43
	$search = '<script src="' .WB_URL .'/modules/droplets/js/mdcr.js" type="text/javascript"></script>';
44 44
	if(strpos($wb_page_data, $search) !== false) { 
45 45
		$output_filter_mode = $output_filter_mode + 4;							// 0|4
46 46
	}

Also available in: Unified diff