Commit 0158c920 authored by Steven Wittens's avatar Steven Wittens

Committed filter separation patch: all filter-related things are now in...

Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage.

(based on the patch by Goba)
parent 30fb2345
......@@ -361,7 +361,7 @@ function import_refresh($feed) {
// Prepare the item:
foreach ($item as $key => $value) {
$item[$key] = node_filter(strtr(trim($value), $tt));
$item[$key] = filter_default(strtr(trim($value), $tt));
}
if ($item["TITLE"]) {
......
......@@ -361,7 +361,7 @@ function import_refresh($feed) {
// Prepare the item:
foreach ($item as $key => $value) {
$item[$key] = node_filter(strtr(trim($value), $tt));
$item[$key] = filter_default(strtr(trim($value), $tt));
}
if ($item["TITLE"]) {
......
......@@ -361,7 +361,7 @@ function import_refresh($feed) {
// Prepare the item:
foreach ($item as $key => $value) {
$item[$key] = node_filter(strtr(trim($value), $tt));
$item[$key] = filter_default(strtr(trim($value), $tt));
}
if ($item["TITLE"]) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment