themesaver.php
来自「Joomla content suine」· PHP 代码 · 共 26 行
PHP
26 行
<?phpdefined( '_JEXEC' ) or die( 'Restricted index access' );$scheme = $themecolor;$font = $typeFace;$width = $defaultWidth;$cookie_prefix = "ts-";if (isset($_SESSION[$cookie_prefix. 'scheme'])) { $scheme = $_SESSION[$cookie_prefix. 'scheme'];} elseif (isset($_COOKIE[$cookie_prefix. 'scheme'])) { $scheme = $_COOKIE[$cookie_prefix. 'scheme'];}if (isset($_SESSION[$cookie_prefix. 'font'])) { $font = $_SESSION[$cookie_prefix. 'font'];} elseif (isset($_COOKIE[$cookie_prefix. 'font'])) { $font = $_COOKIE[$cookie_prefix. 'font'];}if (isset($_SESSION[$cookie_prefix. 'width'])) { $width = $_SESSION[$cookie_prefix. 'width'];} elseif (isset($_COOKIE[$cookie_prefix. 'width'])) { $width = $_COOKIE[$cookie_prefix. 'width'];}?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?