diff options
| author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
|---|---|---|
| committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-22 14:04:26 +0000 |
| commit | fcb0c89962242fec72d7ed01c7049601a696e4be (patch) | |
| tree | ceb9de55f45604fc5aa55df75dcd69ce0e356f2c /phpBB/search.php | |
| parent | 61616582628fa1b6e61f5522d3e64c454e66bb5d (diff) | |
| download | forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.gz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.bz2 forums-fcb0c89962242fec72d7ed01c7049601a696e4be.tar.xz forums-fcb0c89962242fec72d7ed01c7049601a696e4be.zip | |
Cleaning up (#13689)
Also removed the useless login box from the ACP.
git-svn-id: file:///svn/phpbb/trunk@7919 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index dc8ff4599f..bf3422a7ed 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -51,14 +51,14 @@ $search_forum = request_var('fid', array(0)); if (!$auth->acl_get('u_search') || !$auth->acl_getf_global('f_search') || !$config['load_search']) { $template->assign_var('S_NO_SEARCH', true); - trigger_error($user->lang['NO_SEARCH']); + trigger_error('NO_SEARCH'); } // Check search load limit if ($user->load && $config['limit_search_load'] && ($user->load > doubleval($config['limit_search_load']))) { $template->assign_var('S_NO_SEARCH', true); - trigger_error($user->lang['NO_SEARCH_TIME']); + trigger_error('NO_SEARCH_TIME'); } // Check flood limit ... if applicable @@ -68,7 +68,7 @@ if ($interval && !$auth->acl_get('u_ignoreflood')) if ($user->data['user_last_search'] > time() - $interval) { $template->assign_var('S_NO_SEARCH', true); - trigger_error($user->lang['NO_SEARCH_TIME']); + trigger_error('NO_SEARCH_TIME'); } } @@ -124,7 +124,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) if (!sizeof($author_id_ary)) { - trigger_error($user->lang['NO_SEARCH_RESULTS']); + trigger_error('NO_SEARCH_RESULTS'); } } @@ -425,7 +425,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) // For some searches we need to print out the "no results" page directly to allow re-sorting/refining the search options. if (!sizeof($id_ary) && !$search_id) { - trigger_error($user->lang['NO_SEARCH_RESULTS']); + trigger_error('NO_SEARCH_RESULTS'); } $sql_where = ''; @@ -998,7 +998,7 @@ unset($pad_store); if (!$s_forums) { - trigger_error($user->lang['NO_SEARCH']); + trigger_error('NO_SEARCH'); } // Number of chars returned |
