default_pre .= 'list_404.htm'; break; default: $pre .= $default_pre .= theme_mode_pre(); break; } if ($config['theme']) { $conffile = APP_PATH . 'view/template/' . $config['theme'] . '/conf.json'; $json = is_file($conffile) ? xn_json_decode(file_get_contents($conffile)) : array(); } !empty($json['installed']) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . ($id ? $id . '_' : '') . $pre; (empty($path_file) || !is_file($path_file)) and $path_file = APP_PATH . 'view/template/' . $config['theme'] . '/htm/' . $pre; if (!empty($config['theme_child']) && is_array($config['theme_child'])) { foreach ($config['theme_child'] as $theme) { if (empty($theme) || is_array($theme)) continue; $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . ($id ? $id . '_' : '') . $pre; !is_file($path_file) and $path_file = APP_PATH . 'view/template/' . $theme . '/htm/' . $pre; } } !is_file($path_file) and $path_file = APP_PATH . ($dir ? 'plugin/' . $dir . '/view/htm/' : 'view/htm/') . $default_pre; return $path_file; } function theme_mode_pre($type = 0) { global $config; $mode = $config['setting']['website_mode']; $pre = ''; if (1 == $mode) { $pre .= 2 == $type ? 'portal_category.htm' : 'portal.htm'; } elseif (2 == $mode) { $pre .= 2 == $type ? 'flat_category.htm' : 'flat.htm'; } else { $pre .= 2 == $type ? 'index_category.htm' : 'index.htm'; } return $pre; } ?>vimplus

linux:vimplus

From : http:wwwblogshighway-9p5984285.html From : http:wwwblogsma6174archive201112102283393.html From : h

2024-10-6380

超级强大的vim配置(vimplus)

转自:https:cloud.tencentdeveloperarticle1058322 最近在重新配置Vim,也在GitHub上找了三个star和fork数目很高的方案&#

2024-10-61020

Ubuntu Linux下vimplus的安装及使用

文章目录 Ubuntu Linux下vimplus的安装及使用1. 安装1.1 版本要求1.2 安装步骤1.3 个性化 2. 设置字体3. 运行测试一下4. 主要功能快捷键附录插件相关插入模式缓存操作窗口操作光标移动文本编辑文件操作使用外部

2024-10-4450

最强 vim 插件vimplus

An automatic configuration program for vim 安装Mac OS X安装[HomeBrew][3]安装vimplus设置Nerd Font更新vimplusLinux 64-bit支持以下发行版安装vi

2024-10-4590