mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
9c7079266d
commit
b56f584f50
@ -136,7 +136,7 @@ function search($Query='', $CachePrefix='', $CacheLength=0, $ReturnData=array(),
|
||||
}
|
||||
|
||||
function limit($Start, $Length, $MaxMatches=SPHINX_MATCHES_START) {
|
||||
if(check_perms('site_search_many')) {
|
||||
if(check_perms('site_search_many') && empty($_GET['limit_matches'])) {
|
||||
$MaxMatches = 500000;
|
||||
}
|
||||
$this->SetLimits((int)$Start, (int)$Length, $MaxMatches, 0);
|
||||
|
@ -538,6 +538,12 @@ function header_link($SortKey,$DefaultWay="desc") {
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<? if(check_perms('site_search_many')) { ?>
|
||||
<tr>
|
||||
<td class="label">Limited search results:</td>
|
||||
<td><input type="checkbox" value="1" name="limit_matches" <?selected('limit_matches',1,'checked')?> /></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
</table>
|
||||
<table class="cat_list">
|
||||
<?
|
||||
|
Loading…
Reference in New Issue
Block a user