help_index.php.t
来自「eGroupWare is a multi-user, web-based gr」· T 代码 · 共 53 行
T
53 行
<?php/**************************************************************************** copyright : (C) 2001-2003 Advanced Internet Designs Inc.* email : forum@prohost.org* $Id: help_index.php.t,v 1.1.1.1 2003/10/17 21:11:28 ralfbecker Exp $** This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or * (at your option) any later version.***************************************************************************//*{PRE_HTML_PHP}*/ $section = isset($_GET['section']) ? $_GET['section'] : ''; switch ($section) { case 'usermaintance': case 'boardusage': case 'readingposting': $file = '{THEME_ROOT_DISK}/help/' . $section . '.hlp'; $return_top = '{TEMPLATE: return_top}'; break; default: $file = '{THEME_ROOT_DISK}/help/faq_index.hlp'; $return_top = ''; } ses_update_status($usr->sid, '{TEMPLATE: help_index_update}'); $TITLE_EXTRA = ': {TEMPLATE: help_title}';/*{POST_HTML_PHP}*/ $str = file_get_contents($file); $tt_len = strlen('TOPIC_TITLE:'); $th_len = strlen('TOPIC_HELP:'); $help_section_data = ''; while (($str = strstr($str, 'TOPIC_TITLE:')) !== false) { $end_of = strpos($str, "\n"); $topic_title = substr($str, $tt_len, $end_of-$tt_len); $str = strstr($str, 'TOPIC_HELP:'); $str = substr($str, $th_len); $end_of_str = strstr($str, 'TOPIC_TITLE:'); $topic_help = substr($str, 0, strlen($str)-strlen($end_of_str)); $str = $end_of_str; $rs = _rsid; $topic_help = str_replace('%_rsid%', $rs, $topic_help); $help_section_data .= '{TEMPLATE: help_section}'; }/*{POST_PAGE_PHP_CODE}*/?>{TEMPLATE: HELP_PAGE}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?