Empty commit

This commit is contained in:
Git 2013-02-20 08:00:33 +00:00
parent 2c59a9e508
commit 7d7c7fcd7e
6 changed files with 13 additions and 22 deletions

View File

@ -609,15 +609,9 @@
</div>
</td>
<td class="nobr">
<? if(!$IsFilled && check_perms('site_vote')){ ?>
<form class="add_form" name="request" id="form_<?=$RequestID?>" action="">
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
<input type="hidden" id="requestid_<?=$RequestID?>" name="requestid" value="<?=$RequestID?>" />
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
</form>
<? } else { ?>
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
<? if(!$IsFilled && check_perms('site_vote')){ ?>
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
<? } ?>
</td>
<td class="nobr">

View File

@ -5,7 +5,7 @@
<!-- Forum Rules -->
<div class="thin">
<div class="box pad" style="padding:10px 10px 10px 20px;">
<p>Anything not allowed on the forums, is also not allowed on IRC and vice versa. They are separated for convenience only.</p>
<p>Anything not allowed on the forums is also not allowed on IRC and vice versa. They are separated for convenience only.</p>
</div>
<br />
<h3 id="forums">Forum Rules</h3>
@ -24,7 +24,7 @@
No asking for money for any reason whatsoever. We don't know or care about your friend who lost everything, or dying relative who wants to enjoy their last few moments alive by being given lots of money.
</li>
<li>
No advertising your uploads.
No advertising your uploads.
</li>
<li>
No posting music requests in forums, there's a request link on the top bar, please use that instead.
@ -78,7 +78,7 @@
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 youre posting in. Mature content is only allowed in: The Lounge, The Lounge +1, The Library, Music, Power Users, Elite, Torrent Masters, VIPs, Comics, Contests &amp; Designs, The Laboratory. If you are in doubt about a posts 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 youre posting in. Mature content is only allowed in: The Lounge, The Lounge +1, The Library, Music, Power Users, Elite, Torrent Masters, VIPs, Comics, Contests &amp; Designs, The Laboratory. If you are in doubt about a posts appropriateness, send a <a href="staffpm.php">Staff PM to the Forum Moderators</a> and wait for a reply before proceeding.
</li>
</ul>
</div>
@ -91,7 +91,7 @@
<div class="box pad rule_summary" style="padding:10px 10px 10px 20px;">
<ul>
<li>
Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC server.
Staff have the final decision, if they say stop and you continue, expect at least to be banned from the IRC server.
</li>
<li>
Be respectful to IRC Operators and Administrators. These people are site staff who volunteer their time for little compensation. They are there for the benefit of all and to aid in conflict resolution, do not waste their time.
@ -127,7 +127,7 @@
Don't PM, DCC, or Query anyone you don't know or have never talked to without asking, this applies specifically to staff.
</li>
<li>
No language other than English is permitted in the official IRC channels. If we can't understand it, we can't moderate it.
No language other than English is permitted in the official IRC channels. If we can't understand it, we can't moderate it.
</li>
<li>
The offering, selling, trading and giving away of invites to this or any other site on our IRC network is <strong>strictly forbidden</strong>.

View File

@ -662,12 +662,10 @@ function filelist($Str) {
<tr class="requestrows <?=(++$i%2?'rowa':'rowb')?>">
<td><a href="requests.php?action=view&amp;id=<?=$Request['ID']?>"><?=$FormatString?> / <?=$BitrateString?> / <?=$MediaString?></a></td>
<td>
<form class="add_form" name="bounty" id="form_<?=$Request['ID']?>" action="">
<span id="vote_count_<?=$Request['ID']?>"><?=count($RequestVotes['Voters'])?></span>
<input type="hidden" id="requestid_<?=$Request['ID']?>" name="requestid" value="<?=$Request['ID']?>" />
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$Request['ID']?>)" class="brackets">+</a>
</form>
<span id="vote_count_<?=$Request['ID']?>"><?=count($RequestVotes['Voters'])?></span>
<? if(check_perms('site_vote')){ ?>
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$Request['ID']?>)" class="brackets">+</a>
<? } ?>
</td>
<td><?=Format::get_size($RequestVotes['TotalBounty'])?></td>
</tr>

View File

@ -732,7 +732,6 @@ function check_paranoia_here($Setting) {
<td>
<span id="vote_count_<?=$RequestID?>"><?=$Votes?></span>
<? if(check_perms('site_vote')){ ?>
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
&nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets">+</a>
<? } ?>
</td>

View File

@ -30,7 +30,7 @@ function Vote(amount, requestid) {
}
}
ajax.get('requests.php?action=takevote&id=' + requestid + '&auth=' + $('#auth').raw().value + '&amount=' + amount, function (response) {
ajax.get('requests.php?action=takevote&id=' + requestid + '&auth=' + authkey + '&amount=' + amount, function (response) {
if(response == 'bankrupt') {
error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request");
return;

View File

@ -228,7 +228,7 @@ function Vote(amount, requestid) {
index = true;
}
ajax.get('requests.php?action=takevote&id=' + requestid + '&auth=' + $('#auth').raw().value + '&amount=' + amount, function (response) {
ajax.get('requests.php?action=takevote&id=' + requestid + '&auth=' + authkey + '&amount=' + amount, function (response) {
if(response == 'bankrupt') {
error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request");
return;