xht.lib.php

来自「完美的在线教育系统」· PHP 代码 · 共 32 行

PHP
32
字号
<?php /*                                                    <!-- xht.lib.php -->                                         <!-- XML HTML Templates, 2006/12/14 --><!-- Copyright (C) 2006 rene.haentjens@UGent.be - see note at end of text    --><!-- Released under the GNU GPL V2, see http://www.gnu.org/licenses/gpl.html -->*//**============================================================================== *	This is an XML HTML template library.*	Include/require it in your code to use its functionality.**   This library defines function xht_htmlwchars & class xhtdoc with methods:*   - xht_fill_template($template_name)*   - xht_substitute($subtext)*   *   Check htt_error after defining a new xhtdoc(htt_file_contents).*   *   Assign xht_xmldoc (, xht_get_lang, xht_resource, xht_dbgn) *   before calling the class methods.**	@package dokeos.library============================================================================== */function xht_htmlwchars($s)  // use only where ISO-8859-1 is not required!{    return ereg_replace('\[((/?(b|big|i|small|sub|sup|u))|br/)\]', '<\\1>',         str_replace('@

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?