Version 1.3.0
This commit is contained in:
1 parent
7ef3d1712a
commit
f87d29ba65
290 files changed
+50206
-17930
No files matched your search
+14
-12
@@ -2,15 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Board v1.1
|
||||
| Invision Power Board v1.3 Final
|
||||
| ========================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001,2002 Invision Power Services
|
||||
| http://www.ibforums.com
|
||||
| (c) 2001 - 2003 Invision Power Services
|
||||
| http://www.invisionpower.com
|
||||
| ========================================
|
||||
| Web: http://www.ibforums.com
|
||||
| Email: phpboards@ibforums.com
|
||||
| Licence Info: phpib-licence@ibforums.com
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: Sun, 04 Jan 2004 00:30:16 GMT
|
||||
| Release: 28e7bfb25f08ac72a789cb1b172fa185
|
||||
| Email: matt@invisionpower.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Access the help files
|
||||
@@ -114,7 +116,7 @@ class Help {
|
||||
$id = $ibforums->input['HID'];
|
||||
|
||||
if (! preg_match( "/^(\d+)$/" , $id ) ) {
|
||||
$std->Error( array( LEVEL => 1, MSG => 'no_search_id') );
|
||||
$std->Error( array( LEVEL => 1, MSG => 'no_help_file') );
|
||||
}
|
||||
|
||||
$DB->query("SELECT id, title, text from ibf_faq WHERE ID='$id'");
|
||||
@@ -126,7 +128,7 @@ class Help {
|
||||
$this->output .= $this->html->end();
|
||||
|
||||
$this->page_title = $ibforums->lang['help_topic'];
|
||||
$this->nav = array( "<a href='{$this->base_url}&act=Help'>{$ibforums->lang['help_topics']}</a>", $ibforums->lang['help_topic'] );
|
||||
$this->nav = array( "<a href='{$this->base_url}&act=Help'>{$ibforums->lang['help_topics']}</a>", $ibforums->lang['help_topic'] );
|
||||
|
||||
}
|
||||
|
||||
@@ -134,7 +136,7 @@ class Help {
|
||||
global $ibforums, $DB, $std;
|
||||
|
||||
if (empty( $ibforums->input['search_q'] ) ) {
|
||||
$std->Error( array( LEVEL => 1, MSG => 'search_no_input') );
|
||||
$std->Error( array( LEVEL => 1, MSG => 'no_help_file') );
|
||||
}
|
||||
|
||||
$search_string = strtolower( str_replace( "*" , "%", $ibforums->input['search_q'] ) );
|
||||
@@ -142,9 +144,9 @@ class Help {
|
||||
|
||||
$seen = array();
|
||||
|
||||
$this->output = $this->html->start( $ibforums->lang['search_results'], $ibforums->lang['results_txt'], $ibforums->lang['search_results'] );
|
||||
$this->output = $this->html->start( $ibforums->lang['page_title'], $ibforums->lang['results_txt'], $ibforums->lang['search_results'] );
|
||||
|
||||
$DB->query("SELECT id, title from ibf_faq WHERE LOWER(title) LIKE '%$search_string%' or LOWER(text) LIKE '%$search_string%' ORDER BY title ASC");
|
||||
$DB->query("SELECT id, title, description from ibf_faq WHERE LOWER(title) LIKE '%$search_string%' or LOWER(text) LIKE '%$search_string%' ORDER BY title ASC");
|
||||
|
||||
$cnt = 0;
|
||||
|
||||
@@ -171,7 +173,7 @@ class Help {
|
||||
$this->output .= $this->html->end();
|
||||
|
||||
$this->page_title = $ibforums->lang['page_title'];
|
||||
$this->nav = array( "<a href='{$this->base_url}&act=Help'>{$ibforums->lang['help_topics']}</a>", $ibforums->lang['results_title'] );
|
||||
$this->nav = array( "<a href='{$this->base_url}&act=Help'>{$ibforums->lang['help_topics']}</a>", $ibforums->lang['results_title'] );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user