mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-20 20:29:03 +00:00
Empty commit
This commit is contained in:
parent
5e62b46697
commit
0879a48032
@ -81,6 +81,7 @@
|
||||
'torrents_freeleech' => 'Can make torrents freeleech.',
|
||||
'torrents_search_fast' => 'Rapid search (for scripts).',
|
||||
'torrents_hide_dnu' => 'Hide the Do Not Upload list by default.',
|
||||
'torrents_fix_ghosts' => 'Can fix "ghost" groups on artist pages.',
|
||||
'admin_manage_news' => 'Can manage news.',
|
||||
'admin_manage_blog' => 'Can manage blog.',
|
||||
'admin_manage_polls' => 'Can manage polls.',
|
||||
@ -224,6 +225,7 @@ function permissions_form(){ ?>
|
||||
<? display_perm('artist_edit_vanityhouse', 'Can mark Artists as part of Vanity House.'); ?>
|
||||
<? display_perm('site_add_logs', 'Can add logs to torrents after upload'); ?>
|
||||
<? display_perm('torrents_hide_dnu', 'Hide the Do Not Upload list by default.'); ?>
|
||||
<? display_perm('torrents_fix_ghosts', 'Can fix ghost groups on artist pages.'); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
File diff suppressed because one or more lines are too long
@ -322,7 +322,7 @@ function compare($X, $Y){
|
||||
|
||||
|
||||
$DisplayName ='<a href="torrents.php?id='.$GroupID.'" title="View Torrent">'.$GroupName.'</a>';
|
||||
if(check_perms('users_mod')) {
|
||||
if(check_perms('users_mod') || check_perms('torrents_fix_ghosts')) {
|
||||
$DisplayName .= ' [<a href="torrents.php?action=fix_group&groupid='.$GroupID.'&artistid='.$ArtistID.'&auth='.$LoggedUser['AuthKey'].'">Fix</a>]';
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?
|
||||
authorize();
|
||||
|
||||
if(empty($_POST['collageid']) || !is_number($_POST['collageid']) || empty($_POST['body'])) { error(0); }
|
||||
if(empty($_POST['collageid']) || !is_number($_POST['collageid']) || $_POST['body']==='' || !isset($_POST['body'])) { error(0); }
|
||||
$CollageID = $_POST['collageid'];
|
||||
|
||||
if($LoggedUser['DisablePosting']) {
|
||||
|
@ -35,7 +35,7 @@
|
||||
}
|
||||
|
||||
//If you're not sending anything, go back
|
||||
if(empty($_POST['body'])) {
|
||||
if($_POST['body']==='' || !isset($_POST['body'])) {
|
||||
header('Location: '.$_SERVER['HTTP_REFERER']);
|
||||
die();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
}
|
||||
}
|
||||
$Body = trim($_POST['body']);
|
||||
if(empty($Body)) {
|
||||
if($Body === '' || $Body === false) {
|
||||
$Err = "You can't send a message without a body!";
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
authorize();
|
||||
|
||||
enforce_login();
|
||||
if (!isset($_POST['requestid']) || !is_number($_POST['requestid']) || empty($_POST['body'])) {
|
||||
if (!isset($_POST['requestid']) || !is_number($_POST['requestid']) || $_POST['body']==='' || !isset($_POST['body'])) {
|
||||
error(0);
|
||||
}
|
||||
if($LoggedUser['DisablePosting']) {
|
||||
|
@ -199,7 +199,7 @@ function js_pages($Action, $TorrentID, $NumResults, $CurrentPage) {
|
||||
enforce_login();
|
||||
authorize();
|
||||
|
||||
if (!isset($_POST['groupid']) || !is_number($_POST['groupid']) || empty($_POST['body'])) {
|
||||
if (!isset($_POST['groupid']) || !is_number($_POST['groupid']) || $_POST['body']==='' || !isset($_POST['body'])) {
|
||||
error(0);
|
||||
}
|
||||
if($LoggedUser['DisablePosting']) {
|
||||
@ -365,7 +365,7 @@ function js_pages($Action, $TorrentID, $NumResults, $CurrentPage) {
|
||||
}
|
||||
break;
|
||||
case 'fix_group' :
|
||||
if(check_perms('users_mod') && authorize() && !empty($_GET['groupid']) && is_number($_GET['groupid'])) {
|
||||
if((check_perms('users_mod') || check_perms('torrents_fix_ghosts')) && authorize() && !empty($_GET['groupid']) && is_number($_GET['groupid'])) {
|
||||
$DB->query("SELECT COUNT(ID) FROM torrents WHERE GroupID = ".$_GET['groupid']);
|
||||
list($Count) = $DB->next_record();
|
||||
if($Count == 0) {
|
||||
|
@ -415,7 +415,7 @@ function check_paranoia_here($Setting) {
|
||||
|
||||
if (check_perms('users_view_keys',$Class) || $OwnProfile) {
|
||||
?>
|
||||
<li>Passkey: <?=display_str($torrent_pass)?></li>
|
||||
<li>Passkey: <a href="#" onclick="this.innerHTML='<?=display_str($torrent_pass)?>'; return false;">[view]</a></li>
|
||||
<? }
|
||||
if (check_perms('users_view_invites')) {
|
||||
if (!$InviterID) {
|
||||
|
BIN
static/common/smileys/ackbar-what.png
Normal file
BIN
static/common/smileys/ackbar-what.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -483,7 +483,7 @@ ul.collage_images li a:hover img {
|
||||
height: 300px !important;
|
||||
}
|
||||
|
||||
#collages,#collage_table,.forum_index,.torrent_table,.forum_post.box,.recent,table.border,.torrent_table.grouping,#userhistory table {
|
||||
#collages,#personal_collages,#collage_table,.forum_index,.torrent_table,.forum_post.box,.recent,table.border,.torrent_table.grouping,#userhistory table {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user