diff --git a/classes/users.class.php b/classes/users.class.php index e02b3309..ae9f23d0 100644 --- a/classes/users.class.php +++ b/classes/users.class.php @@ -629,6 +629,8 @@ public static function show_avatar($Avatar, $UserID, $Username, $Setting, $Size } if (!empty($AvatarMouseOverText)) { $AvatarMouseOverText = "title=\"$AvatarMouseOverText\" alt=\"$AvatarMouseOverText\""; + } else { + $AvatarMouseOverText = "alt=\"\""; } if ($EnabledRewards['HasSecondAvatar'] && !empty($Rewards['SecondAvatar'])) { $SecondAvatar = 'data-gazelle-second-avatar="' . ImageTools::process($Rewards['SecondAvatar']) . '"'; diff --git a/classes/votes.class.php b/classes/votes.class.php index 74742708..492cd945 100644 --- a/classes/votes.class.php +++ b/classes/votes.class.php @@ -9,10 +9,10 @@ public static function vote_link($GroupID, $Vote = '') { if (!G::$LoggedUser['NoVoteLinks'] && check_perms('site_album_votes')) { ?> Vote: - - - - + + + + x
- - + + + X diff --git a/sections/forums/search.php b/sections/forums/search.php index 606b2edf..4f5352fc 100644 --- a/sections/forums/search.php +++ b/sections/forums/search.php @@ -336,7 +336,7 @@ Last post time has_results()) { ?> - Nothing found! + Nothing found! - full_format($Body)?> + full_format($Body)?> +
+ + + +
Administration
+
+
- -
- - - -
Administration
-
diff --git a/sections/top10/torrents.php b/sections/top10/torrents.php index dd656cfe..7d62f1d6 100644 --- a/sections/top10/torrents.php +++ b/sections/top10/torrents.php @@ -414,13 +414,13 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) { - Name - Size - Data - Snatches - Seeders - Leechers - Peers + Name + Size + Data + Snatches + Seeders + Leechers + Peers $Group) { extract(Torrents::array_group($Group)); - $Ups = $Group['Ups']; - $Total = $Group['Total']; + $UpVotes = $Group['Ups']; + $TotalVotes = $Group['Total']; $Score = $Group['Score']; + $DownVotes = $TotalVotes - $UpVotes; $IsBookmarked = in_array($GroupID, $Bookmarks); @@ -209,7 +210,7 @@ - +
@@ -230,7 +231,17 @@ - upvotes out of total (Score: ). + + + +     + +   + Total + +
+ Score: + - +
@@ -354,12 +365,12 @@ - - + + - - - + + + diff --git a/sections/torrents/details.php b/sections/torrents/details.php index bc6546e2..ae1efca8 100644 --- a/sections/torrents/details.php +++ b/sections/torrents/details.php @@ -467,9 +467,9 @@ function compare($X, $Y) {
  • - + - + + U diff --git a/sections/torrents/vote.php b/sections/torrents/vote.php index 50459938..77e8d7cf 100644 --- a/sections/torrents/vote.php +++ b/sections/torrents/vote.php @@ -4,14 +4,26 @@ $TotalVotes = $GroupVotes['Total']; $UpVotes = $GroupVotes['Ups']; + $DownVotes = $TotalVotes - $UpVotes; $Voted = isset($UserVotes[$GroupID]) ? $UserVotes[$GroupID]['Type'] : false; + $Score = Votes::binomial_score($UpVotes, $TotalVotes); ?>
    Album Votes
    - This has out of total. + +     + +     + Total

    + Score: +   |   + % positive +

    + +
  • TorrentsTorrents SizeSnatchesSeedersLeechersSnatchesSeedersLeechers