mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 03:16:25 +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) {
|
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;
|
$MaxMatches = 500000;
|
||||||
}
|
}
|
||||||
$this->SetLimits((int)$Start, (int)$Length, $MaxMatches, 0);
|
$this->SetLimits((int)$Start, (int)$Length, $MaxMatches, 0);
|
||||||
|
@ -538,6 +538,12 @@ function header_link($SortKey,$DefaultWay="desc") {
|
|||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
||||||
<table class="cat_list">
|
<table class="cat_list">
|
||||||
<?
|
<?
|
||||||
|
Loading…
Reference in New Issue
Block a user