Empty commit

This commit is contained in:
Git 2013-01-26 08:00:19 +00:00
parent a781c76c93
commit 29d4376cd3
3 changed files with 22 additions and 22 deletions

View File

@ -16,10 +16,10 @@
<div class="header"> <div class="header">
<h2>Top 10 Users</h2> <h2>Top 10 Users</h2>
<div class="linkbox"> <div class="linkbox">
[<a href="top10.php?type=torrents">Torrents</a>] <a href="top10.php?type=torrents" class="brackets">Torrents</a>
[<a href="top10.php?type=users"><strong>Users</strong></a>] <a href="top10.php?type=users" class="brackets"><strong>Users</strong></a>
[<a href="top10.php?type=tags">Tags</a>] <a href="top10.php?type=tags" class="brackets">Tags</a>
[<a href="top10.php?type=votes">Favorites</a>] <a href="top10.php?type=votes" class="brackets">Favorites</a>
</div> </div>
</div> </div>
<? <?

View File

@ -589,12 +589,12 @@ function filelist($Str) {
<a href="#" class="brackets" onclick="show_reported('<?=$TorrentID?>');return false;">View report information</a> <a href="#" class="brackets" onclick="show_reported('<?=$TorrentID?>');return false;">View report information</a>
<? } ?> <? } ?>
</div> </div>
<div id="peers_<?=$TorrentID?>" class="hidden brackets"></div> <div id="peers_<?=$TorrentID?>" class="hidden"></div>
<div id="downloads_<?=$TorrentID?>" class="hidden brackets"></div> <div id="downloads_<?=$TorrentID?>" class="hidden"></div>
<div id="snatches_<?=$TorrentID?>" class="hidden brackets"></div> <div id="snatches_<?=$TorrentID?>" class="hidden"></div>
<div id="files_<?=$TorrentID?>" class="hidden brackets"><?=$FileList?></div> <div id="files_<?=$TorrentID?>" class="hidden"><?=$FileList?></div>
<? if($Reported) { ?> <? if($Reported) { ?>
<div id="reported_<?=$TorrentID?>" class="hidden brackets"><?=$ReportInfo?></div> <div id="reported_<?=$TorrentID?>" class="hidden"><?=$ReportInfo?></div>
<? } ?> <? } ?>
<? if(!empty($Description)) { <? if(!empty($Description)) {
echo '<blockquote>'.$Text->full_format($Description).'</blockquote>';} echo '<blockquote>'.$Text->full_format($Description).'</blockquote>';}

View File

@ -158,52 +158,52 @@ function check_paranoia_here($Setting) {
<h2><?=$Username?></h2> <h2><?=$Username?></h2>
<div class="linkbox"> <div class="linkbox">
<? if (!$OwnProfile) { ?> <? if (!$OwnProfile) { ?>
[<a href="inbox.php?action=compose&amp;to=<?=$UserID?>">Send Message</a>] <a href="inbox.php?action=compose&amp;to=<?=$UserID?>" class="brackets">Send Message</a>
<? if(check_perms("users_mod")) { <? if(check_perms("users_mod")) {
$DB->query("SELECT PushService FROM users_push_notifications WHERE UserID = '$UserID'"); $DB->query("SELECT PushService FROM users_push_notifications WHERE UserID = '$UserID'");
if($DB->record_count() > 0) { ?> if($DB->record_count() > 0) { ?>
[<a <a
href="user.php?action=take_push&amp;push=1&amp;userid=<?=$UserID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Push href="user.php?action=take_push&amp;push=1&amp;userid=<?=$UserID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets"
User</a>] >Push User</a>
<? } <? }
} }
$DB->query("SELECT FriendID FROM friends WHERE UserID='$LoggedUser[ID]' AND FriendID='$UserID'"); $DB->query("SELECT FriendID FROM friends WHERE UserID='$LoggedUser[ID]' AND FriendID='$UserID'");
if($DB->record_count() == 0) { ?> if($DB->record_count() == 0) { ?>
[<a href="friends.php?action=add&amp;friendid=<?=$UserID?>&amp;auth=<?=$LoggedUser['AuthKey']?>">Add to friends</a>] <a href="friends.php?action=add&amp;friendid=<?=$UserID?>&amp;auth=<?=$LoggedUser['AuthKey']?>" class="brackets">Add to friends</a>
<? }?> <? }?>
[<a href="reports.php?action=report&amp;type=user&amp;id=<?=$UserID?>">Report User</a>] <a href="reports.php?action=report&amp;type=user&amp;id=<?=$UserID?>" class="brackets">Report User</a>
<? <?
} }
if (check_perms('users_edit_profiles', $Class)) { if (check_perms('users_edit_profiles', $Class)) {
?> ?>
[<a href="user.php?action=edit&amp;userid=<?=$UserID?>">Settings</a>] <a href="user.php?action=edit&amp;userid=<?=$UserID?>" class="brackets">Settings</a>
<? } <? }
if (check_perms('users_view_invites', $Class)) { if (check_perms('users_view_invites', $Class)) {
?> ?>
[<a href="user.php?action=invite&amp;userid=<?=$UserID?>">Invites</a>] <a href="user.php?action=invite&amp;userid=<?=$UserID?>" class="brackets">Invites</a>
<? } <? }
if (check_perms('admin_manage_permissions', $Class)) { if (check_perms('admin_manage_permissions', $Class)) {
?> ?>
[<a href="user.php?action=permissions&amp;userid=<?=$UserID?>">Permissions</a>] <a href="user.php?action=permissions&amp;userid=<?=$UserID?>" class="brackets">Permissions</a>
<? } <? }
if (check_perms('users_logout', $Class) && check_perms('users_view_ips', $Class)) { if (check_perms('users_logout', $Class) && check_perms('users_view_ips', $Class)) {
?> ?>
[<a href="user.php?action=sessions&amp;userid=<?=$UserID?>">Sessions</a>] <a href="user.php?action=sessions&amp;userid=<?=$UserID?>" class="brackets">Sessions</a>
<? } <? }
if (check_perms('admin_reports')) { if (check_perms('admin_reports')) {
?> ?>
[<a href="reportsv2.php?view=reporter&amp;id=<?=$UserID?>">Reports</a>] <a href="reportsv2.php?view=reporter&amp;id=<?=$UserID?>" class="brackets">Reports</a>
<? } <? }
if (check_perms('users_mod')) { if (check_perms('users_mod')) {
?> ?>
[<a href="userhistory.php?action=token_history&amp;userid=<?=$UserID?>">FL Tokens</a>] <a href="userhistory.php?action=token_history&amp;userid=<?=$UserID?>" class="brackets">FL Tokens</a>
<? } <? }
if (check_perms('admin_clear_cache') && check_perms('users_override_paranoia')) { if (check_perms('admin_clear_cache') && check_perms('users_override_paranoia')) {
?> ?>
[<a href="user.php?action=clearcache&amp;id=<?=$UserID?>">Clear Cache</a>] <a href="user.php?action=clearcache&amp;id=<?=$UserID?>" class="brackets">Clear Cache</a>
<? } ?> <? } ?>
</div> </div>