📄 xht.lib.php
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -