[ PHPXref.com ] [ Generated: Sun Jul 20 16:35:25 2008 ] [ bBlog 0.7.6 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/bblog/bBlog_plugins/ -> modifier.htmlspecialchars.php (source)

   1  <?php
   2  /*
   3  ** bBlog Weblog http://www.bblog.com/
   4  ** Copyright (C) 2003  Eaden McKee <email@eadz.co.nz>
   5  **
   6  ** This program is free software; you can redistribute it and/or modify
   7  ** it under the terms of the GNU General Public License as published by
   8  ** the Free Software Foundation; either version 2 of the License, or
   9  ** (at your option) any later version.
  10  **
  11  ** This program is distributed in the hope that it will be useful,
  12  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  13  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14  ** GNU General Public License for more details.
  15  **
  16  ** You should have received a copy of the GNU General Public License
  17  ** along with this program; if not, write to the Free Software
  18  ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  19  */
  20  function identify_modifier_htmlspecialchars () {
  21      return array (
  22      'name'           =>'htmlspecialchars',
  23      'type'             =>'smarty_modifier',
  24      'nicename'     =>'HTML Special Chars',
  25      'description'   =>'Converts HTML Special Chars to form-friendly entities',
  26      'authors'        =>'',
  27      'licence'         =>'',
  28      'help'        => ''
  29    );
  30  }
  31  
  32  function smarty_modifier_htmlspecialchars ($in) {
  33      return htmlspecialchars($in);
  34  }
  35  
  36  
  37  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]