Empty commit

This commit is contained in:
Git 2012-07-13 08:00:19 +00:00
parent 1f3824c802
commit 441f616a37
2 changed files with 20 additions and 12 deletions

View File

@ -407,6 +407,19 @@ function checked($Checked) {
<br /><label><input type="checkbox" name="p_artistsadded" <?=checked(!in_array('artistsadded', $Paranoia))?>> Number of artists added</label>
</td>
</tr>
<tr class="colhead_dark">
<td colspan="2">
<strong>Reset Passkey</strong>
</td>
</tr>
<tr>
<td class="label"><strong>Reset passkey</strong></td>
<td>
<label><input type="checkbox" name="resetpasskey" />
Any active torrents must be downloaded again to continue leeching/seeding.</label> <br />
<a href="wiki.php?action=article&name=Passkey" >See also this wiki article</a>
</td>
</tr>
<tr class="colhead_dark">
<td colspan="2">
<strong>Change password</strong>
@ -415,7 +428,7 @@ function checked($Checked) {
<tr>
<td/>
<td>
<p class="min_padding">A strong password is 8 characters or longer</p>
<p class="min_padding">A strong password is between 8 and 40 characters long</p>
<p class="min_padding">Contains at least 1 lowercase and uppercase letter</p>
<p class="min_padding">Contains at least a number or symbol</p>
</td>
@ -426,18 +439,11 @@ function checked($Checked) {
</tr>
<tr>
<td class="label"><strong>New password</strong></td>
<td><input type="password" size="40" name="new_pass_1" id="new_pass_1" value="" maxlength="100" /> <b id="pass_strength"/></td>
<td><input type="password" size="40" name="new_pass_1" id="new_pass_1" value="" maxlength="40" /> <b id="pass_strength"/></td>
</tr>
<tr>
<td class="label"><strong>Re-type new password</strong></td>
<td><input type="password" size="40" name="new_pass_2" id="new_pass_2" value="" maxlength="100" /> <b id="pass_match"/></td>
</tr>
<tr>
<td class="label"><strong>Reset passkey</strong></td>
<td>
<input type="checkbox" name="resetpasskey" />
<label for="ResetPasskey">Any active torrents must be downloaded again to continue leeching/seeding.</label>
</td>
<td><input type="password" size="40" name="new_pass_2" id="new_pass_2" value="" maxlength="40" /> <b id="pass_match"/></td>
</tr>
<tr>
<td colspan="2" class="right">

View File

@ -228,7 +228,7 @@ function check_paranoia_here($Setting) {
<? if (($Override=check_paranoia_here('requiredratio')) && isset($RequiredRatio)) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?> >Required ratio: <?=number_format((double)$RequiredRatio, 2)?></li>
<? } ?>
<? if ($OwnProfile || ($Override=check_paranoia_here(false))) { //if ($OwnProfile || check_perms('users_mod')) { ?>
<? if ($OwnProfile || ($Override=check_paranoia_here(false)) || check_perms('users_mod')) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?> ><a href="userhistory.php?action=token_history&amp;userid=<?=$UserID?>">Tokens</a>: <?=number_format($FLTokens)?></li>
<? } ?>
</ul>
@ -576,7 +576,9 @@ function check_paranoia_here($Setting) {
<? if (($Override=check_paranoia_here('seeding+'))) { ?>
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?> >Seeding: <?=number_format($Seeding)?> <?
if(($AOverride=check_paranoia_here('seeding'))) {
echo (($Override=check_paranoia_here('snatched')) && $Snatched )? '<span style="' .($Override===2 ? 'class="paranoia_override" ' : '').'"(' . 100*min(1,round($Seeding/$UniqueSnatched,2)).'%)</span> ':''?>
echo ((($Override=check_paranoia_here('snatched')) && $UniqueSnatched > 0 )
? '<span ' .($Override===2 ? 'class="paranoia_override" ' : '').' >(' . 100*min(1,round($Seeding/$UniqueSnatched,2)).'%)</span> '
: ''); ?>
[<a href="torrents.php?type=seeding&amp;userid=<?=$UserID?>" <?= $AOverride===2 ? 'class="paranoia_override"' :'' ?> title="View">View</a>]
<? if (check_perms('zip_downloader')) { ?>
[<a href="torrents.php?action=redownload&amp;type=seeding&amp;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 albums before redownloading.');">Download</a>]