mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 02:21:36 +00:00
Empty commit
This commit is contained in:
parent
b1324098d8
commit
df129a5ba5
@ -138,22 +138,12 @@ protected function ip_check($IP,$Gline=false,$Channel=BOT_REPORT_CHAN) {
|
||||
$this->send_raw('GLINE *@'.$IP.' 90d :DNSBL Proxy');
|
||||
}
|
||||
}
|
||||
$IPBans = $Cache->get_value('ip_bans');
|
||||
if(!is_array($IPBans)) {
|
||||
$DB->query("SELECT FromIP, ToIP FROM ip_bans");
|
||||
$IPBans = $DB->to_array();
|
||||
$Cache->cache_value('ip_bans', $IPBans, 0);
|
||||
}
|
||||
foreach($IPBans as $IPBan) {
|
||||
list($FromIP, $ToIP) = $IPBan;
|
||||
$Long = ip2long($IP);
|
||||
if($Long >= $FromIP && $Long <= $ToIP) {
|
||||
if(Tools::site_ban_ip($IP)) {
|
||||
$this->send_to($Channel, 'Site IP Ban Detected: '.$IP);
|
||||
if ($Gline) {
|
||||
$this->send_raw('GLINE *@'.$IP.' 90d :IP Ban');
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
protected function listen() {
|
||||
|
@ -623,7 +623,7 @@ private function to_html ($Array) {
|
||||
$Str.='<a href="wiki.php?action=article&name='.urlencode($Block['Val']).'">'.$Block['Val'].'</a>';
|
||||
break;
|
||||
case 'tex':
|
||||
$Str.='<img style="vertical-align: middle" src="'.STATIC_SERVER.'blank.gif" onload="if (this.src.substr(this.src.length-9,this.src.length) == \'blank.gif\') { this.src = \'http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chl='.urlencode(mb_convert_encoding($Block['Val'],"UTF-8","HTML-ENTITIES")).'&chco=\' + hexify(getComputedStyle(this.parentNode,null).color); }" />';
|
||||
$Str.='<img style="vertical-align: middle" src="'.STATIC_SERVER.'blank.gif" onload="if (this.src.substr(this.src.length-9,this.src.length) == \'blank.gif\') { this.src = \'http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chl='.urlencode(mb_convert_encoding($Block['Val'],"UTF-8","HTML-ENTITIES")).'&chco=\' + hexify(getComputedStyle(this.parentNode,null).color); }" alt="TeX" />';
|
||||
break;
|
||||
case 'plain':
|
||||
$Str.=$Block['Val'];
|
||||
@ -710,11 +710,11 @@ private function to_html ($Array) {
|
||||
$Str.='<blockquote class="hidden spoiler">'.$this->to_html($Block['Val']).'</blockquote>';
|
||||
}
|
||||
else {
|
||||
$Str .= '<strong>Use of the [mature] tag requires a description.</strong> The correct format is as follows: <strong>[mature=description] ...content... [/mature]</strong>, where "description" is a mandatory description of the post. Misleading descriptions will be penalized. For further information on our mature content policies, please refer to this <a href="wiki.php?action=article&id=1063">wiki</a>.';
|
||||
$Str .= '<strong>Use of the [mature] tag requires a description.</strong> The correct format is as follows: <strong>[mature=description] ...content... [/mature]</strong>, where "description" is a mandatory description of the post. Misleading descriptions will be penalized. For further information on our mature content policies, please refer to this <a href="wiki.php?action=article&id=1063">wiki</a>.';
|
||||
}
|
||||
}
|
||||
else {
|
||||
$Str .= '<span class="mature_blocked" style="font-style:italic;"><a href="wiki.php?action=article&id=1063">Mature content </a>has been blocked. You can choose to view mature content by editing your <a href="user.php?action=edit&userid=' . $LoggedUser['ID'] . '">settings</a>.</span>';
|
||||
$Str .= '<span class="mature_blocked" style="font-style:italic;"><a href="wiki.php?action=article&id=1063">Mature content </a>has been blocked. You can choose to view mature content by editing your <a href="user.php?action=edit&userid=' . $LoggedUser['ID'] . '">settings</a>.</span>';
|
||||
}
|
||||
break;
|
||||
case 'img':
|
||||
|
@ -440,7 +440,7 @@ function to_html($Array) {
|
||||
$Str.='<a href="wiki.php?action=article&name='.urlencode($Block['Val']).'">'.$Block['Val'].'</a>';
|
||||
break;
|
||||
case 'tex':
|
||||
$Str.='<img style="vertical-align: middle" src="'.STATIC_SERVER.'blank.gif" onload="if (this.src.substr(this.src.length-9,this.src.length) == \'blank.gif\') { this.src = \'http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chl='.urlencode(mb_convert_encoding($Block['Val'],"UTF-8","HTML-ENTITIES")).'&chco=\' + hexify(getComputedStyle(this.parentNode,null).color); }" />';
|
||||
$Str.='<img style="vertical-align: middle" src="'.STATIC_SERVER.'blank.gif" onload="if (this.src.substr(this.src.length-9,this.src.length) == \'blank.gif\') { this.src = \'http://chart.apis.google.com/chart?cht=tx&chf=bg,s,FFFFFF00&chl='.urlencode(mb_convert_encoding($Block['Val'],"UTF-8","HTML-ENTITIES")).'&chco=\' + hexify(getComputedStyle(this.parentNode,null).color); }" alt="TeX" />';
|
||||
break;
|
||||
case 'plain':
|
||||
$Str.=$Block['Val'];
|
||||
|
@ -310,7 +310,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="logcue_tr" class="hidden">
|
||||
<td class="label">Log / Cue (FLAC only)</td>
|
||||
<td class="label">Log / Cue (CD FLAC only)</td>
|
||||
<td>
|
||||
<input type="checkbox" id="needlog" name="needlog" onchange="ToggleLogScore()" <?=(!empty($NeedLog) ? 'checked="checked" ' : '')?>/><label for="needlog"> Require Log</label>
|
||||
<span id="minlogscore_span" class="hidden"> <input type="text" name="minlogscore" id="minlogscore" size="4" value="<?=(!empty($MinLogScore) ? $MinLogScore : '')?>" /> Minimum Log Score</span>
|
||||
|
@ -325,7 +325,7 @@
|
||||
</tr>
|
||||
<? if(!empty($LogCue)) { ?>
|
||||
<tr>
|
||||
<td class="label">Required FLAC only extra(s)</td>
|
||||
<td class="label">Required CD FLAC only extra(s)</td>
|
||||
<td>
|
||||
<?=$LogCue?>
|
||||
</td>
|
||||
|
@ -165,7 +165,7 @@
|
||||
}
|
||||
|
||||
if (($NeedCue || $NeedLog)) {
|
||||
if (!empty($_POST['all_media']) || $MediaArray[0] != 0) {
|
||||
if (!(empty($_POST['all_media']) && $MediaArray[0] == 0)) {
|
||||
$Err = "Only CD is allowed as media for FLAC Log/Cue Requests.";
|
||||
}
|
||||
}
|
||||
|
@ -72,13 +72,13 @@
|
||||
No language other than English is permitted in the forums. If we can't understand it, we can't moderate it.
|
||||
</li>
|
||||
<li>
|
||||
Be cautious when posting mature content on the forums. All mature imagery must abide by <a href="wiki.php?action=article&id=1063">the rules found here</a>. Gratuitously sexual or violent content which falls outside of the allowable categories will result in a warning or worse.
|
||||
Be cautious when posting mature content on the forums. All mature imagery must abide by <a href="wiki.php?action=article&id=1063">the rules found here</a>. Gratuitously sexual or violent content which falls outside of the allowable categories will result in a warning or worse.
|
||||
</li>
|
||||
<li>
|
||||
Mature content in posts must be properly tagged. The correct format is as follows: <strong>[mature=description] ...content... [/mature]</strong>, where “description” is a mandatory description of the post contents. Misleading or inadequate descriptions will be penalized.
|
||||
</li>
|
||||
<li>
|
||||
Threads created for the exclusive purpose of posting mature imagery will be trashed. Mature content (including graphic album art) should be contextually relevant to the thread and/or forum you’re posting in. Mature content is only allowed in: The Lounge, The Lounge +1, The Library, Music, Power Users, Elite, Torrent Masters, VIPs, Comics, Contests & Designs, The Laboratory. If you are in doubt about a post’s appropriateness, send a <a href="staff.php">Staff PM to the Forum Moderators</a> and wait for a reply before proceeding.
|
||||
Threads created for the exclusive purpose of posting mature imagery will be trashed. Mature content (including graphic album art) should be contextually relevant to the thread and/or forum you’re posting in. Mature content is only allowed in: The Lounge, The Lounge +1, The Library, Music, Power Users, Elite, Torrent Masters, VIPs, Comics, Contests & Designs, The Laboratory. If you are in doubt about a post’s appropriateness, send a <a href="staff.php">Staff PM to the Forum Moderators</a> and wait for a reply before proceeding.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -17,7 +17,7 @@ function get_fls() {
|
||||
JOIN users_main AS m ON m.ID=i.UserID
|
||||
JOIN permissions AS p ON p.ID=m.PermissionID
|
||||
JOIN users_levels AS l ON l.UserID = i.UserID
|
||||
WHERE l.PermissionID = 41");
|
||||
WHERE l.PermissionID = ".FLS_TEAM);
|
||||
$FLS = $DB->to_array(false, MYSQLI_BOTH, array(3,'Paranoia'));
|
||||
$Cache->cache_value('fls', $FLS, 180);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@
|
||||
<? print_compose_staff_pm(true); ?>
|
||||
<br />
|
||||
<h3>First-line Support</h3>
|
||||
<p><strong>These users are not official staff members</strong> - they're users who have volunteered their time to help people in need. Please treat them with respect and read <a href="wiki.php?action=article&id=260">this</a> before contacting them. </p>
|
||||
<p><strong>These users are not official staff members</strong> - they're users who have volunteered their time to help people in need. Please treat them with respect and read <a href="wiki.php?action=article&id=260">this</a> before contacting them.</p>
|
||||
<table class="staff" width="100%">
|
||||
<tr class="colhead">
|
||||
<td style="width:130px;">Username</td>
|
||||
@ -53,7 +53,7 @@
|
||||
<div class="box pad" style="padding:0px 10px 10px 10px;">
|
||||
<br />
|
||||
<h3>Forum Moderators</h3>
|
||||
<p>Forum Mods are users who have been promoted to help moderate the forums. They can only help with forum oriented questions</p>
|
||||
<p>Forum Moderators are users who have been promoted to help moderate the forums. They can only help with forum-oriented questions.</p>
|
||||
<table class="staff" width="100%">
|
||||
<tr class="colhead">
|
||||
<td style="width:130px;">Username</td>
|
||||
|
@ -4,10 +4,11 @@
|
||||
if (isset($_POST['submit'])) {
|
||||
authorize();
|
||||
|
||||
$IPA = substr($_POST['start'], 0, strcspn($_POST['start'], '.'));
|
||||
if ($_POST['submit'] == 'Delete') { //Delete
|
||||
if(!is_number($_POST['id']) || $_POST['id'] == ''){ error(0); }
|
||||
$DB->query('DELETE FROM ip_bans WHERE ID='.$_POST['id']);
|
||||
$Bans = $Cache->delete_value('ip_bans');
|
||||
$Cache->delete_value('ip_bans_'.$IPA);
|
||||
} else { //Edit & Create, Shared Validation
|
||||
$Val->SetFields('start', '1','regex','You must include the starting IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i'));
|
||||
$Val->SetFields('end', '1','regex','You must include the ending IP address.',array('regex'=>'/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/i'));
|
||||
@ -28,19 +29,12 @@
|
||||
ToIP='$End',
|
||||
Reason='$Notes'
|
||||
WHERE ID='".$_POST['id']."'");
|
||||
$Bans = $Cache->get_value('ip_bans');
|
||||
$Cache->begin_transaction();
|
||||
$Cache->update_row($_POST['id'], array($_POST['id'], $Start, $End));
|
||||
$Cache->commit_transaction();
|
||||
} else { //Create
|
||||
$DB->query("INSERT INTO ip_bans
|
||||
(FromIP, ToIP, Reason) VALUES
|
||||
('$Start','$End', '$Notes')");
|
||||
$ID = $DB->inserted_id();
|
||||
$Bans = $Cache->get_value('ip_bans');
|
||||
$Bans[$ID] = array($ID, $Start, $End);
|
||||
$Cache->cache_value('ip_bans', $Bans, 0);
|
||||
}
|
||||
$Cache->delete_value('ip_bans_'.$IPA);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,22 +1,21 @@
|
||||
<?php
|
||||
|
||||
if(!check_perms('admin_manage_ipbans')) { error(403); }
|
||||
if(isset($_GET['perform'])) {
|
||||
if($_GET['perform'] == 'delete') {
|
||||
if(!is_number($_GET['id']) || $_GET['id'] == ''){ error(0); }
|
||||
$DB->query('DELETE FROM ip_bans WHERE ID='.$_GET['id']);
|
||||
$Bans = $Cache->delete_value('ip_bans');
|
||||
if (!check_perms('admin_manage_ipbans')) { error(403); }
|
||||
if (isset($_GET['perform'])) {
|
||||
$IPA = substr($_GET['ip'], 0, strcspn($_GET['ip'], '.'));
|
||||
if ($_GET['perform'] == 'delete') {
|
||||
if (!is_number($_GET['id']) || $_GET['id'] == '') {
|
||||
error(0);
|
||||
}
|
||||
elseif($_GET['perform'] == 'create') {
|
||||
$DB->query('DELETE FROM ip_bans WHERE ID='.$_GET['id']);
|
||||
$Bans = $Cache->delete_value('ip_bans_'.$IPA);
|
||||
} elseif ($_GET['perform'] == 'create') {
|
||||
$Notes = db_string($_GET['notes']);
|
||||
$IP = Tools::ip_to_unsigned($_GET['ip']); //Sanitized by Validation regex
|
||||
$DB->query("INSERT INTO ip_bans
|
||||
(FromIP, ToIP, Reason) VALUES
|
||||
('$IP','$IP', '$Notes')");
|
||||
$ID = $DB->inserted_id();
|
||||
$Bans = $Cache->get_value('ip_bans');
|
||||
$Bans[$ID] = array($ID, $Start, $End);
|
||||
$Cache->cache_value('ip_bans', $Bans, 0);
|
||||
$Cache->delete_value('ip_bans_'.$IPA);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?
|
||||
//*********************************************************************//
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
//**********************************************************************//
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Edit form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
// This page relies on the TORRENT_FORM class. All it does is call //
|
||||
// the necessary functions. //
|
||||
//---------------------------------------------------------------------//
|
||||
//----------------------------------------------------------------------//
|
||||
// At the bottom, there are grouping functions which are off limits to //
|
||||
// most members. //
|
||||
//*********************************************************************//
|
||||
//**********************************************************************//
|
||||
|
||||
require(SERVER_ROOT.'/classes/class_torrent_form.php');
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
||||
</select>
|
||||
<? if (check_perms('torrents_edit_vanityhouse')) { ?>
|
||||
<br />
|
||||
<h3>Vanity House <input type="checkbox" name="vanity_house" value="1" <?=($VanityHouse ? 'checked="checked"' : '')?> /></h3>
|
||||
<h3>Vanity House <input type="checkbox" name="vanity_house" value="1" <?=($VanityHouse ? 'checked="checked" ' : '')?>/></h3>
|
||||
<? }
|
||||
} ?>
|
||||
<h3>Edit summary</h3>
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?
|
||||
//*********************************************************************//
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Upload form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
//**********************************************************************//
|
||||
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Upload form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
|
||||
// This page relies on the TORRENT_FORM class. All it does is call //
|
||||
// the necessary functions. //
|
||||
//---------------------------------------------------------------------//
|
||||
//----------------------------------------------------------------------//
|
||||
// $Properties, $Err and $UploadForm are set in takeupload.php, and //
|
||||
// are only used when the form doesn't validate and this page must be //
|
||||
// called again. //
|
||||
//*********************************************************************//
|
||||
//**********************************************************************//
|
||||
|
||||
ini_set('max_file_uploads','100');
|
||||
View::show_header('Upload','upload,jquery,valid_tags,musicbrainz,multiformat_uploader');
|
||||
|
@ -43,7 +43,7 @@
|
||||
<? } ?>
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('collages+'))) { ?>
|
||||
if (($Override=check_paranoia_here('collages+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Collages started: <?=number_format($NumCollages)?>
|
||||
<? if(($Override=check_paranoia_here('collages'))) { ?>[<a <?= ($Override===2) ? 'class="paranoia_override"'
|
||||
:'' ?>
|
||||
@ -51,7 +51,7 @@
|
||||
<? } ?>
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('collagecontribs+'))) { ?>
|
||||
if (($Override=check_paranoia_here('collagecontribs+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Collages contributed to: <? echo number_format($NumCollageContribs);
|
||||
if (($Override=check_paranoia_here('collagecontribs'))) {
|
||||
?> [<a <?= ($Override===2) ?
|
||||
@ -97,13 +97,13 @@
|
||||
[<a href="requests.php?type=voted&userid=<?=$UserID?>" <?= ($ViewAll===2) ? 'class="paranoia_override"' : ''?> title="View">View</a>]
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('uploads+'))) { ?>
|
||||
if (($Override=check_paranoia_here('uploads+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Uploaded: <?=number_format($Uploads)?>
|
||||
<? if(($Override=check_paranoia_here('uploads'))) { ?>[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&userid=<?=$UserID?>" title="View">View</a>]<? if(check_perms('zip_downloader')) { ?> [<a href="torrents.php?action=redownload&type=uploads&userid=<?=$UserID?>"
|
||||
onclick="return confirm('If you no longer have the content, your ratio WILL be affected; be sure to check the size of all torrents before redownloading.');">Download</a>]<? } } ?>
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('uniquegroups+'))) { ?>
|
||||
if (($Override=check_paranoia_here('uniquegroups+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>
|
||||
Unique groups: <?echo number_format($UniqueGroups);
|
||||
if(($Override=check_paranoia_here('uniquegroups'))) {?>
|
||||
@ -111,12 +111,12 @@
|
||||
<?}?>
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('perfectflacs+'))) { ?>
|
||||
if (($Override=check_paranoia_here('perfectflacs+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>"Perfect" FLACs: <?echo number_format($PerfectFLACs);
|
||||
if (($Override=check_paranoia_here('perfectflacs'))) { ?>
|
||||
[<a <?= $Override===2 ? 'class="paranoia_override"' :'' ?> href="torrents.php?type=uploaded&userid=<?=$UserID?>&filter=perfectflac">View</a>]</li>
|
||||
<? }
|
||||
}
|
||||
}
|
||||
|
||||
if (check_paranoia_here('seeding+') || check_paranoia_here('leeching+')) {
|
||||
$DB->query("SELECT IF(remaining=0,'Seeding','Leeching') AS Type, COUNT(x.uid) FROM xbt_files_users AS x INNER JOIN torrents AS t ON t.ID=x.fid WHERE x.uid='$UserID' AND x.active=1 GROUP BY Type");
|
||||
@ -138,7 +138,7 @@
|
||||
<?} ?>
|
||||
</li>
|
||||
<? }
|
||||
if (($Override=check_paranoia_here('leeching+'))) { ?>
|
||||
if (($Override=check_paranoia_here('leeching+'))) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Leeching: <? echo number_format($Leeching);
|
||||
if(($Override=check_paranoia_here('leeching'))) { ?>
|
||||
[<a <?= $Override===2 ? 'class="paranoia_override"' : ''?> href="torrents.php?type=leeching&userid=<?=$UserID?>" title="View">View</a>]
|
||||
|
@ -41,7 +41,7 @@
|
||||
<form class="manage_form" name="connections" action="javascript:check_ip();" method="get">
|
||||
<table class="layout">
|
||||
<tr>
|
||||
<td class="label">IP</td>
|
||||
<td class="label">IP address</td>
|
||||
<td>
|
||||
<input type="text" id="ip" name="ip" value="<?=$_SERVER['REMOTE_ADDR']?>" size="20" />
|
||||
</td>
|
||||
@ -57,7 +57,7 @@
|
||||
</form>
|
||||
<div id="result" class="box pad"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
var result = $('#result').raw();
|
||||
|
||||
function check_ip() {
|
||||
@ -68,5 +68,6 @@ function check_ip() {
|
||||
result.innerHTML = response;
|
||||
});
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
<? View::show_footer(); ?>
|
@ -89,7 +89,7 @@ function checked($Checked) {
|
||||
<td>
|
||||
<select name="stylesheet" id="stylesheet">
|
||||
<? foreach($Stylesheets as $Style) { ?>
|
||||
<option value="<?=$Style['ID']?>"<? if ($Style['ID'] == $StyleID) { ?>selected="selected"<? } ?>><?=$Style['ProperName']?></option>
|
||||
<option value="<?=$Style['ID']?>"<? if ($Style['ID'] == $StyleID) { ?> selected="selected"<? } ?>><?=$Style['ProperName']?></option>
|
||||
<? } ?>
|
||||
</select>
|
||||
- Or -
|
||||
@ -101,8 +101,8 @@ function checked($Checked) {
|
||||
<td class="label"><strong>Default search type</strong></td>
|
||||
<td>
|
||||
<select name="searchtype" id="searchtype">
|
||||
<option value="0"<? if ($SiteOptions['SearchType'] == 0) { ?>selected="selected"<? } ?>>Simple</option>
|
||||
<option value="1"<? if ($SiteOptions['SearchType'] == 1) { ?>selected="selected"<? } ?>>Advanced</option>
|
||||
<option value="0"<? if ($SiteOptions['SearchType'] == 0) { ?> selected="selected"<? } ?>>Simple</option>
|
||||
<option value="1"<? if ($SiteOptions['SearchType'] == 1) { ?> selected="selected"<? } ?>>Advanced</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -111,12 +111,12 @@ function checked($Checked) {
|
||||
<td class="label"><strong>Torrent grouping</strong></td>
|
||||
<td>
|
||||
<select name="disablegrouping" id="disablegrouping">
|
||||
<option value="0"<? if ($SiteOptions['DisableGrouping2'] == 0) { ?>selected="selected"<? } ?>>Group torrents by default</option>
|
||||
<option value="1"<? if ($SiteOptions['DisableGrouping2'] == 1) { ?>selected="selected"<? } ?>>DO NOT group torrents by default</option>
|
||||
<option value="0"<? if ($SiteOptions['DisableGrouping2'] == 0) { ?> selected="selected"<? } ?>>Group torrents by default</option>
|
||||
<option value="1"<? if ($SiteOptions['DisableGrouping2'] == 1) { ?> selected="selected"<? } ?>>DO NOT group torrents by default</option>
|
||||
</select>
|
||||
<select name="torrentgrouping" id="torrentgrouping">
|
||||
<option value="0"<? if ($SiteOptions['TorrentGrouping'] == 0) { ?>selected="selected"<? } ?>>Groups are open by default</option>
|
||||
<option value="1"<? if ($SiteOptions['TorrentGrouping'] == 1) { ?>selected="selected"<? } ?>>Groups are closed by default</option>
|
||||
<option value="0"<? if ($SiteOptions['TorrentGrouping'] == 0) { ?> selected="selected"<? } ?>>Groups are open by default</option>
|
||||
<option value="1"<? if ($SiteOptions['TorrentGrouping'] == 1) { ?> selected="selected"<? } ?>>Groups are closed by default</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -124,15 +124,15 @@ function checked($Checked) {
|
||||
<td class="label"><strong>Discography view</strong></td>
|
||||
<td>
|
||||
<select name="discogview" id="discogview">
|
||||
<option value="0"<? if ($SiteOptions['DiscogView'] == 0) { ?>selected="selected"<? } ?>>Open by default</option>
|
||||
<option value="1"<? if ($SiteOptions['DiscogView'] == 1) { ?>selected="selected"<? } ?>>Closed by default</option>
|
||||
<option value="0"<? if ($SiteOptions['DiscogView'] == 0) { ?> selected="selected"<? } ?>>Open by default</option>
|
||||
<option value="1"<? if ($SiteOptions['DiscogView'] == 1) { ?> selected="selected"<? } ?>>Closed by default</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Show snatched torrents</strong></td>
|
||||
<td>
|
||||
<input type="checkbox" name="showsnatched" id="showsnatched" <? if (!empty($SiteOptions['ShowSnatched'])) { ?>checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="showsnatched" id="showsnatched" <? if (!empty($SiteOptions['ShowSnatched'])) { ?>checked="checked" <? } ?>/>
|
||||
<label for="showsnatched">Display "Snatched!" next to snatched torrents</label>
|
||||
</td>
|
||||
</tr>
|
||||
@ -140,9 +140,9 @@ function checked($Checked) {
|
||||
<td class="label"><strong>Forum posts per page</strong></td>
|
||||
<td>
|
||||
<select name="postsperpage" id="postsperpage">
|
||||
<option value="25"<? if ($SiteOptions['PostsPerPage'] == 25) { ?>selected="selected"<? } ?>>25 (Default)</option>
|
||||
<option value="50"<? if ($SiteOptions['PostsPerPage'] == 50) { ?>selected="selected"<? } ?>>50</option>
|
||||
<option value="100"<? if ($SiteOptions['PostsPerPage'] == 100) { ?>selected="selected"<? } ?>>100</option>
|
||||
<option value="25"<? if ($SiteOptions['PostsPerPage'] == 25) { ?> selected="selected"<? } ?>>25 (Default)</option>
|
||||
<option value="50"<? if ($SiteOptions['PostsPerPage'] == 50) { ?> selected="selected"<? } ?>>50</option>
|
||||
<option value="100"<? if ($SiteOptions['PostsPerPage'] == 100) { ?> selected="selected"<? } ?>>100</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -227,19 +227,19 @@ function checked($Checked) {
|
||||
<td class="label"><strong>Avatars</strong></td>
|
||||
<td>
|
||||
<select name="disableavatars" id="disableavatars" onclick="ToggleIdenticons();">
|
||||
<option value="1" <? if($SiteOptions['DisableAvatars'] == 1) { ?> selected="selected" <? } ?>/>Disable avatars</option>
|
||||
<option value="0" <? if($SiteOptions['DisableAvatars'] == 0) { ?> selected="selected" <? } ?>/>Show avatars</option>
|
||||
<option value="2" <? if($SiteOptions['DisableAvatars'] == 2) { ?> selected="selected" <? } ?>/>Show avatars or:</option>
|
||||
<option value="3" <? if($SiteOptions['DisableAvatars'] == 3) { ?> selected="selected" <? } ?>/>Replace all avatars with:</option>
|
||||
<option value="1" <? if($SiteOptions['DisableAvatars'] == 1) { ?>selected="selected" <? } ?>/>Disable avatars</option>
|
||||
<option value="0" <? if($SiteOptions['DisableAvatars'] == 0) { ?>selected="selected" <? } ?>/>Show avatars</option>
|
||||
<option value="2" <? if($SiteOptions['DisableAvatars'] == 2) { ?>selected="selected" <? } ?>/>Show avatars or:</option>
|
||||
<option value="3" <? if($SiteOptions['DisableAvatars'] == 3) { ?>selected="selected" <? } ?>/>Replace all avatars with:</option>
|
||||
</select>
|
||||
<select name="identicons" id="identicons">
|
||||
<option value="0" <? if($SiteOptions['Identicons'] == 0) { ?> selected="selected" <? } ?>/>Identicon</option>
|
||||
<option value="1" <? if($SiteOptions['Identicons'] == 1) { ?> selected="selected" <? } ?>/>MonsterID</option>
|
||||
<option value="2" <? if($SiteOptions['Identicons'] == 2) { ?> selected="selected" <? } ?>/>Wavatar</option>
|
||||
<option value="3" <? if($SiteOptions['Identicons'] == 3) { ?> selected="selected" <? } ?>/>Retro</option>
|
||||
<option value="4" <? if($SiteOptions['Identicons'] == 4) { ?> selected="selected" <? } ?>/>Robots 1</option>
|
||||
<option value="5" <? if($SiteOptions['Identicons'] == 5) { ?> selected="selected" <? } ?>/>Robots 2</option>
|
||||
<option value="6" <? if($SiteOptions['Identicons'] == 6) { ?> selected="selected" <? } ?>/>Robots 3</option>
|
||||
<option value="0" <? if($SiteOptions['Identicons'] == 0) { ?>selected="selected" <? } ?>/>Identicon</option>
|
||||
<option value="1" <? if($SiteOptions['Identicons'] == 1) { ?>selected="selected" <? } ?>/>MonsterID</option>
|
||||
<option value="2" <? if($SiteOptions['Identicons'] == 2) { ?>selected="selected" <? } ?>/>Wavatar</option>
|
||||
<option value="3" <? if($SiteOptions['Identicons'] == 3) { ?>selected="selected" <? } ?>/>Retro</option>
|
||||
<option value="4" <? if($SiteOptions['Identicons'] == 4) { ?>selected="selected" <? } ?>/>Robots 1</option>
|
||||
<option value="5" <? if($SiteOptions['Identicons'] == 5) { ?>selected="selected" <? } ?>/>Robots 2</option>
|
||||
<option value="6" <? if($SiteOptions['Identicons'] == 6) { ?>selected="selected" <? } ?>/>Robots 3</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
@ -247,21 +247,21 @@ function checked($Checked) {
|
||||
<tr>
|
||||
<td class="label"><strong>Auto-save text</strong></td>
|
||||
<td>
|
||||
<input type="checkbox" name="disableautosave" id="disableautosave" <? if (!empty($SiteOptions['DisableAutoSave'])) { ?>checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="disableautosave" id="disableautosave" <? if (!empty($SiteOptions['DisableAutoSave'])) { ?>checked="checked" <? } ?>/>
|
||||
<label for="disableautosave">Disable reply text from being saved automatically when changing pages in a thread</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Voting links</strong></td>
|
||||
<td>
|
||||
<input type="checkbox" name="novotelinks" id="novotelinks" <? if (!empty($SiteOptions['NoVoteLinks'])) { ?>checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="novotelinks" id="novotelinks" <? if (!empty($SiteOptions['NoVoteLinks'])) { ?>checked="checked" <? } ?>/>
|
||||
<label for="novotelinks">Disable voting links on artist pages, collages, and snatched lists</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Download torrents as text files</strong></td>
|
||||
<td>
|
||||
<input type="checkbox" name="downloadalt" id="downloadalt" <? if ($DownloadAlt) { ?>checked="checked"<? } ?> />
|
||||
<input type="checkbox" name="downloadalt" id="downloadalt" <? if ($DownloadAlt) { ?>checked="checked" <? } ?>/>
|
||||
<label for="downloadalt">For users whose ISP blocks the downloading of torrent files</label>
|
||||
</td>
|
||||
</tr>
|
||||
@ -291,7 +291,7 @@ function checked($Checked) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label"><strong>Last.fm Username</strong></td>
|
||||
<td class="label"><strong>Last.fm username</strong></td>
|
||||
<td><input type="text" size="50" name="lastfm_username" id="lastfm_username" value="<?=display_str($LastFMUsername)?>" />
|
||||
<p class="min_padding">Your Last.fm username. Will be used to display Last.fm information on your profile which can be seen by other users.</p>
|
||||
</td>
|
||||
|
@ -28,5 +28,4 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<? } ?>
|
||||
|
@ -1095,19 +1095,19 @@ function check_paranoia_here($Setting) {
|
||||
<tr>
|
||||
<td class="label">Disable:</td>
|
||||
<td>
|
||||
<input type="checkbox" name="DisablePosting" id="DisablePosting"<? if ($DisablePosting==1) { ?>checked="checked"<? } ?> /> <label for="DisablePosting">Posting</label>
|
||||
<input type="checkbox" name="DisablePosting" id="DisablePosting"<? if ($DisablePosting==1) { ?> checked="checked"<? } ?> /> <label for="DisablePosting">Posting</label>
|
||||
<? if (check_perms('users_disable_any')) { ?> |
|
||||
<input type="checkbox" name="DisableAvatar" id="DisableAvatar"<? if ($DisableAvatar==1) { ?>checked="checked"<? } ?> /> <label for="DisableAvatar">Avatar</label> |
|
||||
<input type="checkbox" name="DisableInvites" id="DisableInvites"<? if ($DisableInvites==1) { ?>checked="checked"<? } ?> /> <label for="DisableInvites">Invites</label> |
|
||||
<input type="checkbox" name="DisableForums" id="DisableForums"<? if ($DisableForums==1) { ?>checked="checked"<? } ?> /> <label for="DisableForums">Forums</label> |
|
||||
<input type="checkbox" name="DisableTagging" id="DisableTagging"<? if ($DisableTagging==1) { ?>checked="checked"<? } ?> /> <label for="DisableTagging" title="This only disables a user's ability to delete tags.">Tagging</label> |
|
||||
<input type="checkbox" name="DisableRequests" id="DisableRequests"<? if ($DisableRequests==1) { ?>checked="checked"<? } ?> /> <label for="DisableRequests">Requests</label>
|
||||
<input type="checkbox" name="DisableAvatar" id="DisableAvatar"<? if ($DisableAvatar==1) { ?> checked="checked"<? } ?> /> <label for="DisableAvatar">Avatar</label> |
|
||||
<input type="checkbox" name="DisableInvites" id="DisableInvites"<? if ($DisableInvites==1) { ?> checked="checked"<? } ?> /> <label for="DisableInvites">Invites</label> |
|
||||
<input type="checkbox" name="DisableForums" id="DisableForums"<? if ($DisableForums==1) { ?> checked="checked"<? } ?> /> <label for="DisableForums">Forums</label> |
|
||||
<input type="checkbox" name="DisableTagging" id="DisableTagging"<? if ($DisableTagging==1) { ?> checked="checked"<? } ?> /> <label for="DisableTagging" title="This only disables a user's ability to delete tags.">Tagging</label> |
|
||||
<input type="checkbox" name="DisableRequests" id="DisableRequests"<? if ($DisableRequests==1) { ?> checked="checked"<? } ?> /> <label for="DisableRequests">Requests</label>
|
||||
<br />
|
||||
<input type="checkbox" name="DisableUpload" id="DisableUpload"<? if ($DisableUpload==1) { ?>checked="checked"<? } ?> /> <label for="DisableUpload">Upload</label> |
|
||||
<input type="checkbox" name="DisableWiki" id="DisableWiki"<? if ($DisableWiki==1) { ?>checked="checked"<? } ?> /> <label for="DisableWiki">Wiki</label> |
|
||||
<input type="checkbox" name="DisableLeech" id="DisableLeech"<? if ($DisableLeech==0) { ?>checked="checked"<? } ?> /> <label for="DisableLeech">Leech</label> |
|
||||
<input type="checkbox" name="DisablePM" id="DisablePM"<? if ($DisablePM==1) { ?>checked="checked"<? } ?> /> <label for="DisablePM">PM</label> |
|
||||
<input type="checkbox" name="DisableIRC" id="DisableIRC"<? if ($DisableIRC==1) { ?>checked="checked"<? } ?> /> <label for="DisableIRC">IRC</label>
|
||||
<input type="checkbox" name="DisableUpload" id="DisableUpload"<? if ($DisableUpload==1) { ?> checked="checked"<? } ?> /> <label for="DisableUpload">Upload</label> |
|
||||
<input type="checkbox" name="DisableWiki" id="DisableWiki"<? if ($DisableWiki==1) { ?> checked="checked"<? } ?> /> <label for="DisableWiki">Wiki</label> |
|
||||
<input type="checkbox" name="DisableLeech" id="DisableLeech"<? if ($DisableLeech==0) { ?> checked="checked"<? } ?> /> <label for="DisableLeech">Leech</label> |
|
||||
<input type="checkbox" name="DisablePM" id="DisablePM"<? if ($DisablePM==1) { ?> checked="checked"<? } ?> /> <label for="DisablePM">PM</label> |
|
||||
<input type="checkbox" name="DisableIRC" id="DisableIRC"<? if ($DisableIRC==1) { ?> checked="checked"<? } ?> /> <label for="DisableIRC">IRC</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
View::show_header("IP history for $Username");
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
function ShowIPs(rowname) {
|
||||
$('tr[name="'+rowname+'"]').toggle();
|
||||
|
||||
@ -69,10 +69,11 @@ function UnBan(ip, id, elemID) {
|
||||
document.getElementById(elemID).onclick = function() { Ban(ip, id, elemID); return false;};
|
||||
}
|
||||
}
|
||||
xmlhttp.open("GET","tools.php?action=quick_ban&perform=delete&id="+id,true);
|
||||
xmlhttp.open("GET","tools.php?action=quick_ban&perform=delete&id=" + id + "&ip=" + ip,true);
|
||||
xmlhttp.send();
|
||||
}
|
||||
*/
|
||||
*/
|
||||
//]]>
|
||||
</script>
|
||||
<?
|
||||
list($Page,$Limit) = Format::page_limit(IPS_PER_PAGE);
|
||||
@ -126,7 +127,7 @@ function UnBan(ip, id, elemID) {
|
||||
?>
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
<h2>IP history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
|
||||
<h2>IP address history for <a href="/user.php?id=<?=$UserID?>"><?=$Username?></a></h2>
|
||||
</div>
|
||||
<div class="linkbox">
|
||||
<? if($UsersOnly) { ?>
|
||||
|
Loading…
Reference in New Issue
Block a user