📄 vars.php
字号:
<?php/* Don't remove this line */ if (!defined('XOOPS_ROOT_PATH')) { exit; }/* This file sets various arrays and variables for use in WordPress */# WordPress version$wp_version = 'for XOOPS '.get_version();# BBcode search and replace arrays$wp_bbcode['in'] = array( '#\[b](.+?)\[/b]#is', // Formatting tags '#\[i](.+?)\[/i]#is', '#\[u](.+?)\[/u]#is', '#\[s](.+?)\[/s]#is', '#\[color=(.+?)](.+?)\[/color]#is', '#\[size=(.+?)](.+?)\[/size]#is', '#\[font=(.+?)](.+?)\[/font]#is', '#\[img](.+?)\[/img]#is', // Image '#\[url](.+?)\[/url]#is', // URL '#\[url=(.+?)](.+?)\[/url]#is',# '#\[email](.+?)\[/email]#eis', // E-mail# '#\[email=(.+?)](.+?)\[/email]#eis');$wp_bbcode['out'] = array( '<strong>$1</strong>', // Formatting tags '<em>$1</em>', '<span style="text-decoration:underline">$1</span>', '<span style="text-decoration:line-through">$1</span>', '<span style="color:$1">$2</span>', '<span style="font-size:$1px">$2</span>', '<span style="font-family:$1">$2</span>', '<img src="$1" alt="" />', // Image '<a href="$1">$1</a>', // URL '<a href="$1" title="$2">$2</a>',# "'<a href=\"mailto:'.antispambot('\\1').'\">'.antispambot('\\1').'</a>'", // E-mail# '<a href="mailto:$1">$2</a>');# GreyMatter formatting search and replace arrays$wp_gmcode['in'] = array( '#\\*\*(.+?)\\*\*#is', // **bold** '#\\\\(.+?)\\\\#is', // \\italic\\ '#\__(.+?)\__#is' // __underline__);$wp_gmcode['out'] = array( '<strong>$1</strong>', '<em>$1</em>', '<span style="text-decoration:underline">$1</span>');# Translation of HTML entities and special characters$wp_htmltrans = array_flip(get_html_translation_table(HTML_ENTITIES));$wp_htmltrans['<'] = '<'; # preserve HTML$wp_htmltrans['>'] = '>'; # preserve HTML$wp_htmltransbis = array(/* '
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -