root/branches/release-40/php/lib/modifier.filters.php @ 2587

Revision 2587, 399 bytes (checked in by takayama, 18 months ago)

Fixed BugId:80186
* Changed to be able to apply multiple filters

  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2# Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd.
3# This program is distributed under the terms of the
4# GNU General Public License, version 2.
5#
6# $Id$
7
8function smarty_modifier_filters($text,$filters) {
9    // status: complete
10    global $mt;
11    $ctx =& $mt->context();
12    require_once 'MTUtil.php';
13    $text = apply_text_filter($ctx, $text, $filters);
14
15    return $text;
16}
17?>
Note: See TracBrowser for help on using the browser.