modifier.sanitize.php
来自「1. 记录每个帖子的访问人情况」· PHP 代码 · 共 14 行
PHP
14 行
<?phpfunction smarty_modifier_sanitize($text, $spec) { if ($spec == '1') { global $mt; $ctx =& $mt->context(); $blog = $ctx->stash('blog'); $spec = $blog['blog_sanitize_spec']; $spec or $spec = $mt->config['GlobalSanitizeSpec']; } require_once("sanitize_lib.php"); return sanitize($text, $spec);}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?