mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 10:14:47 +02:00
- search result extract shouldn't end in the middle of a multibyte character [Bug #11863]
- missing localisation for an imageset shouldn't create lots of "imageset refreshed" log messages [Bug #12027] - explain that themes which need parsing cannot be stored on the filesystem [Bug #11134] - normalize usernames (we really need to make sure we normalize everything) - improved utf8_clean_string, more complete list of homographs and NFKC normalization, also the resulting string is now trimmed - corrected searching subforums explanation [Bug #12209] git-svn-id: file:///svn/phpbb/trunk@7890 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -44,7 +44,7 @@ $sort_days = request_var('st', 0);
|
||||
$sort_key = request_var('sk', 't');
|
||||
$sort_dir = request_var('sd', 'd');
|
||||
|
||||
$return_chars = request_var('ch', ($topic_id) ? -1 : 200);
|
||||
$return_chars = request_var('ch', ($topic_id) ? -1 : 300);
|
||||
$search_forum = request_var('fid', array(0));
|
||||
|
||||
// Is user able to search? Has search been disabled?
|
||||
@@ -476,7 +476,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
||||
$u_search .= ($u_search_forum) ? '&fid%5B%5D=' . $u_search_forum : '';
|
||||
$u_search .= (!$search_child) ? '&sc=0' : '';
|
||||
$u_search .= ($search_fields != 'all') ? '&sf=' . $search_fields : '';
|
||||
$u_search .= ($return_chars != 200) ? '&ch=' . $return_chars : '';
|
||||
$u_search .= ($return_chars != 300) ? '&ch=' . $return_chars : '';
|
||||
|
||||
$template->assign_vars(array(
|
||||
'SEARCH_TITLE' => $l_search_title,
|
||||
@@ -1009,7 +1009,7 @@ $s_characters .= '<option value="50">50</option>';
|
||||
|
||||
for ($i = 100; $i <= 1000 ; $i += 100)
|
||||
{
|
||||
$selected = ($i == 200) ? ' selected="selected"' : '';
|
||||
$selected = ($i == 300) ? ' selected="selected"' : '';
|
||||
$s_characters .= '<option value="' . $i . '"' . $selected . '>' . $i . '</option>';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user