📄 search.tpl.php
字号:
<?php/* Copyright (C) 2003-2005 UseBB Team http://www.usebb.net $Header: /cvsroot/usebb/UseBB/templates/default/search.tpl.php,v 1.3 2005/06/30 16:45:52 pc_freak Exp $ This file is part of UseBB. UseBB 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. UseBB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with UseBB; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*///// Die when called directly in browser//if ( !defined('INCLUDED') ) exit();//// Search templates//$templates['search_form'] = ' {form_begin} <table class="maintable"> <tr> <th colspan="2">{l_Search}</th> </tr> <tr> <td class="fieldtitle">{l_SearchKeywords}</td><td>{keywords_input}<br />{keywords_explain}</td> </tr> <tr> <td class="fieldtitle">{l_SearchMode}</td><td>{mode_input}</td> </tr> <tr> <td class="fieldtitle">{l_SearchAuthor}</td><td>{author_input}</td> </tr> <tr> <td class="fieldtitle">{l_SearchForums}</td><td>{forums_input}</td> </tr> <tr> <td class="formcontrols" colspan="2">{submit_button} {reset_button}</td> </tr> </table> {form_end}';$templates['results_header'] = ' <p id="pagelinksothertop">{page_links}</p> <table class="maintable"> <tr> <td colspan="7" class="forumcat"> {l_SearchKeywords}: <em>{keywords}</em> - {l_SearchAuthor}: <em>{author}</em> <br />{l_SearchMode}: {mode} </td> </tr> <tr> <th></th> <th>{l_Forum}</th> <th>{l_Topic}</th> <th>{l_Author}</th> <th>{l_Replies}</th> <th>{l_Views}</th> <th>{l_LatestPost}</th> </tr>';$templates['results_topic'] = ' <tr> <td class="icon"><img src="{img_dir}{topic_icon}" alt="{topic_status}" /></td> <td class="atforum">{forum}</td> <td class="attopic">{topic_name}<div class="topicpagelinks">{topic_page_links}</div></td> <td class="author">{author}</td> <td class="count">{replies}</td> <td class="count">{views}</td> <td class="lastpostinfo">{by_author} <a href="{last_post_url}">>></a><br />{on_date}</td> </tr>';$templates['results_footer'] = ' </table> <p id="pagelinksotherbottom">{page_links}</p>';?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -