| 1 |
<?php |
<?php |
| 2 |
// $Id: geshifilter.conflicts.inc,v 1.1.2.3 2008/02/19 10:23:27 soxofaan Exp $ |
// $Id: geshifilter.conflicts.inc,v 1.1.2.4 2008/05/01 17:01:02 soxofaan Exp $ |
| 3 |
|
|
| 4 |
require_once('geshifilter.inc'); |
require_once('geshifilter.inc'); |
| 5 |
|
|
| 76 |
// check tag escaping of html filter |
// check tag escaping of html filter |
| 77 |
if (variable_get("filter_html_$format", FILTER_HTML_STRIP) == FILTER_HTML_ESCAPE) { |
if (variable_get("filter_html_$format", FILTER_HTML_STRIP) == FILTER_HTML_ESCAPE) { |
| 78 |
$conflicts[] = array( |
$conflicts[] = array( |
| 79 |
'description' => t('%cfilter is configured to "%escape", which is likely to cause propblems with %geshifilter.', |
'description' => t('%cfilter is configured to "Escape all tags", which is likely to cause propblems with %geshifilter.', |
| 80 |
array('%cfilter' => $cfilter->name, '%geshifilter' => $geshifilter->name, '%escape' => t('Escape all tags'))), |
array('%cfilter' => $cfilter->name, '%geshifilter' => $geshifilter->name)), |
| 81 |
'solution' => l(t('Configure HTML filtering to "%strip"', array('%strip'=> t('Strip disallowed tags'))), "admin/settings/filters/$format/configure", array(), NULL, NULL, FALSE, TRUE), |
'solution' => l(t('Configure HTML filtering to "Strip disallowed tags"'), "admin/settings/filters/$format/configure", array(), NULL, NULL, FALSE, TRUE), |
| 82 |
); |
); |
| 83 |
} |
} |
| 84 |
return $conflicts; |
return $conflicts; |