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> </div>
</td> </td>
<td class="nobr"> <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> <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>
<td class="nobr"> <td class="nobr">

View File

@ -5,7 +5,7 @@
<!-- Forum Rules --> <!-- Forum Rules -->
<div class="thin"> <div class="thin">
<div class="box pad" style="padding:10px 10px 10px 20px;"> <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> </div>
<br /> <br />
<h3 id="forums">Forum Rules</h3> <h3 id="forums">Forum Rules</h3>
@ -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. 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>
<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> </li>
</ul> </ul>
</div> </div>

View File

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

View File

@ -732,7 +732,6 @@ function check_paranoia_here($Setting) {
<td> <td>
<span id="vote_count_<?=$RequestID?>"><?=$Votes?></span> <span id="vote_count_<?=$RequestID?>"><?=$Votes?></span>
<? if(check_perms('site_vote')){ ?> <? 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> &nbsp;&nbsp; <a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets">+</a>
<? } ?> <? } ?>
</td> </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') { if(response == 'bankrupt') {
error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request"); error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request");
return; return;

View File

@ -228,7 +228,7 @@ function Vote(amount, requestid) {
index = true; 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') { if(response == 'bankrupt') {
error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request"); error_message("You do not have sufficient upload credit to add " + get_size(amount) + " to this request");
return; return;