mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
289d270c1c
commit
6f99b27383
@ -297,7 +297,19 @@ public function order_group_by($Attribute, $Mode) {
|
||||
*/
|
||||
public function limit($Offset, $Limit, $MaxMatches = SPHINX_MATCHES_START) {
|
||||
$this->Limits = "$Offset, $Limit";
|
||||
$this->Options['max_matches'] = $MaxMatches;
|
||||
$this->set('max_matches', $MaxMatches);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tweak the settings to use for the query. Sanity checking shouldn't be needed as Sphinx already does it
|
||||
*
|
||||
* @param string $Name setting name
|
||||
* @param mixed $Value value
|
||||
* @return current SphinxQL query object
|
||||
*/
|
||||
public function set($Name, $Value) {
|
||||
$this->Options[$Name] = $Value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
@ -531,7 +531,7 @@ function compare($X, $Y){
|
||||
<div class="head"><strong>Search File Lists</strong></div>
|
||||
<ul class="nobullet">
|
||||
<li>
|
||||
<form cass="search_form" name="filelists" action="torrents.php">
|
||||
<form class="search_form" name="filelists" action="torrents.php">
|
||||
<input type="hidden" name="artistname" value="<?=$Name?>" />
|
||||
<input type="hidden" name="action" value="advanced" />
|
||||
<input type="text" autocomplete="off" id="filelist" name="filelist" size="20" />
|
||||
|
@ -122,7 +122,7 @@ function compare($X, $Y){
|
||||
<tr class="group discog" id="group_<?=$GroupID?>">
|
||||
<td class="center">
|
||||
<div title="View" id="showimg_<?=$GroupID?>" class="<?=($ShowGroups ? 'hide' : 'show')?>_torrents">
|
||||
<a href="#" class="show_torrents_link" onclick="toggle_group(<?=$GroupID?>, this, event)" title="Collapse this group"></a>
|
||||
<a href="#" class="show_torrents_link" onclick="toggle_group(<?=$GroupID?>, this, event)" title="Collapse this group. Hold "Ctrl" while clicking to collape all groups on this page."></a>
|
||||
</div>
|
||||
</td>
|
||||
<td class="center">
|
||||
|
@ -29,7 +29,7 @@
|
||||
$SphQL->select('id')
|
||||
->from('log, log_delta')
|
||||
->where_match($_GET['search'], 'message')
|
||||
->order_by('time', 'DESC')
|
||||
->order_by('id', 'DESC')
|
||||
->limit($Offset, LOG_ENTRIES_PER_PAGE, $Offset+LOG_ENTRIES_PER_PAGE);
|
||||
|
||||
$Result = $SphQL->query();
|
||||
|
@ -38,7 +38,7 @@
|
||||
</div>
|
||||
<div style="text-align: center">
|
||||
<div style="display: inline-block;">
|
||||
<form cass="manage_form" name="tags" method="post">
|
||||
<form class="manage_form" name="tags" method="post">
|
||||
<input type="hidden" name="action" value="official_tags" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="doit" value="1" />
|
||||
@ -101,4 +101,4 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<? show_footer(); ?>
|
||||
<? show_footer(); ?>
|
||||
|
@ -101,7 +101,7 @@
|
||||
?>
|
||||
<div class="thin">
|
||||
<h2>Change Group</h2>
|
||||
<form cass="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<form class="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="editgroupid" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="torrentid" value="<?=$TorrentID?>" />
|
||||
|
@ -81,7 +81,7 @@
|
||||
if(in_array($LoggedUser['ID'], $DB->collect('UserID')) || check_perms('torrents_edit')) { ?>
|
||||
<h3>Non-wiki group editing</h3>
|
||||
<div class="box pad">
|
||||
<form cass="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<form class="edit_form" name="torrent_group" action="torrents.php" method="post">
|
||||
<input type="hidden" name="action" value="nonwikiedit" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<input type="hidden" name="groupid" value="<?=$GroupID?>" />
|
||||
@ -165,4 +165,4 @@
|
||||
</div>
|
||||
<? } ?>
|
||||
</div>
|
||||
<? show_footer(); ?>
|
||||
<? show_footer(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user