|
@@ 2212-2221 (lines=10) @@
|
| 2209 |
|
*/ |
| 2210 |
|
function _load_filters() |
| 2211 |
|
{ |
| 2212 |
|
if (count($this->_plugins['prefilter']) > 0) { |
| 2213 |
|
foreach ($this->_plugins['prefilter'] as $filter_name => $prefilter) { |
| 2214 |
|
if ($prefilter === false) { |
| 2215 |
|
unset($this->_plugins['prefilter'][$filter_name]); |
| 2216 |
|
$_params = array('plugins' => array(array('prefilter', $filter_name, null, null, false))); |
| 2217 |
|
require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
| 2218 |
|
smarty_core_load_plugins($_params, $this); |
| 2219 |
|
} |
| 2220 |
|
} |
| 2221 |
|
} |
| 2222 |
|
if (count($this->_plugins['postfilter']) > 0) { |
| 2223 |
|
foreach ($this->_plugins['postfilter'] as $filter_name => $postfilter) { |
| 2224 |
|
if ($postfilter === false) { |
|
@@ 2222-2231 (lines=10) @@
|
| 2219 |
|
} |
| 2220 |
|
} |
| 2221 |
|
} |
| 2222 |
|
if (count($this->_plugins['postfilter']) > 0) { |
| 2223 |
|
foreach ($this->_plugins['postfilter'] as $filter_name => $postfilter) { |
| 2224 |
|
if ($postfilter === false) { |
| 2225 |
|
unset($this->_plugins['postfilter'][$filter_name]); |
| 2226 |
|
$_params = array('plugins' => array(array('postfilter', $filter_name, null, null, false))); |
| 2227 |
|
require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
| 2228 |
|
smarty_core_load_plugins($_params, $this); |
| 2229 |
|
} |
| 2230 |
|
} |
| 2231 |
|
} |
| 2232 |
|
} |
| 2233 |
|
|
| 2234 |
|
|