sync: 2022-06-08 11:46:36 +0000

This commit is contained in:
gpw
2022-06-08 11:46:36 +00:00
parent 0b18474149
commit c4b3a6795e
138 changed files with 1007 additions and 1341 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
public
public/{app,js}
vendor
src/js/forked
src/css/forked
+1 -1
View File
@@ -5,7 +5,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[xml]": {
"editor.defaultFormatter": "DotJoshJohnson.xml"
"editor.defaultFormatter": "redhat.vscode-xml"
},
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
+2 -2
View File
@@ -32,7 +32,7 @@ class DonationsView {
<table class="TableDonorPoints Table Form-rowList" id="donor_points_box">
<tr class="Form-rowHeader">
<td colspan="3" title='<?= Lang::get('user', 'donor_system_modify_values_title') ?>'><?= Lang::get('user', 'donor_system_modify_values') ?></td>
<td colspan="3" data-tooltip='<?= Lang::get('user', 'donor_system_modify_values_title') ?>'><?= Lang::get('user', 'donor_system_modify_values') ?></td>
</tr>
<tr class="Form-row">
<td class="Form-label" data-tooltip="<?= Lang::get('user', 'active_points_title') ?>"><?= Lang::get('user', 'active_points') ?>:</td>
@@ -107,7 +107,7 @@ class DonationsView {
<span style="float: right;"><a href="#" onclick="$('#profilediv_<?= $i ?>').gtoggle(); this.innerHTML = (this.innerHTML == '<?= Lang::get('global', 'hide') ?>' ? '<?= Lang::get('global', 'show') ?>' : '<?= Lang::get('global', 'hide') ?>'); return false;" class="brackets"><?= Lang::get('global', 'hide') ?></a></span>
</div>
<div class="Box-body HtmlText PostArticle profileinfo" id="profilediv_<?= $i ?>">
<? echo Text::full_format($ProfileRewards['ProfileInfo' . $i]); ?>
<?= Text::full_format($ProfileRewards['ProfileInfo' . $i]) ?>
</div>
</div>
<?
+1 -1
View File
@@ -149,7 +149,7 @@ class Format {
$RatioColor = 'u-colorRatio99';
$Class = $Tooltip ? 'tooltip' : '';
$Title = $Tooltip ? 'Infinite' : '';
return "<span class='$Class u-colorRatio99' title='$Title'>∞</span>";
return "<span class='$Class u-colorRatio99' data-tooltip='$Title'>∞</span>";
}
if ($Color) {
$Ratio = sprintf(
+17 -14
View File
@@ -130,7 +130,7 @@ class TORRENT_FORM {
<td class="Form-label"><?= Lang::get('upload', 'type') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<select class="Input" id="categories" name="type" onchange="Categories()" <?= $this->Disabled ?>>
<select class="Input" id="categories" name="type" onchange="globalapp.uploadCategories()" <?= $this->Disabled ?>>
<?
foreach (Misc::display_array($this->Categories) as $Index => $Cat) {
if ($Cat == "Applications") {
@@ -302,9 +302,12 @@ class TORRENT_FORM {
<td class="Form-items Form-errorContainer">
<div class="Form-inputs">
<input class="Input" type="text" id="imdb" name="imdb" size="45" placeholder="IMDB" <?= $this->Disabled ?> value=<?= $IMDBID ?>>
<button class='Button autofill loading' variant="primary" id="imdb_button" onclick="movieAutofill()" <?= $this->Disabled ? "disabled" : '' ?> type='button' /><span class="text"><?= Lang::get('upload', 'movie_fill') ?></span><span class="icon"></span></button>
<button class='Button autofill' variant="primary" id="imdb_button" onclick="globalapp.uploadMovieAutofill()" <?= $this->Disabled ? "disabled" : '' ?> type='button' />
<span class="text"><?= Lang::get('upload', 'movie_fill') ?></span>
<span class="Button-loaderIcon"></span>
</button>
<div class="Checkbox">
<input class="Input" type="checkbox" name="no_imdb_link" id="no_imdb_link" onchange="noImdbId()" <?= $this->Disabled ? "disabled" : '' ?>>
<input class="Input" type="checkbox" name="no_imdb_link" id="no_imdb_link" onchange="globalapp.uploadNoImdbId()" <?= $this->Disabled ? "disabled" : '' ?>>
<label class="Checkbox-label" for="no_imdb_link">&nbsp;<?= Lang::get('upload', 'no_imdb_link') ?></label>
</div>
</div>
@@ -409,7 +412,7 @@ class TORRENT_FORM {
if ($FirstArtist) {
if (!$this->DisabledFlag) {
?>
<a href="javascript:AddArtistField(true)" class="brackets">+</a> <a href="javascript:RemoveArtistField()" class="brackets">&minus;</a>
<a href="javascript:globalapp.uploadAddArtistField(true)" class="brackets">+</a> <a href="javascript:globalapp.globalapp.uploadRemoveArtistField()" class="brackets">&minus;</a>
<?
}
$FirstArtist = false;
@@ -435,12 +438,12 @@ class TORRENT_FORM {
<option class="Select-option" value="5"><?= Lang::get('upload', 'cinematographer') ?></option>
<option class="Select-option" value="6"><?= Lang::get('upload', 'actor') ?></option>
</select>
<a href="#" onclick="AddArtistField(true); return false;" class="brackets add-artist">+</a>
<a href="#" onclick="RemoveArtistField(); return false;" class="brackets remove-artist">&minus;</a>
<a href="#" onclick="globalapp.uploadAddArtistField(true); return false;" class="brackets add-artist">+</a>
<a href="#" onclick="globalapp.uploadRemoveArtistField(); return false;" class="brackets remove-artist">&minus;</a>
</div>
<? } ?>
<div class="show-more" style="display: none;">
<a href='#' onclick="artistsShowMore(); return false"><?= Lang::get('upload', 'show_more') ?></a>
<a href='#' onclick="globalapp.uploadArtistsShowMore(); return false"><?= Lang::get('upload', 'show_more') ?></a>
</div>
</td>
</tr>
@@ -479,7 +482,7 @@ class TORRENT_FORM {
<td class="Form-items Form-errorContainer">
<div class="Form-inputs">
<? if ($GenreTags) { ?>
<select class="Input" id="genre_tags" name="genre_tags" onchange="add_tag(); return false;" <?= $this->Disabled ?>>
<select class="Input" id="genre_tags" name="genre_tags" onchange="globalapp.uploadAddTag(); return false;" <?= $this->Disabled ?>>
<? foreach (Misc::display_array($GenreTags) as $Genre) { ?>
<option class="Select-option" value="<?= $Genre ?>"><?= $Genre ?></option>
<? } ?>
@@ -955,15 +958,15 @@ class TORRENT_FORM {
<td class="Form-items">
<div class="Form-inputs">
<div class="Checkbox">
<input class="Input" type="checkbox" onchange="AlterOriginal()" id="self_purchase" name="buy" <? if ($Buy) {
echo 'checked="checked" ';
} ?> />
<input class="Input" type="checkbox" onchange="globalapp.uploadAlterOriginal()" id="self_purchase" name="buy" <? if ($Buy) {
echo 'checked="checked" ';
} ?> />
<label class="Checkbox-label" for="self_purchase"><?= Lang::get('upload', 'self_purchase') ?></label>
</div>
<div class="Checkbox">
<input class="Input" type="checkbox" onchange="AlterOriginal()" id="self_rip" name="diy" <? if ($Diy) {
echo 'checked="checked" ';
} ?> />
<input class="Input" type="checkbox" onchange="globalapp.uploadAlterOriginal()" id="self_rip" name="diy" <? if ($Diy) {
echo 'checked="checked" ';
} ?> />
<label class="Checkbox-label" for="self_rip"><?= Lang::get('upload', 'self_rip') ?></label>
</div>
<div class="Checkbox">
+1 -1
View File
@@ -1814,7 +1814,7 @@ WHERE ud.TorrentID=? AND ui.NotifyOnDeleteDownloaded='1' AND ud.UserID NOT IN ({
if ($SubName) {
$DisplayName .= " [<a href=\"torrents.php?searchstr=" . $SubName . "\">$SubName</a>] ";
}
$DisplayName .= "<a href=\"torrents.php?id=$GroupID&amp;torrentid=$TorrentID#torrent$TorrentID\" class=\"tooltip\" title=\"" . Lang::get('global', 'view_torrent') . "\" dir=\"ltr\">$GroupName</a>";
$DisplayName .= "<a href=\"torrents.php?id=$GroupID&amp;torrentid=$TorrentID#torrent$TorrentID\" data-tooltip=\"" . Lang::get('global', 'view_torrent') . "\" dir=\"ltr\">$GroupName</a>";
if ($GroupYear) {
$DisplayName .= " ($GroupYear)";
}
+25 -28
View File
@@ -84,7 +84,7 @@ class UngroupTorrentSimpleListView extends UngroupTorrentTableView {
$ColCount -= 1;
}
?>
<tr class="TableTorrent-rowTitle Table-row <?= $SnatchedGroupClass . (!empty($LoggedUser['TorrentGrouping']) && $LoggedUser['TorrentGrouping'] === 1 ? ' hidden' : '') ?>" group-id="<?= $GroupID ?>">
<tr class="TableTorrent-rowTitle Table-row u-tableTorrent-rowTitle <?= $SnatchedGroupClass . (!empty($LoggedUser['TorrentGrouping']) && $LoggedUser['TorrentGrouping'] === 1 ? ' hidden' : '') ?>" group-id="<?= $GroupID ?>" torrent-id="<?= $TorrentID ?>">
<?
if ($this->WithNumber) {
@@ -246,8 +246,8 @@ class TorrentTableView {
}
public function render_torrent_detail($Group, $Torrent) {
$ReadOnly = $this->DetailOption->ReadOnly;
$ThumbCounts = $this->DetailOption->ThumbCounts;
$BonusSended = $this->DetailOption->BonusSended;
$ThumbCounts = $this->DetailOption->ThumbCounts[$Torrent['ID']];
$BonusSended = $this->DetailOption->BonusSended[$Torrent['ID']];
$ShowReport = $this->DetailOption->WithReport;
$GroupID = $Group['ID'];
$GroupCategoryID = $Group['CategoryID'];
@@ -405,12 +405,14 @@ class TorrentTableView {
} ?>
</div>
<? if (!$ReadOnly) { ?>
<div class="TorrentDetail-likeContainer ButtonGroup">
<div class="TorrentDetail-likeContainer ButtonGroup ButtonGroup--wide">
<div class="TorrentDetail-reward is-total">
<span class="TorrentDetail-rewardButton" data-tooltip="<?= Lang::get('torrents', 'total_reward_bonus_points_pre_tax') ?>">
<?= icon('bonus-active') ?>
</span>
<span data-tooltip="<?= Lang::get('torrents', 'total_reward_bonus_points_pre_tax') ?>" id="bonuscnt<?= $TorrentID ?>"><?= isset($BonusSended) && isset($BonusSended['Count']) && $BonusSended['Count'] > 0 ? $BonusSended['Count'] : '0' ?></span>
<span data-tooltip="<?= Lang::get('torrents', 'total_reward_bonus_points_pre_tax') ?>" id="bonuscnt<?= $TorrentID ?>">
<?= isset($BonusSended) && isset($BonusSended['Count']) && $BonusSended['Count'] > 0 ? $BonusSended['Count'] : '0' ?>
</span>
</div>
<div class="TorrentDetail-like">
<span id="thumb<?= $TorrentID ?>" <?= isset($ThumbCounts) && isset($ThumbCounts['on']) && $ThumbCounts['on'] > 0 ? 'style="display: none;"' : '' ?>>
@@ -427,7 +429,7 @@ class TorrentTableView {
</span>
<span id="unthumb<?= $TorrentID ?>" <?= isset($ThumbCounts) && empty($ThumbCounts['on']) ? 'style="display: none;"' : '' ?>>
<a href="javascript:void(0);" onclick="unthumb(<?= $TorrentID ?>, <?= $UserID ?>, 'torrent')">
<?= icon("Common/like") ?>
<?= icon("Common/like-solid") ?>
</a>
</span>
<span id="thumbcnt<?= $TorrentID ?>">
@@ -449,8 +451,12 @@ class TorrentTableView {
<?
if ($TrumpableMsg) { ?>
<div class="TorrentDetail-trumpable TorrentDetail-row is-block">
<span class="TorrentDetail-trumpableTitle"><?= Lang::get('torrents', 'trumpable_reason') ?>:</span>
<span class="TorrentDetail-trumpableMessage"><?= $TrumpableMsg ?></span>
<span class="TorrentDetail-trumpableTitle">
<?= Lang::get('torrents', 'trumpable_reason') ?>:
</span>
<span class="TorrentDetail-trumpableMessage">
<?= $TrumpableMsg ?>
</span>
</div>
<?
} ?>
@@ -460,11 +466,9 @@ class TorrentTableView {
?>
<div class="TorrentDetail-row is-rewardContainer">
<div class="TorrentDetail-rewardList ButtonGroup" id="sendbonus_<?= $TorrentID ?>">
<?
$Sended = isset($BonusSended[$TorrentID]) ? explode(',', $BonusSended[$TorrentID]['Sended']) : [];
?>
<? $Sended = isset($BonusSended) ? explode(',', $BonusSended['Sended']) : []; ?>
<div class="TorrentDetail-reward">
<span class="TorrentDetail-rewardButton" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(5, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus5<?= $TorrentID ?>">
<span class="TorrentDetail-rewardButton is-active" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(5, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus5<?= $TorrentID ?>">
<?= icon('bonus-active') ?>
</span>
<a class="TorrentDetail-rewardButton is-toReward" data-tooltip="<?= Lang::get('torrents', 'reward_5_bonus_to_uploader') ?>" style="<?= in_array(5, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus5<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 5)">
@@ -473,7 +477,7 @@ class TorrentTableView {
<span>5</span>
</div>
<div class="TorrentDetail-reward">
<span class="TorrentDetail-rewardButton" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(30, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus30<?= $TorrentID ?>">
<span class="TorrentDetail-rewardButton is-active" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(30, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus30<?= $TorrentID ?>">
<?= icon('bonus-active') ?>
</span>
<a class="TorrentDetail-rewardButton is-toReward" data-tooltip="<?= Lang::get('torrents', 'reward_30_bonus_to_uploader') ?>" style="<?= in_array(30, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus30<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 30)">
@@ -482,19 +486,19 @@ class TorrentTableView {
<span>30</span>
</div>
<div class="TorrentDetail-reward">
<span class="TorrentDetail-rewardDisplay" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(100, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus100<?= $TorrentID ?>">
<span class="TorrentDetail-rewardButton is-active" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(100, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus100<?= $TorrentID ?>">
<?= icon('bonus-active') ?>
</span>
<a class="TorrentDetail-rewardButton" data-tooltip="<?= Lang::get('torrents', 'reward_100_bonus_to_uploader') ?>" style="<?= in_array(100, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus100<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 100)">
<a class="TorrentDetail-rewardButton is-toReward" data-tooltip="<?= Lang::get('torrents', 'reward_100_bonus_to_uploader') ?>" style="<?= in_array(100, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus100<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 100)">
<?= icon('bonus-active') ?>
</a>
<span>100</span>
</div>
<div class="TorrentDetail-reward">
<span class="TorrentDetail-rewardDisplay" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(300, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus300<?= $TorrentID ?>">
<span class="TorrentDetail-rewardButton is-active" data-tooltip="<?= G::$LoggedUser['ID'] == $UserID ? Lang::get('torrents', 'you_cant_reward_yourself') : Lang::get('torrents', 'you_have_rewarded') ?>" style="<?= in_array(300, $Sended) || G::$LoggedUser['ID'] == $UserID ? "" : "display: none;" ?>" id="bonus300<?= $TorrentID ?>">
<?= icon('bonus-active') ?>
</span>
<a class="TorrentDetail-rewardButton" data-tooltip="<?= Lang::get('torrents', 'reward_300_bonus_to_uploader') ?>" style="<?= in_array(300, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus300<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 300)">
<a class="TorrentDetail-rewardButton is-toReward" data-tooltip="<?= Lang::get('torrents', 'reward_300_bonus_to_uploader') ?>" style="<?= in_array(300, $Sended) || G::$LoggedUser['ID'] == $UserID ? "display: none;" : "" ?>" id="abonus300<?= $TorrentID ?>" href="javascript:void(0);" onclick="sendbonus(<?= $TorrentID ?>, 300)">
<?= icon('bonus-active') ?>
</a>
<span>300</span>
@@ -629,19 +633,12 @@ class TorrentTableView {
}
?>
</div>
<?
}
if (!empty($Description)) {
?>
<? } ?>
<? if (!empty($Description)) { ?>
<div class="TorrentDetail-row is-description is-block">
<?
echo Text::full_format($Description);
?>
<?= Text::full_format($Description) ?>
</div>
<?
}
?>
<? } ?>
</div>
<?
}
+6 -120
View File
@@ -612,9 +612,12 @@ class Users {
$IconImage = STATIC_SERVER . "common/symbols/donor_{$DonorHeart}.png";
}
}
$Str .= "<a target=\"_blank\" href=\"$IconLink\"><img class=\"donor_icon tooltip\" src=\"$IconImage\" title=\"$IconText\" /></a>";
$Str .= "<a target=\"_blank\" href=\"$IconLink\"><img class=\"donor_icon\" src=\"$IconImage\" data-tooltip=\"$IconText\" /></a>";
}
if ($IsWarned && $IsEnabled) {
if ($IsEnabled && $UserInfo['Enabled'] == 2) {
$Str .= '<a href="rules.php" data-tooltip="' . Lang::get('user', 'disabled') . '"><i class="disabled_flag" aria-hidden="true">' . icon("User/disabled") . '</i></a>';
} else if ($IsWarned && $IsEnabled) {
if ($UserInfo['Warned'] != '0000-00-00 00:00:00') {
$Str .= '<a href="wiki.php?action=article&amp;id=114"'
. '><i class="warned-flag" aria-hidden="true" data-tooltip="Warned'
@@ -666,7 +669,6 @@ class Users {
}
}
}
$Str .= ($IsEnabled && $UserInfo['Enabled'] == 2) ? '<a href="rules.php"><i class="disabled_flag" aria-hidden="true">' . icon("User/disabled") . '</i></a>' : '';
if ($Badges) {
$ClassesDisplay = array();
@@ -689,7 +691,7 @@ class Users {
$WearOrDisplay = Badges::get_wear_badges($UserID);
foreach ($WearOrDisplay['Username'] as $BadgeID) {
$Badge = Badges::get_badges_by_id($BadgeID);
$Str .= "<span class=\"" . ($ProfileBadges ? "user_profile" : "post_username") . "_badges\" title=\"" . Badges::get_text($Badge['Label'], 'badge_name') . "\"><img src=\"" . $Badge['SmallImage'] . "\"></span>";
$Str .= "<span class=\"" . ($ProfileBadges ? "user_profile" : "post_username") . "_badges\" data-tooltip=\"" . Badges::get_text($Badge['Label'], 'badge_name') . "\"><img src=\"" . $Badge['SmallImage'] . "\"></span>";
}
}
if ($Title) {
@@ -711,122 +713,6 @@ class Users {
$Str .= '</span>';
return $Str;
}
public static function format_userinfo($UserID, $Badges = false, $IsWarned = true, $IsEnabled = true, $Class = false, $Title = false, $IsDonorForum = false) {
global $Classes;
$donation = new Donation();
// This array is a hack that should be made less retarded, but whatevs
// PermID => ShortForm
$SecondaryClasses = array(
'23' => 'FLS', // First Line Support
'30' => 'IN', // Interviewer
'31' => 'TC', // Torrent Celebrity
'32' => 'D', // Designer
'33' => 'ST', // Security Team
'37' => 'AR', // Archive Team
'36' => 'AT', // Alpha Team
'38' => 'CT', // Charlie Team
'39' => 'DT', // Delta Team
'56' => 'TI',
);
if ($UserID == 0) {
return 'System';
}
$UserInfo = self::user_info($UserID);
$Paranoia = $UserInfo['Paranoia'];
if ($UserInfo['Class'] < $Classes[MOD]['Level']) {
$OverrideParanoia = check_perms('users_override_paranoia', $UserInfo['Class']);
} else {
// Don't override paranoia for mods who don't want to show their donor heart
$OverrideParanoia = false;
}
$ShowDonorIcon = (!in_array('hide_donor_heart', $Paranoia) || $OverrideParanoia);
if ($IsDonorForum) {
list($Prefix, $Suffix, $HasComma) = $donation->titles($UserID);
$Username = "$Prefix " . ($HasComma ? ', ' : ' ') . "$Suffix ";
}
$Str = '<span class="Username">';
if ($Title) {
$Str .= "<strong><a href=\"user.php?id=$UserID\">$Username</a></strong>";
} else {
$Str .= "<a href=\"user.php?id=$UserID\">$Username</a>";
}
$FoundRank = null;
if ($Badges) {
if ($FoundRank == 0 && $UserInfo['Found'] == 1) {
$FoundRank = 1;
}
if ($ShowDonorIcon && $FoundRank > 0) {
$IconLink = '#';
$IconImage = 'donor.png';
$IconText = '创站元老';
$FoundHeart = $FoundRank;
$EnabledRewards = $donation->enabledRewards($UserID);
$DonorRewards = $donation->rewards($UserID);
$DonorHeart = $donation->rank($UserID);
if ($EnabledRewards['HasDonorIconMouseOverText'] && !empty($DonorRewards['IconMouseOverText'])) {
$IconText = display_str($DonorRewards['IconMouseOverText']);
}
if ($EnabledRewards['HasDonorIconLink'] && !empty($DonorRewards['CustomIconLink'])) {
$IconLink = display_str($DonorRewards['CustomIconLink']);
}
if ($EnabledRewards['HasCustomDonorIcon'] && !empty($DonorRewards['CustomIcon'])) {
$IconImage = ImageTools::process($DonorRewards['CustomIcon'], false, 'donoricon', $UserID);
} else {
if ($FoundHeart === 1) {
$IconImage = STATIC_SERVER . 'common/symbols/Found.gif';
} else {
$IconImage = STATIC_SERVER . "common/symbols/donor_{$DonorHeart}.png";
}
}
$Str .= "<a target=\"_blank\" href=\"$IconLink\"><img class=\"donor_icon tooltip\" src=\"$IconImage\" title=\"$IconText\" /></a>";
}
}
$Str .= ($IsEnabled && $UserInfo['Enabled'] == 2) ? '<a href="rules.php"><img src="' . STATIC_SERVER . 'common/symbols/disabled.png" alt="Banned" data-tooltip="Disabled" /></a>' : '';
if ($Badges) {
$ClassesDisplay = array();
foreach (array_intersect_key($SecondaryClasses, $UserInfo['ExtraClasses']) as $PermID => $PermShort) {
$ClassesDisplay[] = '<span class="secondary_class" data-tooltip="' . $Classes[$PermID]['Name'] . '">' . $PermShort . '</span>';
}
if (!empty($ClassesDisplay)) {
$Str .= '&nbsp;' . implode('&nbsp;', $ClassesDisplay);
}
}
if ($Class) {
if ($Title) {
$Str .= ' <strong>(' . Users::make_class_string($UserInfo['PermissionID']) . ')</strong>';
} else {
$Str .= ' (' . Users::make_class_string($UserInfo['PermissionID']) . ')';
}
}
if ($Title) {
// Image proxy CTs
if (check_perms('site_proxy_images') && !empty($UserInfo['Title'])) {
$UserInfo['Title'] = preg_replace_callback(
'~src=("?)(http.+?)(["\s>])~',
function ($Matches) {
return 'src=' . $Matches[1] . ImageTools::process($Matches[2]) . $Matches[3];
},
$UserInfo['Title']
);
}
if ($UserInfo['Title']) {
$Str .= ' <span class="Username-customTitle">(' . $UserInfo['Title'] . ')</span>';
}
}
$Str .= '</span>';
return $Str;
}
/**
* Given a class ID, return its name.
+18 -19
View File
@@ -18,30 +18,28 @@ $donation = new Donation();
<link rel="shortcut icon" href="favicon.ico" />
<link rel="apple-touch-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" href="/deps/tooltipster.bundle.min.css" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Torrents" href="opensearch.php?type=torrents" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Artists" href="opensearch.php?type=artists" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Requests" href="opensearch.php?type=requests" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Forums" href="opensearch.php?type=forums" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Log" href="opensearch.php?type=log" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Users" href="opensearch.php?type=users" />
<link rel="search" type="application/opensearchdescription+xml" data-tooltip="<?= SITE_NAME ?> Wiki" href="opensearch.php?type=wiki" />
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=feed_news&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - News" />
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=feed_blog&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - Blog" />
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=feed_changelog&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - Gazelle Change Log" />
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=torrents_notify_<?= G::$LoggedUser['torrent_pass'] ?>&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - P.T.N." />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Torrents" href="opensearch.php?type=torrents" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Artists" href="opensearch.php?type=artists" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Requests" href="opensearch.php?type=requests" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Forums" href="opensearch.php?type=forums" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Log" href="opensearch.php?type=log" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Users" href="opensearch.php?type=users" />
<link rel="search" type="application/opensearchdescription+xml" title="<?= SITE_NAME ?> Wiki" href="opensearch.php?type=wiki" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - News" href="feeds.php?feed=feed_news&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - Blog" href="feeds.php?feed=feed_blog&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - Changelog" href="feeds.php?feed=feed_changelog&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - P.T.N." href="feeds.php?feed=torrents_notify_<?= G::$LoggedUser['torrent_pass'] ?>&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<?
if (isset(G::$LoggedUser['Notify'])) {
foreach (G::$LoggedUser['Notify'] as $Filter) {
list($FilterID, $FilterName) = $Filter;
?>
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=torrents_notify_<?= $FilterID ?>_<?= G::$LoggedUser['torrent_pass'] ?>&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>&amp;name=<?= urlencode($FilterName) ?>" data-tooltip="<?= SITE_NAME ?> - <?= display_str($FilterName) ?>" />
<?
}
}
?>
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=torrents_all&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - All Torrents" />
<link rel="alternate" type="application/rss+xml" href="feeds.php?feed=torrents_movie&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" data-tooltip="<?= SITE_NAME ?> - Movie Torrents" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - <?= display_str($FilterName) ?>" href="feeds.php?feed=torrents_notify_<?= $FilterID ?>_<?= G::$LoggedUser['torrent_pass'] ?>&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>&amp;name=<?= urlencode($FilterName) ?>" />
<? } ?>
<? } ?>
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - All Torrents" href="feeds.php?feed=torrents_all&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<link rel="alternate" type="application/rss+xml" title="<?= SITE_NAME ?> - Movie Torrents" href="feeds.php?feed=torrents_movie&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>" />
<meta name="viewport" content="width=device-width" />
<?
if (G::$LoggedUser['StyleURL']) {
@@ -57,7 +55,7 @@ $donation = new Donation();
$StyleURL = G::$LoggedUser['StyleURL'];
}
?>
<link rel="stylesheet" type="text/css" media="screen" href="<?= $StyleURL ?>" data-tooltip="External CSS" />
<link rel="stylesheet" type="text/css" title="External CSS" media="screen" href="<?= $StyleURL ?>" />
<? } else { ?>
<? if (IS_DEV) { ?>
<link rel="stylesheet" type="text/css" media="screen" href="/src/css/default/<?= G::$LoggedUser['StyleName'] ?>/index.css" />
@@ -66,6 +64,7 @@ $donation = new Donation();
<? } ?>
<? } ?>
<script type="text/javascript">
window.globalapp = {}
//<![CDATA[
var authkey = "<?= G::$LoggedUser['AuthKey'] ?>";
var userid = <?= G::$LoggedUser['ID'] ?>;
+1
View File
@@ -1,4 +1,5 @@
export default {
like: '赞',
copied: '已复制',
view: '查看',
clear: '清除',
+1
View File
@@ -1,4 +1,5 @@
export default {
like: 'Like',
copied: 'Copied',
view: 'View',
clear: 'Clear',
+1 -1
View File
@@ -25,7 +25,7 @@ $lang_forums = array(
'topics' => '主题',
'posts' => '帖子',
'last_post' => '最新回帖',
'catch_up' => '返回顶部',
'catch_up' => '全部设置已读',
'like' => '赞',
'cant_like_yourself' => '无法赞自己。',
'report' => '报告',
+1 -1
View File
@@ -20,7 +20,7 @@ $lang_index = array(
'hide' => '隐藏',
'discuss' => '讨论',
'add_more' => '加载更多',
'add_old' => '需要浏览旧新闻',
'browse_old_news' => '浏览旧新闻',
'click_here' => '请点此',
'period' => '。',
'featured_item' => '电影推荐',
+1 -1
View File
@@ -20,7 +20,7 @@ $lang_index = array(
'hide' => 'Hide',
'discuss' => 'Discuss',
'add_more' => 'Click to load more news',
'add_old' => ' To browse old news posts, ',
'browse_old_news' => 'Browse old news',
'click_here' => 'click here',
'period' => '.',
'featured_item' => 'Featured Movie',
+1
View File
@@ -21,6 +21,7 @@
},
"license": "Unlicense",
"dependencies": {
"classnames": "^2.3.1",
"debug": "^4.3.1",
"delay": "^5.0.0",
"jquery": "^3.6.0",
+2 -2
View File
@@ -174,7 +174,7 @@ function show_reported(TorrentID, View) {
$('#' + View + '_giver_' + TorrentID).ghide()
}
function add_tag(tag) {
globalapp.browseAddTag = function browseAddTag(tag) {
if ($('#tags').raw().value == '') {
$('#tags').raw().value = tag
} else {
@@ -184,7 +184,7 @@ function add_tag(tag) {
var ArtistFieldCount = 1
function AddArtistField() {
globalapp.browseAddArtistField = function browseAddArtistField() {
var x = $('#AddArtists').raw()
x.appendChild(document.createElement('br'))
var ArtistField = document.createElement('input')
+3 -2
View File
@@ -7,7 +7,8 @@ function clearItem(torrentId) {
)
}
function clearSelected(filterId) {
globalapp.rssClearSelected = function rssClearSelected(event, filterId) {
event.preventDefault()
var checkBoxes,
checkedBoxes = []
if (filterId) {
@@ -28,7 +29,7 @@ function clearSelected(filterId) {
authkey,
function () {
for (var i = checkedBoxes.length - 1; i >= 0; i--) {
$('#torrent' + checkedBoxes[i]).remove()
$(`.u-tableTorrent-rowTitle[torrent-id=${checkedBoxes[i]}]`).remove()
}
}
)
-14
View File
@@ -191,20 +191,6 @@ function ratio(dividend, divisor, color) {
return rat
}
function save_message(message) {
var messageDiv = document.createElement('div')
messageDiv.className = 'save_message'
messageDiv.innerHTML = message
$('#content').raw().insertBefore(messageDiv, $('#content').raw().firstChild)
}
function error_message(message) {
var messageDiv = document.createElement('div')
messageDiv.className = 'error_message'
messageDiv.innerHTML = message
$('#content').raw().insertBefore(messageDiv, $('#content').raw().firstChild)
}
//returns key if true, and false if false. better than the PHP funciton
function in_array(needle, haystack, strict) {
if (strict === undefined) {
+1 -1
View File
@@ -107,7 +107,7 @@ $(function () {
},
noteToggle: function () {
var span = $(
'<a href="#" class="brackets tooltip" title="Toggle note">Hide</a>'
'<a href="#" class="brackets" data-tooltip="Toggle note">Hide</a>'
).click(function (e) {
e.preventDefault()
$('#drag_drop_textnote > :first-child').toggle()
+12 -4
View File
@@ -12,11 +12,15 @@ function thumb(itemid, userid, type) {
switch (type) {
case 'post':
$('#thumb' + itemid + ',#unthumb' + itemid).toggle()
$('#thumbcnt' + itemid).text(data.count == '0' ? '赞' : data.count)
$('#thumbcnt' + itemid).text(
data.count == '0' ? translation.get('like') : data.count
)
break
case 'torrent':
$('#thumb' + itemid + ',#unthumb' + itemid).toggle()
$('#thumbcnt' + itemid).text(data.count == '0' ? '赞' : data.count)
$('#thumbcnt' + itemid).text(
data.count == '0' ? translation.get('like') : data.count
)
break
}
},
@@ -37,11 +41,15 @@ function unthumb(itemid, userid, type) {
switch (type) {
case 'post':
$('#thumb' + itemid + ',#unthumb' + itemid).toggle()
$('#thumbcnt' + itemid).text(data.count == '0' ? '赞' : data.count)
$('#thumbcnt' + itemid).text(
data.count == '0' ? translation.get('like') : data.count
)
break
case 'torrent':
$('#thumb' + itemid + ',#unthumb' + itemid).toggle()
$('#thumbcnt' + itemid).text(data.count == '0' ? '赞' : data.count)
$('#thumbcnt' + itemid).text(
data.count == '0' ? translation.get('like') : data.count
)
break
}
},
+7 -66
View File
@@ -217,7 +217,7 @@ function ArtistManagerSubmit() {
MainSelectionCount == MainArtistCount
) {
if (!$('.error_message').raw()) {
error_message(
Snackbar.error(
'All groups need to have at least one main artist, composer, or DJ.'
)
}
@@ -233,68 +233,6 @@ function ArtistManagerDelete() {
$('#manager_action').raw().value = 'manage'
}
function Vote(amount, requestid) {
if (typeof amount == 'undefined') {
amount = parseInt($('#amount').raw().value)
}
if (amount == 0) {
amount = 20 * 1024 * 1024
}
var index
var votecount
if (!requestid) {
requestid = $('#requestid').raw().value
votecount = $('#votecount').raw()
index = false
} else {
votecount = $('#vote_count_' + requestid).raw()
bounty = $('#bounty_' + requestid).raw()
index = true
}
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
} else if (response == 'dupesuccess') {
//No increment
} else if (response == 'success') {
votecount.innerHTML = parseInt(votecount.innerHTML) + 1
}
if ($('#total_bounty').results() > 0) {
totalBounty = parseInt($('#total_bounty').raw().value)
totalBounty += amount * (1 - $('#request_tax').raw().value)
$('#total_bounty').raw().value = totalBounty
$('#formatted_bounty').raw().innerHTML = get_size(totalBounty)
save_message(
'Your vote of ' +
get_size(amount) +
', adding a ' +
get_size(amount * (1 - $('#request_tax').raw().value)) +
' bounty, has been added'
)
$('#button').raw().disabled = true
} else {
save_message('Your vote of ' + get_size(amount) + ' has been added')
}
}
)
}
var voteLock = false
function DownVoteGroup(groupid, authkey) {
if (voteLock) {
@@ -390,12 +328,15 @@ function UnvoteGroup(groupid, authkey) {
function BrowseExternalSub(torrentid) {
if ($('#external_subtitle_container_' + torrentid).raw().innerHTML === '') {
$('#external_subtitle_container_' + torrentid).gshow().raw().innerHTML =
'<h4>Loading...</h4>'
$('#external_subtitle_container_' + torrentid)
.gshow()
.raw().innerHTML = '<h4>Loading...</h4>'
ajax.get(
'subtitles.php?action=ajax_get&torrentid=' + torrentid,
function (response) {
$('#external_subtitle_container_' + torrentid).raw().innerHTML = response
$('#external_subtitle_container_' + torrentid).raw().innerHTML =
response
globalapp.tooltipInit('#external_subtitle_container_' + torrentid)
}
)
} else {
+1 -1
View File
@@ -3,7 +3,7 @@ $RequestTax = REQUEST_TAX;
// Minimum and default amount of upload to remove from the user when they vote.
// Also change in static/functions/requests.js
$MinimumVote = 20 * 1024 * 1024;
$MinimumVote = 100 * 1024 * 1024;
/*
* This is the page that displays the request to the end user after being created.
+4 -3
View File
@@ -81,11 +81,12 @@ if (isset($_POST['auth'])) {
</tr>
<tr>
<td>
<div class="HtmlText PostArticle"><?= Text::full_format($info['description']) ?></div>
</br>
<div class="HtmlText PostArticle">
<?= Text::full_format($info['description']) ?>
</div>
</td>
</tr>
<? } /* foreach */ ?>
<? } /* foreach */ ?>
</table>
</div>
</div>
+3 -1
View File
@@ -56,7 +56,9 @@ View::show_header(Lang::get('apply', 'apply'), 'apply,bbcode', 'PageApplyApply')
<td>
<div class="role_container">
<h2 class="head"><?= $title ?></h2>
<div class="HtmlText PostArticle"><?= Text::full_format($info['description']) ?></div>
<div class="HtmlText PostArticle">
<?= Text::full_format($info['description']) ?>
</div>
</div>
</br>
</td>
+6 -4
View File
@@ -305,7 +305,7 @@ $TorrentDisplayList = ob_get_clean();
// Comments (must be loaded before View::show_header so that subscriptions and quote notifications are handled properly)
list($NumComments, $Page, $Thread, $LastRead) = Comments::load('artist', $ArtistID);
View::show_header(($ChineseName ? '[' . $ChineseName . '] ' : '') . $Name, 'browse,requests,bbcode,comments,voting,recommend,subscriptions', 'PageArtistHome');
View::show_header(($ChineseName ? '[' . $ChineseName . '] ' : '') . $Name, 'browse,bbcode,comments,voting,recommend,subscriptions', 'PageArtistHome');
?>
<div class="LayoutBody">
<div class="BodyHeader">
@@ -384,7 +384,9 @@ View::show_header(($ChineseName ? '[' . $ChineseName . '] ' : '') . $Name, 'brow
</span>
</div>
<div class="MovieInfo-synopsis" data-tooltip="<?= Lang::get('torrents', 'fold_tooltip') ?>">
<p><?= $Body ? Text::full_format($Body) : Lang::get('artist', 'empty_introduction_note') ?></p>
<p class="HtmlText">
<?= $Body ? Text::full_format($Body) : Lang::get('artist', 'empty_introduction_note') ?>
</p>
</div>
</div>
</div>
@@ -615,8 +617,8 @@ View::show_header(($ChineseName ? '[' . $ChineseName . '] ' : '') . $Name, 'brow
<span id="vote_count_<?= $RequestID ?>"><?= $Request['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>
<? } ?>
&nbsp;&nbsp; <a href="javascript:globalapp.requestVote(0, <?= $RequestID ?>)" class="brackets">+</a>
<? } ?>
</td>
<td class="TableRequest-cellBounty Table-cell">
<span id="bounty_<?= $RequestID ?>"><?= Format::get_size($Request['Bounty']) ?></span>
+2 -6
View File
@@ -136,13 +136,9 @@ View::show_header('Blog', 'bbcode', 'PageBlogHome');
<?= Text::full_format($Body) ?>
</div>
</div>
<?php
}
?>
<? } ?>
</div>
<?
}
?>
<? } ?>
</div>
<?php
View::show_footer();
+3 -2
View File
@@ -154,8 +154,9 @@ View::show_header($Name, 'browse,collage,bbcode,voting,recommend', 'PageCollageT
<div class="SidebarItem-header Box-header">
<strong><?= Lang::get('collages', 'description') ?></strong>
</div>
<div class="SidebarItem-body Box-body">
<?= Text::full_format($Description) ?></div>
<div class="SidebarItem-body Box-body HtmlText">
<?= Text::full_format($Description) ?>
</div>
</div>
<div class="SidebarItemStats SidebarItem Box">
<div class="SidebarItem-header Box-header">
+1 -1
View File
@@ -20,7 +20,7 @@ if ($Contest !== false and strlen($Contest['Banner'])) {
<p>There is no contest at the moment.</p>
</div>
<? } else { ?>
<div class="Box-body">
<div class="Box-body HtmlText">
<?= Text::full_format($Contest['WikiText']) ?>
</div>
<? } ?>
+1 -1
View File
@@ -63,7 +63,7 @@ if ($Contest['Banner']) {
<div class="head">
<h3>A grand total of <?=
G::$Cache->get_value("contest_leaderboard_total_{$Contest['ID']}")
?: "<span title=\"We will recalculate the numbers soon\">many, many, many</span>"
?: "<span data-tooltip=\"We will recalculate the numbers soon\">many, many, many</span>"
?> <?= $Contest['ContestType'] == 'request_fill' ? 'requests have been filled' : 'torrents have been uploaded' ?>.</h3>
</div>
<table class="layout">
+5 -2
View File
@@ -95,9 +95,12 @@ if (count($PrepaidCardDonations) > 0) {
?>
<div class="Box donation_info">
<div class="Box-header">
<strong class="donation_info_title"><?= Lang::get('donate', 'tutorials') ?></strong>
<strong class="donation_info_title">
<?= Lang::get('donate', 'tutorials') ?>
</strong>
</div>
<div id="donate_guide" class="Box-body HtmlText PostArticle"><?= Text::full_format($Body) ?>
<div id="donate_guide" class="Box-body HtmlText PostArticle">
<?= Text::full_format($Body) ?>
</div>
</div>
+3 -1
View File
@@ -58,7 +58,9 @@ if ($Depth != 0) {
}
}
?>
<?= Text::full_format($Body) ?>
<div class="HtmlText">
<?= Text::full_format($Body) ?>
</div>
<br />
<br />
<span class="last_edited">
+1 -1
View File
@@ -64,7 +64,7 @@ View::show_header(Lang::get('forums', 'forums'), '', 'PageForumHome');
} else { ?>
<td class="TableForum-cellPost Table-cell">
<div class="TableForum-post">
<a href="forums.php?action=viewthread&amp;threadid=<?= $LastTopicID ?>" data-title-plain="<?= display_str($LastTopic) ?>" <?= ((strlen($LastTopic) > 50) ? "title='" . display_str($LastTopic) . "'" : "") ?>><?= display_str(Format::cut_string($LastTopic, 50, 1)) ?></a>
<a href="forums.php?action=viewthread&amp;threadid=<?= $LastTopicID ?>" data-title-plain="<?= display_str($LastTopic) ?>" <?= ((strlen($LastTopic) > 50) ? "data-tooltip='" . display_str($LastTopic) . "'" : "") ?>><?= display_str(Format::cut_string($LastTopic, 50, 1)) ?></a>
<? if (!empty($LastRead[$LastTopicID])) { ?>
<a class="TableForum-jumpToLastRead" data-tooltip="<?= Lang::get('forums', 'jump_to_last_read') ?>" data-tooltip-theme="<?= $TooltipTheme ?>" href="forums.php?action=viewthread&amp;threadid=<?= $LastTopicID ?>&amp;page=<?= $LastRead[$LastTopicID]['Page'] ?>#post<?= $LastRead[$LastTopicID]['PostID'] ?>">
<?= icon('Forum/jump-to-last-read'); ?>
+1 -1
View File
@@ -267,7 +267,7 @@ View::show_header(Lang::get('forums', 'forums') . '&gt; ' . $Forums[$ForumID]['N
$DisplayTitle = display_str($Title);
?>
<a href="forums.php?action=viewthread&amp;threadid=<?= $TopicID ?>" data-title-plain="<?= $DisplayTitle ?>" <?= (strlen($Title) > $TopicLength ? "title='" . $DisplayTitle . "'" : "") ?>><?= display_str(Format::cut_string($Title, $TopicLength, true)) ?></a>
<a href="forums.php?action=viewthread&amp;threadid=<?= $TopicID ?>" data-title-plain="<?= $DisplayTitle ?>" <?= (strlen($Title) > $TopicLength ? "data-tooltip='" . $DisplayTitle . "'" : "") ?>><?= display_str(Format::cut_string($Title, $TopicLength, true)) ?></a>
<?= $PagesText ?>
<? if (!empty($LastRead[$TopicID])) { ?>
<a class="TableForum-jumpToLastRead " data-tooltip="<?= Lang::get('forums', 'jump_to_last_read') ?>" data-tooltip="<?= $TooltipTheme ?>" href="forums.php?action=viewthread&amp;threadid=<?= $TopicID ?>&amp;page=<?= $LastRead[$TopicID]['Page'] ?>#post<?= $LastRead[$TopicID]['PostID'] ?>">
+5 -4
View File
@@ -380,12 +380,13 @@ View::show_header(Lang::get('forums', 'forums_greater_than_search'), 'bbcode,for
<? if ($Type == 'body') { ?>
<tr class="TableForum-row Table-row hidden" id="post_<?= $PostID ?>_text">
<td class="TableForum-cellPostBody Table-cell" colspan="4">
<?= Text::full_format($Body) ?>
<div class="HtmlText">
<?= Text::full_format($Body) ?>
</div>
</td>
</tr>
<? }
}
?>
<? } ?>
<? } ?>
</table>
</div>
+42 -31
View File
@@ -632,7 +632,7 @@ View::show_header($ThreadInfo['Title'] . ' &lt; ' . $Forums[$ForumID]['Name'] .
?>
- <span class="TableForumPostHeader-like" id="thumb<?= $PostID ?>" <?= $ThumbCounts[$PostID]['on'] ? 'style="display: none;"' : '' ?>>
<?=
$LoggedUser['ID'] == $AuthorID ? "<div title=\"" . Lang::get('forums', 'cant_like_yourself') . "\">" . icon("Common/like") . "</div>" : "<a href=\"javascript:void(0);\" onclick=\"thumb($PostID, $AuthorID, 'post')\">" . icon("Common/like") . "</a>"
$LoggedUser['ID'] == $AuthorID ? "<div data-tooltip=\"" . Lang::get('forums', 'cant_like_yourself') . "\">" . icon("Common/like") . "</div>" : "<a href=\"javascript:void(0);\" onclick=\"thumb($PostID, $AuthorID, 'post')\">" . icon("Common/like") . "</a>"
?>
</span>
@@ -666,19 +666,23 @@ View::show_header($ThreadInfo['Title'] . ' &lt; ' . $Forums[$ForumID]['Name'] .
<? } ?>
<?= Text::full_format($Body) ?>
</div>
<?
if (($ThreadInfo['hiddenreplies'] != 1 || check_perms('forums_see_hidden') || $ThreadInfo['OP'] == $LoggedUser['ID'] && $AuthorID != $LoggedUser['ID']) && $JF_log) {
?>
<div class=" ForumPostReward">
<? if (($ThreadInfo['hiddenreplies'] != 1 || check_perms('forums_see_hidden') || $ThreadInfo['OP'] == $LoggedUser['ID'] && $AuthorID != $LoggedUser['ID']) && $JF_log) { ?>
<div class="ForumPostReward is-<?= $PostID ?>">
<div class="ForumPostReward-header">
<?= Lang::get('forums', 'bonus_giving') ?>
</div>
<div class="ForumPostReward-body">
<div class="ForumPostReward-row is-header">
<div class="ForumPostReward-cell is-giver"><?= Lang::get('forums', 'bonus_giver') ?></div>
<div class="ForumPostReward-cell is-bonus"><?= Lang::get('forums', 'bonus') ?></div>
<div class="ForumPostReward-cell is-comment"><?= Lang::get('forums', 'comments') ?></div>
</div>
<table class="ForumPostReward-body">
<tr class="ForumPostReward-row is-header">
<td class="ForumPostReward-cell is-giver">
<?= Lang::get('forums', 'bonus_giver') ?>
</td>
<td class="ForumPostReward-cell is-bonus">
<?= Lang::get('forums', 'bonus') ?>
</td>
<td class="ForumPostReward-cell is-comment">
<?= Lang::get('forums', 'comments') ?>
</td>
</tr>
<?
foreach ($JF_log as $k => $val) {
if (is_array($val)) {
@@ -693,34 +697,37 @@ View::show_header($ThreadInfo['Title'] . ' &lt; ' . $Forums[$ForumID]['Name'] .
})
</script>
<? } ?>
<? $Class = $k > 2 ? "can_hide_$PostID" : '' ?>
<div class="ForumPostReward-row <?= $Class ?>">
<div class="ForumPostReward-cell is-giver">
<? $Class = $k > 2 ? "u-hidden" : '' ?>
<tr class="ForumPostReward-row <?= $Class ?>">
<td class="ForumPostReward-cell is-giver">
<?
if (check_perms('admin_send_bonus') && $val['Sys']) {
echo ("<a id=\"delete_link_" . $val['ID'] . "\" href=\"javascript:void(0)\">×</a> ");
}
echo Users::format_username($val['Sentuid'], false, false, false, false, false, $IsDonorForum); ?>
</div>
<div class="ForumPostReward-cell is-bonus">
echo Users::format_username($val['Sentuid'], false, false, false, false, false, $IsDonorForum);
?>
</td>
<td class="ForumPostReward-cell is-bonus">
<?= $val['Sentjf'] == 0 ? "" : $val['Sentjf'] ?>
</div>
<div class="ForumPostReward-cell is-comment" data-tooltip="<?= $val['Comment'] ?>">
</td>
<td class="ForumPostReward-cell is-comment" data-tooltip="<?= $val['Comment'] ?>">
<?= $val['Comment'] ?>
</div>
</div>
</td>
</tr>
<? } ?>
<? } ?>
<? if (count($JF_log) > 3) { ?>
<div class="ForumPostReward-row">
<div class="ForumPostReward-cell">
<a id="show_link_<?= $PostID ?>" href="javascript:$('.can_hide_<?= $PostID ?>').show();$('#show_link_<?= $PostID ?>').hide()">...</a>
</div>
<div class="ForumPostReward-cell"></div>
<div class="ForumPostReward-cell"></div>
</div>
<tr class="ForumPostReward-row">
<td class="ForumPostReward-cell">
<a id="show_link_<?= $PostID ?>" href='#' onclick="globalapp.toggleAny(event, '.ForumPostReward.is-<?= $PostID ?> .ForumPostReward-row.u-hidden', { hideSelf: true })">...</a>
</td>
<td class="ForumPostReward-cell">
</td>
<td class="ForumPostReward-cell">
</td>
</tr>
<? } ?>
</div>
</table>
</div>
<? } ?>
<div class="TableForumPostBody-actions">
@@ -863,8 +870,12 @@ View::show_header($ThreadInfo['Title'] . ' &lt; ' . $Forums[$ForumID]['Name'] .
foreach ($Notes as $Note) {
?>
<div class="Post Box">
<div class="Post-header Box-header"><?= Users::format_username($Note['AuthorID']) ?> (<?= time_diff($Note['AddedTime'], 2, true, true) ?>)</div>
<div class="Post-body Box-body HtmlText"><?= Text::full_format($Note['Body']) ?></div>
<div class="Post-header Box-header">
<?= Users::format_username($Note['AuthorID']) ?> (<?= time_diff($Note['AddedTime'], 2, true, true) ?>)
</div>
<div class="Post-body Box-body HtmlText">
<?= Text::full_format($Note['Body']) ?>
</div>
</div>
<?
}
+23 -14
View File
@@ -301,7 +301,6 @@ View::show_header(Lang::get('index', 'index'), 'comments', 'PageHome');
}
?>
<div class="SidebarItemStats SidebarItem Box">
<div class="SidebarItem-header Box-header">
<?= Lang::get('index', 'stats') ?>
@@ -470,9 +469,19 @@ View::show_header(Lang::get('index', 'index'), 'comments', 'PageHome');
</ul>
</div>
<div class="Social">
<a target="_blank" href="feeds.php?feed=feed_news&amp;user=<?= G::$LoggedUser['ID'] ?>&amp;auth=<?= G::$LoggedUser['RSS_Auth'] ?>&amp;passkey=<?= G::$LoggedUser['torrent_pass'] ?>&amp;authkey=<?= G::$LoggedUser['AuthKey'] ?>">
<?= icon('rss') ?>
</a>
<a target="_blank" href="https://t.me/+SARDb636Ku3lY1bi">
<?= icon('telegram') ?>
</a>
<a target="_blank" href="https://github.com/Mosasauroidea/GazellePW">
<?= icon('github') ?>
</a>
</div>
</div>
<div class="LayoutMainSidebar-main">
<div class="PostList PostListNews">
<?
@@ -486,7 +495,9 @@ View::show_header(Lang::get('index', 'index'), 'comments', 'PageHome');
<div id="news<?= $NewsID ?>" class="Post Box news_post">
<div class="Post-header Box-header">
<div class="Post-headerLeft">
<span class="Post-headerTitle"><?= Text::full_format($Title) ?></span>
<span class="Post-headerTitle HtmlText">
<?= Text::full_format($Title) ?>
</span>
<?= time_diff($NewsTime); ?>
</div>
<div class="Post-headerActions">
@@ -497,7 +508,9 @@ View::show_header(Lang::get('index', 'index'), 'comments', 'PageHome');
- <a class="Post-toggleButton <?= $IsSticky ? 'is-sticky' : '' ?>" href="#" onclick="$('#newsbody<?= $NewsID ?>').gtoggle(); this.innerHTML = (this.innerHTML == '<?= Lang::get('global', 'hide') ?>' ? '<?= Lang::get('global', 'show') ?>' : '<?= Lang::get('global', 'hide') ?>'); return false;" class="brackets"><?= $IsSticky ? Lang::get('index', 'show') : Lang::get('index', 'hide') ?></a>
</div>
</div>
<div id="newsbody<?= $NewsID ?>" class="HtmlText PostArticle Post-body Box-body <?= $IsSticky ? 'hidden' : '' ?>"><?= Text::full_format($Body) ?></div>
<div id="newsbody<?= $NewsID ?>" class="HtmlText PostArticle Post-body Box-body <?= $IsSticky ? 'hidden' : '' ?>">
<?= Text::full_format($Body) ?>
</div>
</div>
<?
if (++$Count > ($NewsCount - 1)) {
@@ -505,21 +518,17 @@ View::show_header(Lang::get('index', 'index'), 'comments', 'PageHome');
}
}
?>
<div id="more_news">
<div>
<em>
<!--
<em id="more_news">
<!--
<span>
<a href="#" onclick="news_ajax(event, 3, <?= $NewsCount ?>, <?= check_perms('admin_manage_news') ? 1 : 0; ?>, false); return false;"><?= Lang::get('index', 'add_more') ?></a>
<?= Lang::get('index', 'period') ?>
</span>
-->
<?= Lang::get('index', 'add_old') ?>
<a href="forums.php?action=viewforum&amp;forumid=7"><?= Lang::get('index', 'click_here') ?></a>
<?= Lang::get('index', 'period') ?>
</em>
</div>
</div>
<a href="forums.php?action=viewforum&amp;forumid=7">
<?= Lang::get('index', 'browse_old_news') ?>
</a>
</em>
</div>
</div>
</div>
+4 -6
View File
@@ -20,16 +20,14 @@ G::$DB->query("
$Answers = G::$DB->to_array(false, MYSQLI_ASSOC);
foreach ($Answers as $Answer) {
?>
<div class="box box2">
<div class="head">
<div class="Box">
<div class="Box-header">
<span>
Answer by <?= Users::format_username($Answer['UserID']) ?> - <?= time_diff($Answer['Date']) ?>
</span>
</div>
<div class="pad">
<div class="Box-body HtmlText">
<?= Text::full_format($Answer['Answer']) ?>
</div>
</div>
<?
}
?>
<? } ?>
+1 -1
View File
@@ -33,7 +33,7 @@ View::show_header('Ask the Staff', 'bbcode', 'PageQuestionAnswer');
<?= Users::format_username($Question['UserID']) ?> - <?= time_diff($Question['Date']) ?>
</span>
</div>
<div class="pad">
<div class="pad HtmlText">
<?= Text::full_format($Question['Question']) ?>
</div>
</div>
+1 -1
View File
@@ -54,7 +54,7 @@ View::show_header('Popular Questions', 'questions,bbcode', 'PageQuestionPopular'
<? } ?>
</span>
</div>
<div class="pad">
<div class="pad HtmlText">
<?= Text::full_format($Question['Question']) ?>
</div>
</div>
+1 -1
View File
@@ -80,7 +80,7 @@ if ($TotalQuestions > QUESTIONS_PER_PAGE) { ?>
<a href="#" id="<?= $Question['ID'] ?>" class="answer_link brackets">Answer</a>
</span>
</div>
<div class="pad">
<div class="pad HtmlText">
<?= Text::full_format($Question['Question']) ?>
</div>
</div>
+1 -1
View File
@@ -77,7 +77,7 @@ View::show_header($UserInfo['Username'] . "'s answers", 'questions,bbcode', 'Pag
<? } ?>
</span>
</div>
<div class="pad">
<div class="pad HtmlText">
<?= Text::full_format("[quote=" . $Question['Username'] . "]" . $Question['Question'] . "[/quote]\n" . $Question['Answer']) ?>
</div>
</div>
+11 -3
View File
@@ -166,9 +166,17 @@ View::show_header(Lang::get('reports', 'report_a') . $Type['title'], 'bbcode,jqu
<td class="Table-cell"><?= Lang::get('reports', 'filled') ?>?</td>
</tr>
<tr class="Table-row">
<td class="Table-cell"><?= display_str($Name) ?></td>
<td class="Table-cell"><?= Text::full_format($Desc) ?></td>
<td class="Table-cell"><strong><?= ($Filled == 0 ? Lang::get('reports', 'no') : Lang::get('reports', 'yes')) ?></strong></td>
<td class="Table-cell">
<?= display_str($Name) ?>
</td>
<td class="Table-cell">
<div class="HtmlText">
<?= Text::full_format($Desc) ?>
</div>
</td>
<td class="Table-cell">
<strong><?= ($Filled == 0 ? Lang::get('reports', 'no') : Lang::get('reports', 'yes')) ?></strong>
</td>
</tr>
</table>
<br />
+8 -4
View File
@@ -198,17 +198,21 @@ $DB->set_query_id($Reports);
</td>
</tr>
<tr>
<td colspan="2"><?= Text::full_format($Reason) ?></td>
<td colspan="2">
<div class="HtmlText">
<?= Text::full_format($Reason) ?>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<? if ($ClaimerID == $LoggedUser['ID']) { ?>
<span id="claimed_<?= $ReportID ?>"><?= Lang::get('reports', 'claimed_by_before') ?><?= Users::format_username($ClaimerID, false, false, false, false) ?><?= Lang::get('reports', 'claimed_by_after') ?> <a href="#" onclick="unClaim(<?= $ReportID ?>); return false;" class="brackets"><?= Lang::get('reports', 'unclaim') ?></a></span>
<? } elseif ($ClaimerID) { ?>
<? } elseif ($ClaimerID) { ?>
<span id="claimed_<?= $ReportID ?>"><?= Lang::get('reports', 'claimed_by_before') ?><?= Users::format_username($ClaimerID, false, false, false, false) ?><?= Lang::get('reports', 'claimed_by_after') ?></span>
<? } else { ?>
<? } else { ?>
<a href="#" id="claim_<?= $ReportID ?>" onclick="claim(<?= $ReportID ?>); return false;" class="brackets"><?= Lang::get('reports', 'claim') ?></a>
<? } ?>
<? } ?>
&nbsp;&nbsp;
<a href="#" onclick="toggleNotes(<?= $ReportID ?>); return false;" class="brackets"><?= Lang::get('reports', 'toggle_notes') ?></a>
+6 -2
View File
@@ -235,9 +235,13 @@ $BBName = "[url=torrents.php?torrentid=$TorrentID#TorrentID] $RawName [/url]";
} ?>
<tr>
<td class="label">User comment:</td>
<td colspan="3"><?= Text::full_format($UserComment) ?></td>
<td colspan="3">
<div class="HtmlText">
<?= Text::full_format($UserComment) ?>
</div>
</td>
</tr>
<? /* END REPORTED STUFF :|: BEGIN MOD STUFF */ ?>
<? /* END REPORTED STUFF :|: BEGIN MOD STUFF */ ?>
<tr>
<td class="label">Report comment:</td>
<td colspan="3">
+3 -1
View File
@@ -24,8 +24,10 @@ View::show_header(Lang::get('reportsv2', 'reports_v2'), 'reportsv2', 'PageReport
| <span data-tooltip="<?= Lang::get('reportsv2', 'unclaim_all_btn_title') ?>">
<input class="Button" type="button" onclick="GiveBack();" value="<?= Lang::get("reportsv2", 'unclaim_all') ?>" /></span>
</div>
<div id=" all_reports" style="margin-left: auto; margin-right: auto;">
<div id="all_reports" style="margin-left: auto; margin-right: auto;">
</div>
<?
View::show_footer();
?>
+309 -335
View File
@@ -229,15 +229,13 @@ View::show_header(Lang::get('reportsv2', 'reports_v2'), 'reportsv2,bbcode,browse
<?= $PageLinks ?>
</div>
<? } ?>
<div id="all_reports" style="margin-left: auto; margin-right: auto;">
<?
if (count($Reports) === 0) {
?>
<div id="all_reports">
<? if (count($Reports) === 0) { ?>
<div class="BoxBody center">
<strong><?= Lang::get('reportsv2', 'no_new_reports') ?></strong>
</div>
<? } else { ?>
<?
} else {
foreach ($Reports as $Idx => $Report) {
list(
@@ -296,21 +294,15 @@ View::show_header(Lang::get('reportsv2', 'reports_v2'), 'reportsv2,bbcode,browse
<? } ?>
</h3>
<?
if ($GroupID) {
?>
<div class="TableContainer">
<?
$DetailOption = new DetailOption;
$DetailOption->WithReport = false;
$DetailOption->ReadOnly = true;
$tableRender = new UngroupTorrentSimpleListView([$Torrent]);
$tableRender->with_self(false)->with_detail('report', $DetailOption)->render();
?>
</div>
<?
}
?>
<? if ($GroupID) { ?>
<?
$DetailOption = new DetailOption;
$DetailOption->WithReport = false;
$DetailOption->ReadOnly = true;
$tableRender = new UngroupTorrentSimpleListView([$Torrent]);
$tableRender->with_self(false)->with_detail('report', $DetailOption)->render();
?>
<? } ?>
<form class="manage_form" name="report" id="reportform_<?= $ReportID ?>" action="reports.php" method="post">
<div>
<input type="hidden" name="auth" value="<?= $LoggedUser['AuthKey'] ?>" />
@@ -324,43 +316,42 @@ View::show_header(Lang::get('reportsv2', 'reports_v2'), 'reportsv2,bbcode,browse
<input type="hidden" id="type<?= $ReportID ?>" name="type" value="<?= $Type ?>" />
<input type="hidden" id="categoryid<?= $ReportID ?>" name="categoryid" value="<?= $CategoryID ?>" />
</div>
<div class="TableContainer">
<table class="Form-rowList" variant="header" cellpadding="5">
<tr class="Form-row">
<td class="Tabel-cell" colspan="4">
<?
if ($Status != 'Resolved') {
<table class="Form-rowList" variant="header" cellpadding="5">
<tr class="Form-row">
<td class="Tabel-cell" colspan="4">
<?
if ($Status != 'Resolved') {
$DB->query("
$DB->query("
SELECT r.ID
FROM reportsv2 AS r
LEFT JOIN torrents AS t ON t.ID = r.TorrentID
WHERE r.Status != 'Resolved'
AND t.GroupID = $GroupID");
$GroupOthers = ($DB->record_count() - 1);
$GroupOthers = ($DB->record_count() - 1);
if ($GroupOthers > 0) { ?>
<div style="font-style: italic;">
<a href="reportsv2.php?view=group&amp;id=<?= $GroupID ?>"><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_1') ?><?= (($GroupOthers > 1) ? Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_2') . " $GroupOthers " . Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_3') : Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_4')) ?><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_5') ?></a>
</div>
<? }
if ($GroupOthers > 0) { ?>
<div style="font-style: italic;">
<a href="reportsv2.php?view=group&amp;id=<?= $GroupID ?>"><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_1') ?><?= (($GroupOthers > 1) ? Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_2') . " $GroupOthers " . Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_3') : Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_4')) ?><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_in_this_group_5') ?></a>
</div>
<? }
$DB->query("
$DB->query("
SELECT t.UserID
FROM reportsv2 AS r
JOIN torrents AS t ON t.ID = r.TorrentID
WHERE r.Status != 'Resolved'
AND t.UserID = $UploaderID");
$UploaderOthers = ($DB->record_count() - 1);
$UploaderOthers = ($DB->record_count() - 1);
if ($UploaderOthers > 0) { ?>
<div style="font-style: italic;">
<a href="reportsv2.php?view=uploader&amp;id=<?= $UploaderID ?>"><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_1') ?><?= (($UploaderOthers > 1) ? Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_2') . " $UploaderOthers " . Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_3') : Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_4')) ?><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_5') ?></a>
</div>
<? }
if ($UploaderOthers > 0) { ?>
<div style="font-style: italic;">
<a href="reportsv2.php?view=uploader&amp;id=<?= $UploaderID ?>"><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_1') ?><?= (($UploaderOthers > 1) ? Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_2') . " $UploaderOthers " . Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_3') : Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_4')) ?><?= Lang::get('reportsv2', 'there_are_n_other_reports_for_torrents_uploaded_by_this_user_5') ?></a>
</div>
<? }
$DB->query("
$DB->query("
SELECT DISTINCT req.ID,
req.FillerID,
um.Username,
@@ -372,316 +363,299 @@ View::show_header(Lang::get('reportsv2', 'reports_v2'), 'reportsv2,bbcode,browse
WHERE rep.Status != 'Resolved'
AND req.TimeFilled > '2010-03-04 02:31:49'
AND req.TorrentID = $TorrentID");
$Requests = ($DB->has_results());
if ($Requests > 0) {
while (list($RequestID, $FillerID, $FillerName, $FilledTime) = $DB->next_record()) {
?>
<div style="font-style: italic;">
<strong class="u-colorWarning"><a href="user.php?id=<?= $FillerID ?>"><?= $FillerName ?></a> <?= Lang::get('reportsv2', 'used_this_torrent_to_fill') ?> <a href="requests.php?action=view&amp;id=<?= $RequestID ?>"><?= Lang::get('reportsv2', 'this_request') ?></a> <?= time_diff($FilledTime) ?></strong>
</div>
<? }
}
}
?>
</td>
</tr>
</div>
</td>
</tr>
<?
if ($Tracks) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_tracks') ?>:</td>
<td class="Form-items" colspan="3">
<?= str_replace(' ', ', ', $Tracks) ?>
$Requests = ($DB->has_results());
if ($Requests > 0) {
while (list($RequestID, $FillerID, $FillerName, $FilledTime) = $DB->next_record()) {
?>
<div style="font-style: italic;">
<strong class="u-colorWarning"><a href="user.php?id=<?= $FillerID ?>"><?= $FillerName ?></a> <?= Lang::get('reportsv2', 'used_this_torrent_to_fill') ?> <a href="requests.php?action=view&amp;id=<?= $RequestID ?>"><?= Lang::get('reportsv2', 'this_request') ?></a> <?= time_diff($FilledTime) ?></strong>
</div>
<? } ?>
<? } ?>
<? } ?>
</td>
</tr>
<?
}
if ($Links) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_links') ?>:</td>
<td class="Form-items" colspan="3">
<?
$Links = explode(' ', $Links);
foreach ($Links as $Link) {
if ($local_url = Text::local_url($Link)) {
$Link = $local_url;
}
?>
<a href="<?= $Link ?>"><?= $Link ?></a>
<? } ?>
</td>
</tr>
<?
}
if ($Images) {
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_images') ?>:</td>
<td class="Form-items" colspan="3">
<?
$Images = explode(' ', $Images);
foreach ($Images as $Image) {
?>
<img style="max-width: 200px;" onclick="lightbox.init(this, 200);" src="<?= ImageTools::process($Image) ?>" alt="Relevant image" />
<? } ?>
</td>
</tr>
<?
}
if ($GroupID) {
$DB->query(
"select ft.id, body
if ($Tracks) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_tracks') ?>:</td>
<td class="Form-items" colspan="3">
<?= str_replace(' ', ', ', $Tracks) ?>
</td>
</tr>
<? } ?>
<? if ($Links) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_links') ?>:</td>
<td class="Form-items" colspan="3">
<?
$Links = explode(' ', $Links);
foreach ($Links as $Link) {
if ($local_url = Text::local_url($Link)) {
$Link = $local_url;
}
?>
<a href="<?= $Link ?>"><?= $Link ?></a>
<? } ?>
</td>
</tr>
<? } ?>
<? if ($Images) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'relevant_images') ?>:</td>
<td class="Form-items" colspan="3">
<?
$Images = explode(' ', $Images);
foreach ($Images as $Image) {
?>
<img style="max-width: 200px;" onclick="lightbox.init(this, 200);" src="<?= ImageTools::process($Image) ?>" alt="Relevant image" />
<? } ?>
</td>
</tr>
<? } ?>
<?
if ($GroupID) {
$DB->query(
"select ft.id, body
from forums_posts fp
left join forums_topics ft on fp.topicid=ft.id
where (body like '%torrents.php?id=$GroupID%' or body like '%artist.php?id=$ArtistID%')
and fp.authorid = 9
and LastPostID = fp.id"
);
//[quote=Comments]两位艺人应该分开,已经单独添加,申请删除合并[/quote]
if ($DB->has_results()) {
$EditTopics = $DB->to_array();
);
//[quote=Comments]两位艺人应该分开,已经单独添加,申请删除合并[/quote]
if ($DB->has_results()) {
$EditTopics = $DB->to_array();
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'edit_request_about_this_torrent') ?>:</td>
<td class="Form-items" colspan="3" class="wrap_overflow">
<table>
<?
foreach ($EditTopics as $EditTopic) {
if (strpos($EditTopic['body'], "artist.php") !== false) {
$EditText = "<td>[Artist";
} else {
$EditText = "<td>[Album";
}
preg_match('/user\.php\?id=(\d+)\](.+?)\[/', $EditTopic['body'], $match);
$EditText .= " Request]</td><td>[<a href=\"user.php?id=$match[1]\">$match[2]</a>]</td><td><a href=\"forums.php?action=viewthread&threadid=" . $EditTopic['id'] . "\">";
preg_match('/\[quote=Comments\](.+)\[\/quote\]/s', $EditTopic['body'], $match);
$EditText .= $match[1] . "</a></td>";
?>
<tr><?= $EditText ?></tr>
<?
}
?>
</table>
</td>
</tr>
<?
}
}
if ($GroupID) {
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'uploaded_by') ?>:</td>
<td class="Form-inputs" colspan="1" class="wrap_overflow"><a href="user.php?id=<?= $UploaderID ?>"><?= $UploaderName ?></a>
<div class="Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'upload_time') ?>:</div>
<div colspan="1" class="wrap_overflow"><?= $Time ?></div>
</td>
</tr>
<?
}
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'reporter') ?>:</td>
<td class="Form-inputs" colspan="1" class="wrap_overflow">
<a href="user.php?id=<?= $ReporterID ?>"><?= $ReporterName ?></a>
<div class="Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'date_reported') ?>:</div>
<div colspan="1" class="wrap_overflow"><?= $ReportedTime ?></div>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'user_comment') ?>:</td>
<td class="Form-items" colspan="3" class="wrap_overflow"><?= Text::full_format($UserComment) ?></td>
</tr>
<?
if ($UploaderReply) {
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'uploader_s_reply') ?>:</td>
<td class="Form-items" colspan="3" class="wrap_overflow"><?= Text::full_format($UploaderReply) ?></td>
</tr>
<?
}
?>
<? // END REPORTED STUFF :|: BEGIN MOD STUFF
if ($Status == 'InProgress') { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'in_progress_by') ?>:</td>
<td class="Form-items" colspan="3">
<a href="user.php?id=<?= $ResolverID ?>"><?= $ResolverName ?></a>
</td>
</tr>
<? }
if ($Status != 'Resolved') { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'report_comment') ?>:</td>
<td class="Form-inputs" colspan="3">
<textarea style="min-height: auto;" class="Input" type="text" name="comment" id="comment<?= $ReportID ?>" size="70"><?= $ModComment ?></textarea>
<input class="Button" type="button" value="Update now" onclick="UpdateComment(<?= $ReportID ?>);" />
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop">
<a href="javascript:Load('<?= $ReportID ?>')" data-tooltip="<?= Lang::get('reportsv2', 'resolve_title') ?>"><?= Lang::get('reportsv2', 'resolve') ?></a>:
</td>
<td class="Form-items" colspan="3">
<div id="options<?= $ReportID ?>" class="Table-item Form-inputs">
<select class="Input" name="resolve_type" id="resolve_type<?= $ReportID ?>" onchange="ChangeResolve(<?= $ReportID ?>);">
<?
$TypeList = $Types['master'] + $Types[$CategoryID];
$Priorities = array();
foreach ($TypeList as $Key => $Value) {
$Priorities[$Key] = $Value['priority'];
}
array_multisort($Priorities, SORT_ASC, $TypeList);
foreach ($TypeList as $Type => $Data) { ?>
<option class="Select-option" value="<?= $Type ?>"><?= $Data['title'] ?></option>
<? } ?>
</select>
|
<span data-tooltip="<?= Lang::get('reportsv2', 'warning_title') ?>">
<label for="warning<?= $ReportID ?>"><strong><?= Lang::get('reportsv2', 'warning') ?></strong></label>
<select class="Input" name="warning" id="warning<?= $ReportID ?>">
<? for ($i = 0; $i < 9; $i++) { ?>
<option class="Select-option" value="<?= $i ?>"><?= $i ?></option>
<? } ?>
</select>
</span> |
<?
$DB->query("select firsttorrent from users_main where id=$UploaderID and firsttorrent=$TorrentID");
$FirstTorrent = $DB->has_results();
if ($FirstTorrent) {
?>
<span data-tooltip="<?= Lang::get('reportsv2', 'first_torrent_title') ?>"><strong class="u-colorWarning"><?= Lang::get('reportsv2', 'first_torrent') ?></strong></span> |
<?
}
?>
<? if (check_perms('users_mod')) { ?>
<span data-tooltip="<?= Lang::get('reportsv2', 'delete_title') ?>">
<input type="checkbox" name="delete" id="delete<?= $ReportID ?>" />&nbsp;<label for="delete<?= $ReportID ?>"><strong><?= Lang::get('global', 'delete') ?></strong></label>
</span> |
<? } ?>
<span data-tooltip="<?= Lang::get('reportsv2', 'remove_upload_privileges_title') ?>">
<input type="checkbox" name="upload" id="upload<?= $ReportID ?>" />&nbsp;<label for="upload<?= $ReportID ?>"><strong><?= Lang::get('reportsv2', 'remove_upload_privileges') ?></strong></label>
</span>
<div>
<input class="Button" type="button" name="update_resolve" id="update_resolve<?= $ReportID ?>" value="Update now" onclick="UpdateResolve(<?= $ReportID ?>);" />
</div>
</div>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellTop Table-cellRight"><?= Lang::get('reportsv2', 'custom_trumpable') ?>:</td>
<td class="Form-inputs" colspan="3">
<textarea class="Input" name="custom_trumpable" id="custom_trumpable<?= $ReportID ?>" cols="50" rows="2" style="min-height: auto;"></textarea>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop" data-tooltip="<?= Lang::get('reportsv2', 'pm_uploader_reporter_title') ?>">
<?= Lang::get('reportsv2', 'pm_uploader_reporter') ?>
<select class="Input" name="pm_type" id="pm_type<?= $ReportID ?>">
<option class="Select-option" value="Uploader" selected="selected"><?= Lang::get('reportsv2', 'uploader') ?></option>
<option class="Select-option" value="Reporter"><?= Lang::get('reportsv2', 'reporter') ?></option>
</select>:
</td>
<td class="Form-items Table-cellTop" colspan="3">
<?php new TEXTAREA_PREVIEW('uploader_pm', 'uploader_pm_' . $ReportID, '', 50, 2, true, true, false); ?>
<input class="Button" style="width: 100px" type="button" value="Send now" onclick="SendPM(<?= $ReportID ?>);" />
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><strong><?= Lang::get('reportsv2', 'extra') ?></strong><?= Lang::get('reportsv2', 'space_log_message') ?>:</td>
<td class="Form-inputs">
<input style="width:unset" class="Input" type="text" name="log_message" id="log_message<?= $ReportID ?>" size="40" <?
if ($ExtraIDs) {
$Extras = explode(' ', $ExtraIDs);
$Value = '';
foreach ($Extras as $ExtraID) {
$Value .= site_url() . "torrents.php?torrentid=$ExtraID ";
}
echo ' value="' . trim($Value) . '"';
} elseif (isset($ReportType['extra_log'])) {
printf(' value="%s"', $ReportType['extra_log']);
} ?> />
<div><strong><?= Lang::get('reportsv2', 'extra') ?></strong><?= Lang::get('reportsv2', 'space_staff_notes') ?>:</div>
<div>
<input class=" Input" type="text" name="admin_message" id="admin_message<?= $ReportID ?>" size="40" />
</div>
</td>
</tr>
<tr class="Form-row">
<td colspan="4" style="text-align: center;">
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'invalidate_report') ?>" onclick="Dismiss(<?= $ReportID ?>);" />
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'resolve_report') ?>" onclick="ManualResolve(<?= $ReportID ?>);" />
<? if ($Status == 'InProgress' && $LoggedUser['ID'] == $ResolverID) { ?>
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'unclaim') ?>" onclick="GiveBack(<?= $ReportID ?>);" />
<? } else { ?>
<input class="Button" id="grab<?= $ReportID ?>" type="button" value="<?= Lang::get('reportsv2', 'claim') ?>" onclick="Grab(<?= $ReportID ?>);" />
<? } ?>
<input class="Button" type="button" id="submit_<?= $ReportID ?>" value="<?= Lang::get('global', 'submit') ?>" onclick="TakeResolve(<?= $ReportID ?>);" />
</td>
</tr>
<? } else { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'resolver') ?>:</td>
<td class="Form-items" colspan="3">
<a href="user.php?id=<?= $ResolverID ?>"><?= $ResolverName ?></a>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'resolve_time') ?>:</td>
<td class="Form-items" colspan="3">
<?= time_diff($LastChangeTime);
echo "\n"; ?>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'report_comment') ?>:</td>
<td class="Form-items" colspan="3">
<?= $ModComment;
echo "\n"; ?>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'log_message') ?>:</td>
<td class="Form-items" colspan="3">
<?= $LogMessage;
echo "\n"; ?>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'edit_request_about_this_torrent') ?>:</td>
<td class="Form-items" colspan="3">
<table>
<?
foreach ($EditTopics as $EditTopic) {
if (strpos($EditTopic['body'], "artist.php") !== false) {
$EditText = "<td>[Artist";
} else {
$EditText = "<td>[Album";
}
preg_match('/user\.php\?id=(\d+)\](.+?)\[/', $EditTopic['body'], $match);
$EditText .= " Request]</td><td>[<a href=\"user.php?id=$match[1]\">$match[2]</a>]</td><td><a href=\"forums.php?action=viewthread&threadid=" . $EditTopic['id'] . "\">";
preg_match('/\[quote=Comments\](.+)\[\/quote\]/s', $EditTopic['body'], $match);
$EditText .= $match[1] . "</a></td>";
?>
<tr><?= $EditText ?></tr>
<? } ?>
</table>
</td>
</tr>
<? } ?>
<? } ?>
<? if ($GroupID) { ?>
<tr class="Form-row">
<td colspan="4" style="text-align: center;">
<input class="Input" id="grab<?= $ReportID ?>" type="button" value="<?= Lang::get('reportsv2', 'claim') ?>" onclick="Grab(<?= $ReportID ?>);" />
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'uploaded_by') ?>:</td>
<td class="Form-inputs" colspan="1"><a href="user.php?id=<?= $UploaderID ?>"><?= $UploaderName ?></a>
<div class="Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'upload_time') ?>:</div>
<div colspan="1"><?= $Time ?></div>
</td>
</tr>
<? }
} ?>
<? } ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'reporter') ?>:</td>
<td class="Form-inputs" colspan="1">
<a href="user.php?id=<?= $ReporterID ?>"><?= $ReporterName ?></a>
<div class="Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'date_reported') ?>:</div>
<div colspan="1"><?= $ReportedTime ?></div>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'user_comment') ?>:</td>
<td class="Form-inputs" colspan="3">
<div class="HtmlText">
<?= Text::full_format($UserComment) ?>
</div>
</td>
</tr>
<? if ($UploaderReply) { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'uploader_s_reply') ?>:</td>
<td class="Form-inputs" colspan="3">
<div class="HtmlText">
<?= Text::full_format($UploaderReply) ?>
</div>
</td>
</tr>
<? } ?>
<? if ($Status == 'InProgress') { // END REPORTED STUFF :|: BEGIN MOD STUFF
?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'in_progress_by') ?>:</td>
<td class="Form-items" colspan="3">
<a href="user.php?id=<?= $ResolverID ?>"><?= $ResolverName ?></a>
</td>
</tr>
<? } ?>
<? if ($Status != 'Resolved') { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'report_comment') ?>:</td>
<td class="Form-inputs" colspan="3">
<textarea style="min-height: auto;" class="Input" type="text" name="comment" id="comment<?= $ReportID ?>" size="70"><?= $ModComment ?></textarea>
<input class="Button" type="button" value="Update now" onclick="UpdateComment(<?= $ReportID ?>);" />
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop">
<a href="javascript:Load('<?= $ReportID ?>')" data-tooltip="<?= Lang::get('reportsv2', 'resolve_title') ?>"><?= Lang::get('reportsv2', 'resolve') ?></a>:
</td>
<td class="Form-items" colspan="3">
<div id="options<?= $ReportID ?>" class="Table-item Form-inputs">
<select class="Input" name="resolve_type" id="resolve_type<?= $ReportID ?>" onchange="ChangeResolve(<?= $ReportID ?>);">
<?
$TypeList = $Types['master'] + $Types[$CategoryID];
$Priorities = array();
foreach ($TypeList as $Key => $Value) {
$Priorities[$Key] = $Value['priority'];
}
array_multisort($Priorities, SORT_ASC, $TypeList);
foreach ($TypeList as $Type => $Data) { ?>
<option class="Select-option" value="<?= $Type ?>"><?= $Data['title'] ?></option>
<? } ?>
</select>
|
<span data-tooltip="<?= Lang::get('reportsv2', 'warning_title') ?>">
<label for="warning<?= $ReportID ?>"><strong><?= Lang::get('reportsv2', 'warning') ?></strong></label>
<select class="Input" name="warning" id="warning<?= $ReportID ?>">
<? for ($i = 0; $i < 9; $i++) { ?>
<option class="Select-option" value="<?= $i ?>"><?= $i ?></option>
<? } ?>
</select>
</span> |
<?
$DB->query("select firsttorrent from users_main where id=$UploaderID and firsttorrent=$TorrentID");
$FirstTorrent = $DB->has_results();
if ($FirstTorrent) {
?>
<span data-tooltip="<?= Lang::get('reportsv2', 'first_torrent_title') ?>"><strong class="u-colorWarning"><?= Lang::get('reportsv2', 'first_torrent') ?></strong></span> |
<?
}
?>
<? if (check_perms('users_mod')) { ?>
<span data-tooltip="<?= Lang::get('reportsv2', 'delete_title') ?>">
<input type="checkbox" name="delete" id="delete<?= $ReportID ?>" />&nbsp;<label for="delete<?= $ReportID ?>"><strong><?= Lang::get('global', 'delete') ?></strong></label>
</span> |
<? } ?>
<span data-tooltip="<?= Lang::get('reportsv2', 'remove_upload_privileges_title') ?>">
<input type="checkbox" name="upload" id="upload<?= $ReportID ?>" />&nbsp;<label for="upload<?= $ReportID ?>"><strong><?= Lang::get('reportsv2', 'remove_upload_privileges') ?></strong></label>
</span>
<div>
<input class="Button" type="button" name="update_resolve" id="update_resolve<?= $ReportID ?>" value="Update now" onclick="UpdateResolve(<?= $ReportID ?>);" />
</div>
</div>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellTop Table-cellRight"><?= Lang::get('reportsv2', 'custom_trumpable') ?>:</td>
<td class="Form-inputs" colspan="3">
<textarea class="Input" name="custom_trumpable" id="custom_trumpable<?= $ReportID ?>" cols="50" rows="2" style="min-height: auto;"></textarea>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop" data-tooltip="<?= Lang::get('reportsv2', 'pm_uploader_reporter_title') ?>">
<?= Lang::get('reportsv2', 'pm_uploader_reporter') ?>
<select class="Input" name="pm_type" id="pm_type<?= $ReportID ?>">
<option class="Select-option" value="Uploader" selected="selected"><?= Lang::get('reportsv2', 'uploader') ?></option>
<option class="Select-option" value="Reporter"><?= Lang::get('reportsv2', 'reporter') ?></option>
</select>:
</td>
<td class="Form-items Table-cellTop" colspan="3">
<?php new TEXTAREA_PREVIEW('uploader_pm', 'uploader_pm_' . $ReportID, '', 50, 2, true, true, false); ?>
<input class="Button" style="width: 100px" type="button" value="Send now" onclick="SendPM(<?= $ReportID ?>);" />
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><strong><?= Lang::get('reportsv2', 'extra') ?></strong><?= Lang::get('reportsv2', 'space_log_message') ?>:</td>
<td class="Form-inputs">
<input style="width:unset" class="Input" type="text" name="log_message" id="log_message<?= $ReportID ?>" size="40" <?
if ($ExtraIDs) {
$Extras = explode(' ', $ExtraIDs);
$Value = '';
foreach ($Extras as $ExtraID) {
$Value .= site_url() . "torrents.php?torrentid=$ExtraID ";
}
echo ' value="' . trim($Value) . '"';
} elseif (isset($ReportType['extra_log'])) {
printf(' value="%s"', $ReportType['extra_log']);
} ?> />
<div><strong><?= Lang::get('reportsv2', 'extra') ?></strong><?= Lang::get('reportsv2', 'space_staff_notes') ?>:</div>
<div>
<input class=" Input" type="text" name="admin_message" id="admin_message<?= $ReportID ?>" size="40" />
</div>
</td>
</tr>
<tr class="Form-row">
<td colspan="4" style="text-align: center;">
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'invalidate_report') ?>" onclick="Dismiss(<?= $ReportID ?>);" />
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'resolve_report') ?>" onclick="ManualResolve(<?= $ReportID ?>);" />
<? if ($Status == 'InProgress' && $LoggedUser['ID'] == $ResolverID) { ?>
<input class="Button" type="button" value="<?= Lang::get('reportsv2', 'unclaim') ?>" onclick="GiveBack(<?= $ReportID ?>);" />
<? } else { ?>
<input class="Button" id="grab<?= $ReportID ?>" type="button" value="<?= Lang::get('reportsv2', 'claim') ?>" onclick="Grab(<?= $ReportID ?>);" />
<? } ?>
<input class="Button" type="button" id="submit_<?= $ReportID ?>" value="<?= Lang::get('global', 'submit') ?>" onclick="TakeResolve(<?= $ReportID ?>);" />
</td>
</tr>
<? } else { ?>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'resolver') ?>:</td>
<td class="Form-items" colspan="3">
<a href="user.php?id=<?= $ResolverID ?>"><?= $ResolverName ?></a>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'resolve_time') ?>:</td>
<td class="Form-items" colspan="3">
<?= time_diff($LastChangeTime);
echo "\n"; ?>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight Table-cellTop"><?= Lang::get('reportsv2', 'report_comment') ?>:</td>
<td class="Form-items" colspan="3">
<?= $ModComment;
echo "\n"; ?>
</td>
</tr>
<tr class="Form-row">
<td class="Form-label Table-cellRight"><?= Lang::get('reportsv2', 'log_message') ?>:</td>
<td class="Form-items" colspan="3">
<?= $LogMessage;
echo "\n"; ?>
</td>
</tr>
<? if ($GroupID) { ?>
<tr class="Form-row">
<td colspan="4" style="text-align: center;">
<input class="Button" id="grab<?= $ReportID ?>" type="button" value="<?= Lang::get('reportsv2', 'claim') ?>" onclick="Grab(<?= $ReportID ?>);" />
</td>
</tr>
<? } ?>
<? } ?>
</table>
</form>
</div>
</form>
<script type="text/javascript">
Load(<?= $ReportID ?>);
</script>
<? } ?>
<? } ?>
<? } ?>
</div>
<script type="text/javascript">
//<![CDATA[
Load(<?= $ReportID ?>);
//]]>
</script>
<?
}
}
}
?>
</div>
<? if ($PageLinks) { ?>
<div class="BodyNavLinks pager"><?= $PageLinks ?></div>
<? } ?>
<? if ($PageLinks) { ?>
<div class="BodyNavLinks pager"><?= $PageLinks ?></div>
<? } ?>
</div>
<? View::show_footer(); ?>
+6 -6
View File
@@ -442,7 +442,7 @@ View::show_header($Title, '', 'PageRequestHome');
<tr class="Form-row is-release">
<td class="Form-label"><?= Lang::get('requests', 'release_list') ?></td>
<td class="Form-inputs">
<input class="Input" type="checkbox" id="toggle_releases" onchange="Toggle('releases', 0);" <?= (!$Submitted || !empty($ReleaseArray) && count($ReleaseArray) === count($ReleaseTypes) ? ' checked="checked"' : '') ?> /> <label for="toggle_releases">All</label>
<input class="Input" type="checkbox" id="toggle_releases" onchange="globalapp.requestToggle('releases', 0);" <?= (!$Submitted || !empty($ReleaseArray) && count($ReleaseArray) === count($ReleaseTypes) ? ' checked="checked"' : '') ?> /> <label for="toggle_releases">All</label>
<?
foreach ($ReleaseTypes as $Key) {
?>
@@ -459,7 +459,7 @@ View::show_header($Title, '', 'PageRequestHome');
<td class="Form-label"><?= Lang::get('requests', 'source_list') ?>:</td>
<td class="Form-inputs">
<div class="Checkbox">
<input class="Input" type="checkbox" id="toggle_source" onchange="Toggle('sources', 0);" <?= (!$Submitted || !empty($SourceArray) && count($SourceArray) === count($Sources) ? ' checked="checked"' : '') ?> />
<input class="Input" type="checkbox" id="toggle_source" onchange="globalapp.requestToggle('sources', 0);" <?= (!$Submitted || !empty($SourceArray) && count($SourceArray) === count($Sources) ? ' checked="checked"' : '') ?> />
<label class="Checkbox-label" for="toggle_source">All</label>
</div>
<div class="Checkbox">
@@ -480,7 +480,7 @@ View::show_header($Title, '', 'PageRequestHome');
<td class="Form-label"><?= Lang::get('requests', 'codec_list') ?>:</td>
<td class="Form-inputs">
<div class="Checkbox">
<input class="Input" type="checkbox" id="toggle_codec" onchange="Toggle('codec', 0);" <?= (!$Submitted || !empty($CodecArray) && count($CodecArray) === count($Codecs) ? ' checked="checked"' : '') ?> />
<input class="Input" type="checkbox" id="toggle_codec" onchange="globalapp.requestToggle('codec', 0);" <?= (!$Submitted || !empty($CodecArray) && count($CodecArray) === count($Codecs) ? ' checked="checked"' : '') ?> />
<label class="Checkbox-label" for="toggle_codec">All</label>
</div>
<div class="Checkbox">
@@ -501,7 +501,7 @@ View::show_header($Title, '', 'PageRequestHome');
<td class="Form-label"><?= Lang::get('requests', 'container_list') ?>:</td>
<td class="Form-inputs">
<div class="Checkbox">
<input class="Input" type="checkbox" id="toggle_container" onchange="Toggle('container', 0);" <?= (!$Submitted || !empty($ContainerArray) && count($ContainerArray) === count($Containers) ? ' checked="checked"' : '') ?> />
<input class="Input" type="checkbox" id="toggle_container" onchange="globalapp.requestToggle('container', 0);" <?= (!$Submitted || !empty($ContainerArray) && count($ContainerArray) === count($Containers) ? ' checked="checked"' : '') ?> />
<label class="Checkbox-label" for="toggle_container">All</label>
</div>
<div class="Checkbox">
@@ -524,7 +524,7 @@ View::show_header($Title, '', 'PageRequestHome');
<td class="Form-label"><?= Lang::get('requests', 'resolution_list') ?>:</td>
<td class="Form-inputs">
<div class="Checkbox">
<input class="Input" type="checkbox" id="toggle_resolution" onchange="Toggle('resolution', 0);" <?= (!$Submitted || !empty($ResolutionArray) && count($ResolutionArray) === count($Resolutions) ? ' checked="checked"' : '') ?> />
<input class="Input" type="checkbox" id="toggle_resolution" onchange="globalapp.requestToggle('resolution', 0);" <?= (!$Submitted || !empty($ResolutionArray) && count($ResolutionArray) === count($Resolutions) ? ' checked="checked"' : '') ?> />
<label class="Checkbox-label" for="toggle_resolution">All</label>
</div>
<div class="Checkbox">
@@ -641,7 +641,7 @@ View::show_header($Title, '', 'PageRequestHome');
<td class="TableRequest-cellVotes Table-cell">
<span id="vote_count_<?= $RequestID ?>"><?= number_format($VoteCount) ?></span>
<? if (!$IsFilled && check_perms('site_vote')) { ?>
<a href="javascript:Vote(0, <?= $RequestID ?>)" class="brackets">+</a>
<a href="javascript:globalapp.requestVote(0, <?= $RequestID ?>)" class="brackets">+</a>
<? } ?>
</td>
<td class="TableRequest-cellSize Table-cell">
+1 -1
View File
@@ -5,7 +5,7 @@ $RequestTax = REQUEST_TAX;
// Minimum and default amount of upload to remove from the user when they vote.
// Also change in static/functions/requests.js
$MinimumVote = 20 * 1024 * 1024;
$MinimumVote = 100 * 1024 * 1024;
if (!empty($LoggedUser['DisableRequests'])) {
error('Your request privileges have been removed.');
+19 -17
View File
@@ -151,7 +151,7 @@ if ($NewRequest && !empty($_GET['artistid']) && is_number($_GET['artistid'])) {
}
}
View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get('requests', 'new_edit')), 'requests,form_validate', 'PageRequestNewEdit
View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get('requests', 'new_edit')), 'form_validate', 'PageRequestNewEdit
');
?>
<div class="LayoutBody">
@@ -159,7 +159,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<h2 class="BodyHeader-nav"><?= Lang::get('requests', 'requests') ?></h2>
</div>
<div class="BodyContent">
<form class="Form FormRequestNew" action="" method="post" id="request_form" onsubmit="Calculate();">
<form class="Form FormRequestNew" action="" method="post" id="request_form" onsubmit="globalapp.Calculate();">
<div>
<? if (!$NewRequest) { ?>
<input type="hidden" name="requestid" value="<?= $RequestID ?>" />
@@ -182,7 +182,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
</td>
<td class="Form-items">
<div class="Form-inputs">
<select class="Input" id="categories" name="type" onchange="Categories();">
<select class="Input" id="categories" name="type" onchange="globalapp.requestCategories();">
<? foreach (Misc::display_array($Categories) as $Cat) { ?>
<option class="Select-option" value="<?= $Cat ?>" <?= (!empty($CategoryName) && ($CategoryName === $Cat) ? ' selected="selected"' : '') ?>><?= $Cat ?></option>
<? } ?>
@@ -195,7 +195,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<td class="Form-items" id="imdbfield">
<div class="Form-inputs">
<input class="Input" type="text" id="imdb" name="imdb" size="45" placeholder="IMDB" value="<?= $IMDBID ?>" <?= $Disabled ?>>
<input class="Button" type="button" <?= $DisabledFlag ? 'disabled' : '' ?> onclick="MovieAutofill()" value="<?= Lang::get('upload', 'movie_fill') ?>" id="imdb_button">
<input class="Button" type="button" <?= $DisabledFlag ? 'disabled' : '' ?> onclick="globalapp.requestMovieAutofill()" value="<?= Lang::get('upload', 'movie_fill') ?>" id="imdb_button">
<input type="checkbox" name="no_imdb_link" id="no_imdb_link"><label for="no_imdb_link"><?= Lang::get('upload', 'no_imdb_link') ?></label>
</div>
<div class="imdb Form-errorMessage"><?= Lang::get('upload', 'imdb_empty_warning') ?></div>
@@ -220,9 +220,9 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
</select>
<? if ($First) { ?>
<div>
<a href="#" onclick="AddArtistField(); return false;" class="brackets">+</a>
<a href="#" onclick="globalapp.requestAddArtistField(); return false;" class="brackets">+</a>
<span> </span>
<a href="#" onclick="RemoveArtistField(); return false;" class="brackets">&minus;</a>
<a href="#" onclick="globalapp.requestRemoveArtistField(); return false;" class="brackets">&minus;</a>
</div>
<? } ?>
</div>
@@ -240,8 +240,8 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<option class="Select-option" value="1"><?= Lang::get('upload', 'director') ?></option>
</select>
<div>
<a href="#" onclick="AddArtistField(); return false;" class="brackets">+</a>
<a href="#" onclick="RemoveArtistField(); return false;" class="brackets">&minus;</a>
<a href="#" onclick="globalapp.requestAddArtistField(); return false;" class="brackets">+</a>
<a href="#" onclick="globalapp.requestRemoveArtistField(); return false;" class="brackets">&minus;</a>
</div>
</div>
<?
@@ -301,7 +301,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
$Cache->cache_value('genre_tags', $GenreTags, 3600 * 6);
}
?>
<select class="Input" id="genre_tags" name="genre_tags" onchange="add_tag(); return false;">
<select class="Input" id="genre_tags" name="genre_tags" onchange="globalapp.requestAddTag(); return false;">
<option class="Select-option">---</option>
<? foreach (Misc::display_array($GenreTags) as $Genre) { ?>
<option class="Select-option" value="<?= $Genre ?>"><?= $Genre ?></option>
@@ -335,7 +335,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<td class="Form-label"><?= Lang::get('requests', 'acceptable_sources') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<input type="checkbox" name="all_sources" id="toggle_sources" onchange="Toggle('sources', <?= ($NewRequest ? 1 : 0) ?>);" <?= !empty($SourceArray) && (count($SourceArray) === count($Sources)) ? ' checked="checked"' : ''; ?> /><label for="toggle_sources"> <?= Lang::get('requests', 'all') ?></label>
<input type="checkbox" name="all_sources" id="toggle_sources" onchange="globalapp.requestToggle('sources', <?= ($NewRequest ? 1 : 0) ?>);" <?= !empty($SourceArray) && (count($SourceArray) === count($Sources)) ? ' checked="checked"' : ''; ?> /><label for="toggle_sources"> <?= Lang::get('requests', 'all') ?></label>
<? foreach ($Sources as $Key => $Val) { ?>
<input type="checkbox" name="sources[]" value="<?= $Key ?>" onchange="if (!this.checked) { $('#toggle_sources').raw().checked = false; }" id="source_<?= $Key ?>" <?= (!empty($SourceArray) && in_array($Key, $SourceArray) ? ' checked="checked"' : '') ?> /><label for="source_<?= $Key ?>"> <?= $Val ?></label>
<? } ?>
@@ -346,7 +346,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<td class="Form-label"><?= Lang::get('requests', 'acceptable_codecs') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<input type="checkbox" name="all_codecs" id="toggle_codecs" onchange="Toggle('codecs', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($CodecArray) && (count($CodecArray) === count($Codecs)) ? ' checked="checked"' : '') ?> /><label for="toggle_codecs"> <?= Lang::get('requests', 'all') ?></label>
<input type="checkbox" name="all_codecs" id="toggle_codecs" onchange="globalapp.requestToggle('codecs', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($CodecArray) && (count($CodecArray) === count($Codecs)) ? ' checked="checked"' : '') ?> /><label for="toggle_codecs"> <?= Lang::get('requests', 'all') ?></label>
<? foreach ($Codecs as $Key => $Val) { ?>
<input type="checkbox" name="codecs[]" value="<?= $Key ?>" id="codec_<?= $Key ?>" <?= (!empty($CodecArray) && in_array($Key, $COdecArray) ? ' checked="checked" ' : '') ?> onchange="if (!this.checked) { $('#toggle_codecs').raw().checked = false; }" /><label for="codec_<?= $Key ?>"> <?= $Val ?></label>
<? } ?>
@@ -357,7 +357,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<td class="Form-label"><?= Lang::get('requests', 'acceptable_containers') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<input type="checkbox" name="all_containers" id="toggle_containers" onchange="Toggle('containers', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($ContainerArray) && (count($ContainerArray) === count($Containers)) ? ' checked="checked"' : '') ?> /><label for="toggle_containers"> <?= Lang::get('requests', 'all') ?></label>
<input type="checkbox" name="all_containers" id="toggle_containers" onchange="globalapp.requestToggle('containers', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($ContainerArray) && (count($ContainerArray) === count($Containers)) ? ' checked="checked"' : '') ?> /><label for="toggle_containers"> <?= Lang::get('requests', 'all') ?></label>
<? foreach ($Containers as $Key => $Val) { ?>
<input type="checkbox" name="containers[]" value="<?= $Key ?>" id="container_<?= $Key ?>" <?= (!empty($ContainerArray) && in_array($Key, $ContainerArray) ? ' checked="checked" ' : '') ?> onchange="if (!this.checked) { $('#toggle_containers').raw().checked = false; }" /><label for="container_<?= $Key ?>"> <?= $Val ?></label>
<? } ?>
@@ -368,7 +368,7 @@ View::show_header(($NewRequest ? Lang::get('requests', 'new_create') : Lang::get
<td class="Form-label"><?= Lang::get('requests', 'acceptable_resolutions') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<input type="checkbox" name="all_resolutions" id="toggle_resolutions" onchange="Toggle('resolutions', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($ResolutionArray) && (count($ResolutionArray) === count($Resolutions)) ? ' checked="checked"' : '') ?> /><label for="toggle_resolutions"> <?= Lang::get('requests', 'all') ?></label>
<input type="checkbox" name="all_resolutions" id="toggle_resolutions" onchange="globalapp.requestToggle('resolutions', <?= ($NewRequest ? 1 : 0) ?>);" <?= (!empty($ResolutionArray) && (count($ResolutionArray) === count($Resolutions)) ? ' checked="checked"' : '') ?> /><label for="toggle_resolutions"> <?= Lang::get('requests', 'all') ?></label>
<? foreach ($Resolutions as $Key => $Val) { ?>
<input type="checkbox" name="resolutions[]" value="<?= $Key ?>" id="resolution_<?= $Key ?>" <?= (!empty($ResolutionArray) && in_array($Key, $ResolutionArray) ? ' checked="checked" ' : '') ?> onchange="if (!this.checked) { $('#toggle_resolutions').raw().checked = false; }" /><label for="resolution_<?= $Key ?>"> <?= $Val ?></label>
<? } ?>
@@ -437,12 +437,12 @@ if ($NewRequest) { ?>
<td class="Form-label"><?= Lang::get('requests', 'bounty') ?>:</td>
<td class="Form-items">
<div class="Form-inputs">
<input class="Input" type="text" id="amount_box" size="8" value="<?= (!empty($Bounty) ? $Bounty : '100') ?>" onchange="Calculate();" />
<select class="Input" id="unit" name="unit" onchange="Calculate();">
<input class="Input" type="text" id="amount_box" size="8" value="<?= (!empty($Bounty) ? $Bounty : '100') ?>" onchange="globalapp.Calculate();" />
<select class="Input" id="unit" name="unit" onchange="globalapp.Calculate();">
<option class="Select-option" value="mb" <?= (!empty($_POST['unit']) && $_POST['unit'] === 'mb' ? ' selected="selected"' : '') ?>>MB</option>
<option class="Select-option" value="gb" <?= (!empty($_POST['unit']) && $_POST['unit'] === 'gb' ? ' selected="selected"' : '') ?>>GB</option>
</select>
<input class="Button" type="button" value="Preview" onclick="Calculate();" />
<input class="Button" type="button" value="Preview" onclick="globalapp.Calculate();" />
</div>
<?= $RequestTax > 0 ? "<strong>{$RequestTaxPercent}% of this is deducted as tax by the system.</strong>" : '' ?>
</td>
@@ -481,7 +481,9 @@ if ($NewRequest) { ?>
</table>
</form>
<script type="text/javascript">
Categories();
document.addEventListener('DOMContentLoaded', function() {
globalapp.Calculate();
})
</script>
</div>
</div>
+9 -7
View File
@@ -62,7 +62,7 @@ $CanEdit = ($UserCanEdit || $ProjectCanEdit || check_perms('site_moderate_reques
// Comments (must be loaded before View::show_header so that subscriptions and quote notifications are handled properly)
list($NumComments, $Page, $Thread, $LastRead) = Comments::load('requests', $RequestID);
View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'comments,requests,bbcode,subscriptions', 'PageRequestShow');
View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'comments,bbcode,subscriptions', 'PageRequestShow');
?>
<div class="LayoutBody">
@@ -265,7 +265,7 @@ View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'commen
<div>
<span id="votecount"><?= number_format($VoteCount) ?></span>
<? if ($CanVote) { ?>
&nbsp;&nbsp;<a href="javascript:Vote(0)" class="brackets"><strong>+</strong></a>
&nbsp;&nbsp;<a href="javascript:globalapp.requestVote(0)" class="brackets"><strong>+</strong></a>
<strong><?= Lang::get('requests', 'costs') ?> <?= Format::get_size($MinimumVote, 0) ?></strong>
<? } ?>
</div>
@@ -285,12 +285,12 @@ View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'commen
<?= Lang::get('requests', 'custom_vote') ?></td>
<td class="Form-items">
<div class="Form-inputs">
<input class="Input" type="text" id="amount_box" size="8" onchange="Calculate();" />
<select class="Input" id="unit" name="unit" onchange="Calculate();">
<input class="Input" type="text" id="amount_box" size="8" onchange="globalapp.Calculate();" />
<select class="Input" id="unit" name="unit" onchange="globalapp.Calculate();">
<option class="Select-option" value="mb">MB</option>
<option class="Select-option" value="gb">GB</option>
</select>
<input class="Button" type="button" value="Preview" onclick="Calculate();" />
<input class="Button" type="button" value="Preview" onclick="globalapp.Calculate();" />
<?= $RequestTax > 0 ? "<strong>{$RequestTaxPercent}% " . Lang::get('requests', 'system_taxed') : '' ?>
</div>
</td>
@@ -310,7 +310,9 @@ View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'commen
<input type="hidden" id="current_rr" value="<?= (float)$LoggedUser['RequiredRatio'] ?>" />
<input id="total_bounty" type="hidden" value="<?= $RequestVotes['TotalBounty'] ?>" />
<div>
<?= $RequestTax > 0 ? 'Bounty after tax: <strong><span id="bounty_after_tax">90.00 MB</span></strong><br />' : '' ?><?= Lang::get('requests', 'if_you_add_the_entered') ?>
<? $Class = $RequestTax > 0 ? '' : 'u-hidden' ?>
<div class="<?= $Class ?>">Bounty after tax: <strong><span id="bounty_after_tax">90.00 MB</span></strong></div>
<?= Lang::get('requests', 'if_you_add_the_entered') ?>
<strong><span id="new_bounty">0.00 MB</span></strong>
<?= Lang::get('requests', 'of_bounty_your_new_stats') ?>:
</div>
@@ -319,7 +321,7 @@ View::show_header(Lang::get('requests', 'view_request') . ": $FullName", 'commen
</div>
<div>
<?= Lang::get('requests', 'ratio') ?>: <span id="new_ratio"><?= Format::get_ratio_html($LoggedUser['BytesUploaded'], $LoggedUser['BytesDownloaded']) ?></span>
<input class="Button" type="button" id="button" value="确认!" disabled="disabled" onclick="Vote();" />
<input class="Button" type="button" id="button" value="确认!" disabled="disabled" onclick="globalapp.requestVote();" />
</div>
</form>
</td>
+3 -4
View File
@@ -182,7 +182,6 @@
<? } ?>
</div>
</div>
</div>
<?
View::show_footer();
?>
<?
View::show_footer();
?>
+1 -1
View File
@@ -70,7 +70,7 @@ View::show_header('Staff PMs', 'staffpm', 'PageStaffPMResponse');
<input class="Input" type="text" name="name" id="response_name_<?= $ID ?>" size="87" value="<?= display_str($Name) ?>" />
</div>
<div class="pad">
<div class="BoxBody hidden" style="text-align: left;" id="response_div_<?= $ID ?>">
<div class="BoxBody HtmlText hidden" style="text-align: left;" id="response_div_<?= $ID ?>">
<?= Text::full_format($Message) ?>
</div>
<textarea class="Input" rows="10" cols="87" id="response_message_<?= $ID ?>" name="message"><?= display_str($Message) ?></textarea>
+3 -1
View File
@@ -108,7 +108,9 @@ if ($ConvID = (int)$_GET['id']) {
- <a href="#quickpost" onclick="Quote('<?= $MessageID ?>', '<?= $Username ?>');" class="brackets"><?= Lang::get('staffpm', 'quote') ?></a>
<? } ?>
</div>
<div class="body "><?= Text::full_format($Message) ?></div>
<div class="body HtmlText">
<?= Text::full_format($Message) ?>
</div>
</div>
<div align="center" style="display: none;"></div>
<?
+1 -1
View File
@@ -29,7 +29,7 @@ if (!check_perms('users_mod')) {
function create_row($Title, $URL, $HasPermission = false, $Tooltip = false) {
if ($HasPermission) {
global $ToolsHTML;
$TooltipHTML = $Tooltip !== false ? " class=\"tooltip\" title=\"$Tooltip\"" : "";
$TooltipHTML = $Tooltip !== false ? " data-tooltip=\"$Tooltip\"" : "";
$ToolsHTML .= "\t\t\t\t<tr class='Table-row'><td class='Table-cell'><a class='Link' href=\"$URL\"$TooltipHTML>$Title</a></td></tr>\n";
}
}
+32 -28
View File
@@ -52,21 +52,21 @@
<ul id="userinfo_stats">
<li id="stats_seeding">
<a href="#">Up</a>:
<span class="stat" title="300.00000 MB">300.00 MB</span>
<span class="stat" data-tooltip="300.00000 MB">300.00 MB</span>
</li>
<li id="stats_leeching">
<a href="#">Down</a>:
<span class="stat" title="10.00000 B">0.00 B</span>
<span class="stat" data-tooltip="10.00000 B">0.00 B</span>
</li>
<li id="stats_ratio">
Ratio:
<span class="stat"
><span class="u-colorRatio99" title="30">30</span></span
><span class="u-colorRatio99" data-tooltip="30">30</span></span
>
</li>
<li id="stats_required">
<a href="#">Required</a>:
<span class="stat" title="0.00000">0.00</span>
<span class="stat" data-tooltip="0.00000">0.00</span>
</li>
</ul>
@@ -208,7 +208,7 @@
<td style="width: 7%">Posts</td>
</tr>
<tr class="rowb">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#">Announcements</a>
@@ -216,12 +216,12 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="New Site Announcements" href="#"
<a data-tooltip="New Site Announcements" href="#"
>New Site Announcements</a
>
</span>
<span
title="Jump to last read"
data-tooltip="Jump to last read"
class="last_read"
style="float: left"
>
@@ -229,7 +229,7 @@
</span>
<span class="last_poster" style="float: right"
>by <a href="#">Ananke</a>
<span title="Aug 14 1992, 18:35" class="time"
<span data-tooltip="Aug 14 1992, 18:35" class="time"
>Just now</span
></span
>
@@ -238,7 +238,7 @@
<td>95,197</td>
</tr>
<tr class="rowa">
<td title="Read" class="read"></td>
<td data-tooltip="Read" class="read"></td>
<td>
<h4 class="min_padding">
<a href="#">Gazelle</a>
@@ -247,14 +247,14 @@
<td>
<span class="last_topic" style="float: left">
<a
title="Dear Mortals, you have violated the rule..."
data-tooltip="Dear Mortals, you have violated the rule..."
href="#"
>Dear Mortals, you have violated the rule...</a
>
</span>
<span class="last_poster" style="float: right"
>by <a href="#">Drone</a>
<span title="Sep 9 1992, 10:55" class="time"
<span data-tooltip="Sep 9 1992, 10:55" class="time"
>3 mins ago</span
></span
>
@@ -275,7 +275,7 @@
<td style="width: 7%">Posts</td>
</tr>
<tr class="rowb">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#">The Lounge</a>
@@ -283,12 +283,12 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="Last stand against Drone?" href="#"
<a data-tooltip="Last stand against Drone?" href="#"
>Last stand against Drone?</a
>
</span>
<span
title="Jump to last read"
data-tooltip="Jump to last read"
class="last_read"
style="float: left"
>
@@ -303,7 +303,7 @@
<td>1,545,089</td>
</tr>
<tr class="rowa">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#">The Lounge +1</a>
@@ -311,7 +311,9 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="No fun allowed" href="#">No fun allowed</a>
<a data-tooltip="No fun allowed" href="#"
>No fun allowed</a
>
</span>
<span class="last_poster" style="float: right"
>by <a href="#">Drone</a>
@@ -322,7 +324,7 @@
<td>490,163</td>
</tr>
<tr class="rowb">
<td title="Read" class="read"></td>
<td data-tooltip="Read" class="read"></td>
<td>
<h4 class="min_padding">
<a href="#">The Library</a>
@@ -330,7 +332,7 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="List of forbidden literature" href="#"
<a data-tooltip="List of forbidden literature" href="#"
>List of forbidden literature</a
>
</span>
@@ -343,7 +345,7 @@
<td>490,163</td>
</tr>
<tr class="rowa">
<td title="Read" class="read"></td>
<td data-tooltip="Read" class="read"></td>
<td>
<h4 class="min_padding">
<a href="#">Concerts, Events & Meets</a>
@@ -351,7 +353,7 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="[Region] The Void" href="#"
<a data-tooltip="[Region] The Void" href="#"
>[Region] The Void</a
>
</span>
@@ -364,7 +366,7 @@
<td>15,231</td>
</tr>
<tr class="rowb">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#">Technology</a>
@@ -372,12 +374,14 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="How did Drone take over the site?" href="#"
<a
data-tooltip="How did Drone take over the site?"
href="#"
>How did Drone take over the site?</a
>
</span>
<span
title="Jump to last read"
data-tooltip="Jump to last read"
class="last_read"
style="float: left"
>
@@ -404,7 +408,7 @@
<td style="width: 7%">Posts</td>
</tr>
<tr class="rowb">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#">Movie</a>
@@ -413,13 +417,13 @@
<td>
<span class="last_topic" style="float: left">
<a
title="Where did all the non-drone threads go?"
data-tooltip="Where did all the non-drone threads go?"
href="#"
>Where did all the non-drone threads go?</a
>
</span>
<span
title="Jump to last read"
data-tooltip="Jump to last read"
class="last_read"
style="float: left"
>
@@ -434,7 +438,7 @@
<td>608,253</td>
</tr>
<tr class="rowa">
<td title="Unread" class="unread"></td>
<td data-tooltip="Unread" class="unread"></td>
<td>
<h4 class="min_padding">
<a href="#"></a>
@@ -442,7 +446,7 @@
</td>
<td>
<span class="last_topic" style="float: left">
<a title="Spider" href="#">Spider</a>
<a data-tooltip="Spider" href="#">Spider</a>
</span>
<span class="last_poster" style="float: right"
>by <a href="#">Drone</a>
+1 -1
View File
@@ -98,7 +98,7 @@ $(document).ready(function() {
if (!$first) {
$GroupNameMap = ['Moderator' => 'Mod', 'Torrent Moderator' => 'TM', 'Forum Moderator' => 'FM', 'Torrent Inspector' => 'TI', 'First Line Support' => 'FLS', 'Interviewer' => 'IN', 'Translators' => 'TL', 'Senior Moderator' => 'SM', 'Developer' => 'Dev', 'Administrator' => 'AD'];
if (isset($GroupNameMap[$data['GroupName']])) {
echo "<div class=\"group-name\" style=\"grid-row-start: span $rowspan;\" title=\"" . $data['GroupName'] . "\">" . $GroupNameMap[$data['GroupName']] . "</div>";
echo "<div class=\"group-name\" style=\"grid-row-start: span $rowspan;\" data-tooltip=\"" . $data['GroupName'] . "\">" . $GroupNameMap[$data['GroupName']] . "</div>";
} else {
echo "<div class=\"group-name\" style=\"grid-row-start: span $rowspan;\">" . $data['GroupName'] . "</div>";
}
+3 -1
View File
@@ -83,7 +83,9 @@ switch ($_GET['action']) {
- <a href="tools.php?action=editnews&amp;id=<?= $NewsID ?>" class="brackets">Edit</a>
<a href="tools.php?action=deletenews&amp;id=<?= $NewsID ?>&amp;auth=<?= $LoggedUser['AuthKey'] ?>" class="brackets">Delete</a>
</div>
<div class="pad"><?= Text::full_format($Body) ?></div>
<div class="pad HtmlText">
<?= Text::full_format($Body) ?>
</div>
</div>
<?
if (++$Count > ($NewsCount - 1)) {
+3 -28
View File
@@ -1,7 +1,7 @@
<?
// error out on invalid requests (before caching)
if (isset($_GET['details'])) {
if (in_array($_GET['details'], array('ul', 'dl', 'numul', 'uls', 'dls'))) {
if (in_array($_GET['details'], array('ul', 'dl', 'numul'))) {
$Details = $_GET['details'];
} else {
error(404);
@@ -28,8 +28,6 @@ View::show_header(Lang::get('top10', 'top_10_users'), '', 'PageTop10User');
ui.JoinDate,
u.Uploaded,
u.Downloaded,
ABS(u.Uploaded-" . STARTING_UPLOAD . ") / (" . time() . " - UNIX_TIMESTAMP(ui.JoinDate)) AS UpSpeed,
u.Downloaded / (" . time() . " - UNIX_TIMESTAMP(ui.JoinDate)) AS DownSpeed,
COUNT(t.ID) AS NumUploads,
u.Paranoia
FROM users_main AS u
@@ -71,25 +69,6 @@ View::show_header(Lang::get('top10', 'top_10_users'), '', 'PageTop10User');
generate_user_table(Lang::get('top10', 'downloaders'), 'dl', $TopUserDownloads, $Limit);
}
/* upload speed */
if ($Details == 'all' || $Details == 'uls') {
if (!$TopUserUploadSpeed = $Cache->get_value('topuser_ulspeed')) {
$DB->query("$BaseQuery ORDER BY UpSpeed DESC LIMIT $Limit;");
$TopUserUploadSpeed = $DB->to_array();
$Cache->cache_value('topuser_ulspeed', $TopUserUploadSpeed, 3600 * 12);
}
generate_user_table(Lang::get('top10', 'fastest_uploaders'), 'uls', $TopUserUploadSpeed, $Limit);
}
/* download speed */
if ($Details == 'all' || $Details == 'dls') {
if (!$TopUserDownloadSpeed = $Cache->get_value('topuser_dlspeed')) {
$DB->query("$BaseQuery ORDER BY DownSpeed DESC LIMIT $Limit;");
$TopUserDownloadSpeed = $DB->to_array();
$Cache->cache_value('topuser_dlspeed', $TopUserDownloadSpeed, 3600 * 12);
}
generate_user_table(Lang::get('top10', 'fastest_downloaders'), 'dls', $TopUserDownloadSpeed, $Limit);
}
echo '</div>';
View::show_footer();
@@ -126,12 +105,10 @@ View::show_header(Lang::get('top10', 'top_10_users'), '', 'PageTop10User');
<tr class="Table-rowHeader">
<td class="Table-cell"><?= Lang::get('top10', 'rank') ?></td>
<td class="Table-cell"><?= Lang::get('top10', 'user') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'uploads') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'uploaded') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'downloaded') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'uploads') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'ratio') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'ul_speed') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'dl_speed') ?></td>
<td class="Table-cell Table-cellRight"><?= Lang::get('top10', 'joined') ?></td>
</tr>
<?
@@ -152,12 +129,10 @@ View::show_header(Lang::get('top10', 'top_10_users'), '', 'PageTop10User');
<tr class="Table-row">
<td class="Table-cell"><?= $Rank ?></td>
<td class="Table-cell"><?= $IsAnonymous ? Lang::get('user', 'anonymous') : Users::format_username($Detail['ID'], false, false, false) ?></td>
<td class="Table-cell Table-cellRight"><?= number_format($Detail['NumUploads']) ?></td>
<td class="Table-cell Table-cellRight"><?= Format::get_size($Detail['Uploaded']) ?></td>
<td class="Table-cell Table-cellRight"><?= Format::get_size($Detail['Downloaded']) ?></td>
<td class="Table-cell Table-cellRight"><?= number_format($Detail['NumUploads']) ?></td>
<td class="Table-cell Table-cellRight"><?= Format::get_ratio_html($Detail['Uploaded'], $Detail['Downloaded']) ?></td>
<td class="Table-cell Table-cellRight tooltip" data-tooltip="<?= Lang::get('top10', 'up_speed_is_base_2') ?>"><?= Format::get_size($Detail['UpSpeed']) . '/s' ?></td>
<td class="Table-cell Table-cellRight tooltip" data-tooltip="<?= Lang::get('top10', 'down_speed_is_base_2') ?>"><?= Format::get_size($Detail['DownSpeed']) . '/s' ?></td>
<td class="Table-cell Table-cellRight"><?= $IsAnonymous ? '--' : time_diff($Detail['JoinDate']) ?></td>
</tr>
<? } ?>
+2 -2
View File
@@ -179,7 +179,7 @@ View::show_header(Lang::get('torrents', 'header'), 'browse', 'PageTorrentHome');
<a href="wiki.php?action=article&name=%E9%AB%98%E7%BA%A7%E6%90%9C%E7%B4%A2%E6%8C%87%E5%8D%97" target="_blank" data-tooltip="<?= Lang::get('torrents', 'guide_of_advanced_search') ?>">[?]</a>
</div>
<div class="SearchPageHeader-actions">
<a href="#" onclick="globalapp.toggleAny(event, '.SearchPageBody', { updateText: true });globalapp.toggleAny(event, '.SearchPageFooter', { updateText: true })" id="ft_toggle" class="brackets">
<a href="#" onclick="globalapp.toggleAny(event, '.SearchPageBody', { updateText: true }); globalapp.toggleAny(event, '.SearchPageFooter', { updateText: true })" id="ft_toggle" class="brackets">
<span class="u-toggleAny-show <?= $HideFilter ?: 'u-hidden' ?>"><?= Lang::get('global', 'show') ?></span>
<span class="u-toggleAny-hide <?= $HideFilter ? 'u-hidden' : '' ?>"><?= Lang::get('global', 'hide') ?></span>
</a>
@@ -369,7 +369,7 @@ View::show_header(Lang::get('torrents', 'header'), 'browse', 'PageTorrentHome');
$x = 0;
foreach ($GenreTags as $Tag) {
?>
<td width="12.5%"><a href="#" onclick="add_tag('<?= $Tag ?>'); return false;"><?= $Tag ?></a></td>
<td width="12.5%"><a href="#" onclick="globalapp.browseAddTag('<?= $Tag ?>'); return false;"><?= $Tag ?></a></td>
<?
$x++;
if ($x % 7 == 0) {
+4 -4
View File
@@ -207,7 +207,7 @@ View::show_header($Title, 'browse,comments,torrent,bbcode,recommend,cover_art,su
</div>
<div class="MovieInfo-synopsis" data-tooltip="<?= Lang::get('torrents', 'fold_tooltip') ?>">
<p>
<p class="HtmlText">
<? print_r($WikiBody) ?>
</p>
</div>
@@ -453,7 +453,7 @@ View::show_header($Title, 'browse,comments,torrent,bbcode,recommend,cover_art,su
<div class="SidebarItemArtistAdd SidebarItem Box">
<div class="SidebarItem-header Box-header u-hoverToShow-hover">
<span><?= Lang::get('torrents', 'add_artist') ?></span>
<a class="u-hoverToShow-hide" onclick="AddArtistField(); return false;" href="#">+</a>
<a class="u-hoverToShow-hide" onclick="globalapp.browseAddArtistField(); return false;" href="#">+</a>
</div>
<div class="SidebarItem-body Box-body">
<form class="FormOneLine FormTorrentAddArtist" name="artists" action="torrents.php" method="post">
@@ -798,7 +798,7 @@ View::show_header($Title, 'browse,comments,torrent,bbcode,recommend,cover_art,su
continue;
}
$SlotTooltip = TorrentSlot::empty_slot_tooltip($MissingSlot);
$MissSlotNames[] = "<span class='' title='$SlotTooltip'><i>" . Lang::get('torrents', TorrentSlot::slot_option_lang($MissingSlot)) . "</i></span>";
$MissSlotNames[] = "<span data-tooltip='$SlotTooltip'><i>" . Lang::get('torrents', TorrentSlot::slot_option_lang($MissingSlot)) . "</i></span>";
}
if (count($MissSlotNames) > 0) {
?>
@@ -943,7 +943,7 @@ View::show_header($Title, 'browse,comments,torrent,bbcode,recommend,cover_art,su
<td class="TableRequest-cellVotes Table-cell TableRequest-cellValue">
<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>
&nbsp;&nbsp; <a href="javascript:globalapp.requestVote(0, <?= $Request['ID'] ?>)" class="brackets">+</a>
<? } ?>
</td>
<td class="TableRequest-cellBounty Table-cell TableRequest-cellValue">
+1 -1
View File
@@ -153,7 +153,7 @@ HTML;
case TorrentSlotGroupStatus::Empty:
// 空的class
$SlotStatusClass[$type] = '';
$text[$type] = "<span class='u-colorSuccess' title='" . Lang::get('torrents', 'slot_status_empty') . "'>" . icon('check') . "</span>";
$text[$type] = "<span class='u-colorSuccess' data-tooltip='" . Lang::get('torrents', 'slot_status_empty') . "'>" . icon('check') . "</span>";
break;
case TorrentSlotGroupStatus::Full:
// 满的class
+5 -5
View File
@@ -173,11 +173,11 @@ if ($Sneaky) {
<div class="BodyNavLinks">
<? if ($FilterID) { ?>
<a href="torrents.php?action=notify<?= ($Sneaky ? "&amp;userid=$UserID" : '') ?>" class="brackets"><?= Lang::get('torrents', 'view_all') ?></a>
<? } elseif (!$Sneaky) { ?>
<? } elseif (!$Sneaky) { ?>
<a href="torrents.php?action=notify_clear&amp;auth=<?= $LoggedUser['AuthKey'] ?>" class="brackets"><?= Lang::get('torrents', 'clear_all_old') ?></a>
<a href="#" onclick="clearSelected(); return false;" class="brackets"><?= Lang::get('torrents', 'clear_selected') ?></a>
<a class="brackets" href="#" onclick="globalapp.clearSelected(event)"><?= Lang::get('torrents', 'clear_selected') ?></a>
<a href="torrents.php?action=notify_catchup&amp;auth=<?= $LoggedUser['AuthKey'] ?>" class="brackets"><?= Lang::get('torrents', 'catch_up') ?></a>
<? } ?>
<? } ?>
<a href="user.php?action=notify" class="brackets"><?= Lang::get('torrents', 'edit_filters') ?></a>
</div>
<? if ($TorrentCount > NOTIFICATIONS_PER_PAGE) { ?>
@@ -221,10 +221,10 @@ if ($Sneaky) {
</div>
<div class="BodyNavLinks notify_filter_links">
<? if (!$Sneaky) { ?>
<a href="#" onclick="clearSelected(<?= $FilterID ?>); return false;" class="brackets"><?= Lang::get('torrents', 'clear_selected_in_filter') ?></a>
<a class="brackets" href="#" onclick="globalapp.rssClearSelected(event, <?= $FilterID ?>)"><?= Lang::get('torrents', 'clear_selected_in_filter') ?></a>
<a href="torrents.php?action=notify_clear_filter&amp;filterid=<?= $FilterID ?>&amp;auth=<?= $LoggedUser['AuthKey'] ?>" class="brackets"><?= Lang::get('torrents', 'clear_all_old_in_filter') ?></a>
<a href="torrents.php?action=notify_catchup_filter&amp;filterid=<?= $FilterID ?>&amp;auth=<?= $LoggedUser['AuthKey'] ?>" class="brackets"><?= Lang::get('torrents', 'mark_all_in_filter_as_read') ?></a>
<? } ?>
<? } ?>
</div>
<form class="torrent-table" name="torrents" id="notificationform_<?= $FilterID ?>" action="">
<?
+11 -5
View File
@@ -128,12 +128,18 @@ $HideDNU = check_perms('torrents_hide_dnu') && !$NewDNU;
?>
<tr class="Table-row">
<td class="Table-cell">
<?= Text::full_format($Name) . "\n" ?>
<? if ($TimeDiff < strtotime($Updated)) { ?>
<strong class="u-colorWarning">(New!)</strong>
<? } ?>
<div class="HtmlText">
<?= Text::full_format($Name) . "\n" ?>
<? if ($TimeDiff < strtotime($Updated)) { ?>
<strong class="u-colorWarning">(New!)</strong>
<? } ?>
</div>
</td>
<td class="Table-cell">
<div class="HtmlText">
<?= Text::full_format($Comment) ?>
</div>
</td>
<td class="Table-cell"><?= Text::full_format($Comment) ?></td>
</tr>
<? } ?>
</table>
+3 -1
View File
@@ -819,7 +819,9 @@ if ($Properties['Scene'] == '1') {
$RemasterTitleRSS = explode(' / ', $Properties['RemasterTitle']);
foreach ($RemasterTitleRSS as $RT) {
$Details .= " / " . EditionInfo::text(trim($RT));
if ($RT) {
$Details .= " / " . EditionInfo::text(trim($RT));
}
}
if ($T['FreeLeech'] == '1') {
+3 -1
View File
@@ -238,7 +238,9 @@ function user_dupes_table($UserID) {
</tr>
<tr>
<td colspan="5" align="left">
<div id="dupecomments" class="<?= ($DupeCount ? '' : 'hidden') ?>"><?= Text::full_format($Comments); ?></div>
<div id="dupecomments" class="HtmlText <?= ($DupeCount ? '' : 'hidden') ?>">
<?= Text::full_format($Comments) ?>
</div>
<div id="editdupecomments" class="<?= ($DupeCount ? 'hidden' : '') ?>">
<textarea class="Input" name="dupecomments" onkeyup="resize('dupecommentsbox');" id="dupecommentsbox" cols="65" rows="5"><?= display_str($Comments) ?></textarea>
</div>
+38 -25
View File
@@ -239,7 +239,7 @@ function check_paranoia_here($Setting) {
}
}
View::show_header($Username, "jquery.imagesloaded,jquery.wookmark,user,bbcode,requests,comments,info_paster,tiles", "PageUserShow");
View::show_header($Username, "jquery.imagesloaded,jquery.wookmark,user,bbcode,comments,info_paster,tiles", "PageUserShow");
if (check_paranoia_here('artistsadded')) {
$DB->query("
@@ -856,7 +856,7 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
<li class="SidebarList-item" <?
$DB->query("select count(*), EndTime from invites_typed where UserID=" . $UserID . " and Type='time' and Used=0 group by EndTime");
$TimeAndCnts = $DB->to_array(false, MYSQLI_NUM, false);
if (count($TimeAndCnts) > 0) echo "title=\"";
if (count($TimeAndCnts) > 0) echo "data-tooltip=\"";
$num = 0;
foreach ($TimeAndCnts as $TAC) {
if ($num != 0) echo "\n";
@@ -1381,8 +1381,8 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
<td class="TableRequest-cell">
<span id="vote_count_<?= $RequestID ?>"><?= $VotesCount ?></span>
<? if (check_perms('site_vote')) { ?>
<a href="javascript:Vote(0, <?= $RequestID ?>)">+</a>
<? } ?>
<a href="javascript:globalapp.requestVote(0, <?= $RequestID ?>)">+</a>
<? } ?>
</td>
<td class="Table-cell">
<span id="bounty_<?= $RequestID ?>"><?= Format::get_size($Bounty) ?></span>
@@ -1391,7 +1391,7 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
<?= time_diff($Request['TimeAdded']) ?>
</td>
</tr>
<? } ?>
<? } ?>
</table>
</div>
</div>
@@ -1483,7 +1483,9 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
<div class="Box">
<div class="Box-header"><?= Lang::get('user', 'forum_warnings') ?></div>
<div class="Box-body">
<div id="forumwarningslinks" class="AdminComment" style="width: 98%;"><?= Text::full_format($ForumWarnings) ?></div>
<div id="forumwarningslinks" class="HtmlText AdminComment" style="width: 98%;">
<?= Text::full_format($ForumWarnings) ?>
</div>
</div>
</div>
<?
@@ -1501,7 +1503,9 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
</div>
<div id="staffnotes" class="Box-body">
<input type="hidden" name="comment_hash" value="<?= $CommentHash ?>" />
<div id="admincommentlinks" class="AdminComment" style="width: 98%;"><?= Text::full_format($AdminComment) ?></div>
<div id="admincommentlinks" class="HtmlText AdminComment" style="width: 98%;">
<?= Text::full_format($AdminComment) ?>
</div>
</div>
</div>
@@ -1714,13 +1718,12 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
<td class="Form-inputs">
<? if ($FA_Key) { ?>
<a href="user.php?action=2fa&page=user&do=disable&userid=<?= $UserID ?>"><?= Lang::get('user', 'close') ?></a>
<? } else { ?>
<? } else { ?>
<?= Lang::get('user', 'closed') ?>
<? } ?>
<? } ?>
</td>
</tr>
<? } ?>
<? } ?>
</table>
<? if (check_perms('users_warn')) { ?>
@@ -1731,14 +1734,18 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
</td>
</tr>
<tr class="Form-row">
<td class="Form-label"><?= Lang::get('user', 'warned') ?></td>
<td class="Form-label">
<?= Lang::get('user', 'warned') ?>
</td>
<td class="Form-inputs">
<input type="checkbox" name="Warned" <? if ($Warned != '0000-00-00 00:00:00') { ?> checked="checked" <? } ?> />
</td>
</tr>
<? if ($Warned == '0000-00-00 00:00:00') { /* user is not warned */ ?>
<tr class="Form-row">
<td class="Form-label"><?= Lang::get('user', 'warn_time') ?></td>
<td class="Form-label">
<?= Lang::get('user', 'warn_time') ?>
</td>
<td class="Form-inputs">
<select class="Input" name="WarnLength">
<option class="Select-option" value="">---</option>
@@ -1749,9 +1756,11 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
</select>
</td>
</tr>
<? } else { /* user is warned */ ?>
<? } else { /* user is warned */ ?>
<tr class="Form-row">
<td class="Form-label"><?= Lang::get('user', 'warn_time') ?></td>
<td class="Form-label">
<?= Lang::get('user', 'warn_time') ?>
</td>
<td class="Form-inputs">
<select class="Input" name="ExtendWarning" onchange="ToggleWarningAdjust(this);">
<option class="Select-option">---</option>
@@ -1762,21 +1771,25 @@ WHERE xs.uid =" . $UserID . " and xs.tstamp >= unix_timestamp(date_format(now(),
</select>
</td>
</tr>
<tr id="ReduceWarningTR">
<td class="Form-label"><?= Lang::get('user', 'free_time') ?></td>
<tr class="Form-row" id="ReduceWarningTR">
<td class="Form-label">
<?= Lang::get('user', 'free_time') ?>
</td>
<td class="Form-inputs">
name="ReduceWarning">
<option class="Select-option">---</option>
<option class="Select-option" value="1"><?= Lang::get('user', '1_week') ?></option>
<option class="Select-option" value="2"><?= Lang::get('user', '2_week') ?></option>
<option class="Select-option" value="4"><?= Lang::get('user', '4_week') ?></option>
<option class="Select-option" value="8"><?= Lang::get('user', '8_week') ?></option>
<select class="Input" name="ReduceWarning">
<option class="Select-option">---</option>
<option class="Select-option" value="1"><?= Lang::get('user', '1_week') ?></option>
<option class="Select-option" value="2"><?= Lang::get('user', '2_week') ?></option>
<option class="Select-option" value="4"><?= Lang::get('user', '4_week') ?></option>
<option class="Select-option" value="8"><?= Lang::get('user', '8_week') ?></option>
</select>
</td>
</tr>
<? } ?>
<? } ?>
<tr class="Form-row">
<td class="Form-label" data-tooltip="<?= Lang::get('user', 'warn_reason_title') ?>"><?= Lang::get('user', 'warn_reason') ?></td>
<td class="Form-label" data-tooltip="<?= Lang::get('user', 'warn_reason_title') ?>">
<?= Lang::get('user', 'warn_reason') ?>
</td>
<td class="Form-inputs">
<input class="Input" type="text" name="WarnReason" />
</td>
+3 -1
View File
@@ -155,7 +155,9 @@ View::show_header($Title, 'wiki,bbcode', 'PageWikiHome');
</div>
<div class="LayoutMainSidebar-main">
<div class="Box wiki_article">
<div class="Post-body Box-body HtmlText PostArticle"><?= $TextBody ?></div>
<div class="Post-body Box-body HtmlText PostArticle">
<?= $TextBody ?>
</div>
</div>
</div>
</div>
+5 -2
View File
@@ -12,7 +12,7 @@ ButtonGroup
variant="primary"
Loading Button
<button class="Button">
<button class="Button"> is-loading
<span>Next</span>
<span class="Button-loaderIcon"></span>
</button>
@@ -20,7 +20,10 @@ Loading Button
.ButtonGroup {
display: inline-flex;
gap: var(--global-space-sm);
gap: var(--global-space-default);
}
.ButtonGroup--wide {
gap: var(--global-space-lg);
}
/* Link */
@@ -1,6 +1,8 @@
/*
Snackbar.jsx
Snackbar.open({ message: 'hello' })
Snackbar.open(message)
Snackbar.notify(message) // auto close after 2 seconds or click to close
Snackbar.error(message)
Snackbar.close()
@@ -13,6 +15,10 @@ Snackbar
--Snackbar-body-color: #fff;
}
.Snackbar.is-error {
--Snackbar-body-background: var(--global-color-warning);
}
.Snackbar {
position: fixed;
inset: 0;
+4 -1
View File
@@ -103,5 +103,8 @@ TableContainer
.Table .Table-rowHeader .icon {
width: 16px;
height: 16px;
color: var(--Box-color);
}
.TableUser {
min-width: 600px;
}
@@ -37,5 +37,5 @@ TableMediaInfo varaint='mediainfo | bdinfo'
min-width: 70px;
}
.TableMediaInfo .Audio .key {
min-width: 15px;
min-width: 20px;
}
@@ -60,6 +60,10 @@ cell
background: var(--TableTorrent-category-background);
}
.TableTorrent .Table-rowHeader .icon {
color: var(--Box-color);
}
/* cell */
.TableTorrent .Table-cell:first-child {
padding-left: var(--global-space-default);
+3 -3
View File
@@ -10,7 +10,7 @@ TorrentDetail
}
/* row */
.TorrentDetail-row:not(.is-description) {
.TorrentDetail-row:not(.is-description):not(.TorrentDetail-trumpable) {
display: flex;
flex-direction: column;
gap: var(--global-space-default);
@@ -45,8 +45,8 @@ TorrentDetail
color: var(--global-color-rewardButton);
}
.TorrentDetail-rewardButton.is-toReward .icon {
color: inherit;
.TorrentDetail-rewardButton.is-active .icon {
color: var(--global-color-rewardButtonActive);
}
.TorrentDetail-like,
@@ -28,6 +28,7 @@
--global-color-link: #004070;
--global-onHover-color-link: #1958bd;
--global-color-rewardButton: #da7171;
--global-color-rewardButtonActive: gray;
--global-color-success: #28a745;
--global-color-warning: #d8210d;
--global-color-circle: #f4d90d;
+3 -14
View File
@@ -9,21 +9,10 @@
}
.ForumPostReward-body {
padding: var(--global-space-default);
display: flex;
flex-direction: column;
gap: var(--global-space-sm);
width: auto; /* override table */
}
.ForumPostReward-row.is-header {
font-weight: bold;
}
.ForumPostReward-row {
display: flex;
}
.ForumPostReward-cell.is-giver {
width: 110px;
}
.ForumPostReward-cell.is-bonus {
width: 70px;
.ForumPostReward-cell {
padding: 2px var(--global-space-default);
}
/* Cleanup */
+28
View File
@@ -0,0 +1,28 @@
.Social {
display: flex;
gap: var(--global-space-lg);
justify-content: center;
}
.Social .icon {
width: 24px;
height: 24px;
}
.Social .rss.icon {
color: #ffa500;
}
.Social .telegram.icon {
color: #26a5e4;
}
.Social .github.icon {
color: #181717;
}
@media (prefers-color-scheme: dark) {
.Social .github.icon {
color: #cdd9e5;
}
}
+1
View File
@@ -13,4 +13,5 @@
@import './PageForum.css';
@import './PageCollage.css';
@import './PageSiteHistory.css';
@import './PageHome.css';
@import './Admin/index.css';
-1
View File
@@ -1,4 +1,3 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z" />
</svg>

Before

Width:  |  Height:  |  Size: 551 B

After

Width:  |  Height:  |  Size: 381 B

-1
View File
@@ -1,4 +1,3 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z" />
</svg>

Before

Width:  |  Height:  |  Size: 558 B

After

Width:  |  Height:  |  Size: 388 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M204.3 32.01H96c-52.94 0-96 43.06-96 96c0 17.67 14.31 31.1 32 31.1s32-14.32 32-31.1c0-17.64 14.34-32 32-32h108.3C232.8 96.01 256 119.2 256 147.8c0 19.72-10.97 37.47-30.5 47.33L127.8 252.4C117.1 258.2 112 268.7 112 280v40c0 17.67 14.31 31.99 32 31.99s32-14.32 32-31.99V298.3L256 251.3c39.47-19.75 64-59.42 64-103.5C320 83.95 268.1 32.01 204.3 32.01zM144 400c-22.09 0-40 17.91-40 40s17.91 39.1 40 39.1s40-17.9 40-39.1S166.1 400 144 400z" />
</svg>

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 576 B

-1
View File
@@ -1,4 +1,3 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M376.6 427.5c11.31 13.58 9.484 33.75-4.094 45.06c-5.984 4.984-13.25 7.422-20.47 7.422c-9.172 0-18.27-3.922-24.59-11.52L192 305.1l-135.4 162.5c-6.328 7.594-15.42 11.52-24.59 11.52c-7.219 0-14.48-2.438-20.47-7.422c-13.58-11.31-15.41-31.48-4.094-45.06l142.9-171.5L7.422 84.5C-3.891 70.92-2.063 50.75 11.52 39.44c13.56-11.34 33.73-9.516 45.06 4.094L192 206l135.4-162.5c11.3-13.58 31.48-15.42 45.06-4.094c13.58 11.31 15.41 31.48 4.094 45.06l-142.9 171.5L376.6 427.5z" />
</svg>

Before

Width:  |  Height:  |  Size: 771 B

After

Width:  |  Height:  |  Size: 601 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"> <!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
<path d="M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"/>
</svg>

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 557 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"> <!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
<path d="M160 256C160 185.3 217.3 128 288 128C358.7 128 416 185.3 416 256C416 326.7 358.7 384 288 384C217.3 384 160 326.7 160 256zM288 336C332.2 336 368 300.2 368 256C368 211.8 332.2 176 288 176C287.3 176 286.7 176 285.1 176C287.3 181.1 288 186.5 288 192C288 227.3 259.3 256 224 256C218.5 256 213.1 255.3 208 253.1C208 254.7 208 255.3 208 255.1C208 300.2 243.8 336 288 336L288 336zM95.42 112.6C142.5 68.84 207.2 32 288 32C368.8 32 433.5 68.84 480.6 112.6C527.4 156 558.7 207.1 573.5 243.7C576.8 251.6 576.8 260.4 573.5 268.3C558.7 304 527.4 355.1 480.6 399.4C433.5 443.2 368.8 480 288 480C207.2 480 142.5 443.2 95.42 399.4C48.62 355.1 17.34 304 2.461 268.3C-.8205 260.4-.8205 251.6 2.461 243.7C17.34 207.1 48.62 156 95.42 112.6V112.6zM288 80C222.8 80 169.2 109.6 128.1 147.7C89.6 183.5 63.02 225.1 49.44 256C63.02 286 89.6 328.5 128.1 364.3C169.2 402.4 222.8 432 288 432C353.2 432 406.8 402.4 447.9 364.3C486.4 328.5 512.1 286 526.6 256C512.1 225.1 486.4 183.5 447.9 147.7C406.8 109.6 353.2 80 288 80V80z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"> <!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">
<path d="M150.7 92.77C195 58.27 251.8 32 320 32C400.8 32 465.5 68.84 512.6 112.6C559.4 156 590.7 207.1 605.5 243.7C608.8 251.6 608.8 260.4 605.5 268.3C592.1 300.6 565.2 346.1 525.6 386.7L630.8 469.1C641.2 477.3 643.1 492.4 634.9 502.8C626.7 513.2 611.6 515.1 601.2 506.9L9.196 42.89C-1.236 34.71-3.065 19.63 5.112 9.196C13.29-1.236 28.37-3.065 38.81 5.112L150.7 92.77zM189.8 123.5L235.8 159.5C258.3 139.9 287.8 128 320 128C390.7 128 448 185.3 448 256C448 277.2 442.9 297.1 433.8 314.7L487.6 356.9C521.1 322.8 545.9 283.1 558.6 256C544.1 225.1 518.4 183.5 479.9 147.7C438.8 109.6 385.2 79.1 320 79.1C269.5 79.1 225.1 97.73 189.8 123.5L189.8 123.5zM394.9 284.2C398.2 275.4 400 265.9 400 255.1C400 211.8 364.2 175.1 320 175.1C319.3 175.1 318.7 176 317.1 176C319.3 181.1 320 186.5 320 191.1C320 202.2 317.6 211.8 313.4 220.3L394.9 284.2zM404.3 414.5L446.2 447.5C409.9 467.1 367.8 480 320 480C239.2 480 174.5 443.2 127.4 399.4C80.62 355.1 49.34 304 34.46 268.3C31.18 260.4 31.18 251.6 34.46 243.7C44 220.8 60.29 191.2 83.09 161.5L120.8 191.2C102.1 214.5 89.76 237.6 81.45 255.1C95.02 286 121.6 328.5 160.1 364.3C201.2 402.4 254.8 432 320 432C350.7 432 378.8 425.4 404.3 414.5H404.3zM192 255.1C192 253.1 192.1 250.3 192.3 247.5L248.4 291.7C258.9 312.8 278.5 328.6 302 333.1L358.2 378.2C346.1 381.1 333.3 384 319.1 384C249.3 384 191.1 326.7 191.1 255.1H192z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg class="icon" width="64" height="64" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M128 447.1V223.1c0-17.67-14.33-31.1-32-31.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64C113.7 479.1 128 465.6 128 447.1zM512 224.1c0-26.5-21.48-47.98-48-47.98h-146.5c22.77-37.91 34.52-80.88 34.52-96.02C352 56.52 333.5 32 302.5 32c-63.13 0-26.36 76.15-108.2 141.6L178 186.6C166.2 196.1 160.2 210 160.1 224c-.0234 .0234 0 0 0 0L160 384c0 15.1 7.113 29.33 19.2 38.39l34.14 25.59C241 468.8 274.7 480 309.3 480H368c26.52 0 48-21.47 48-47.98c0-3.635-.4805-7.143-1.246-10.55C434 415.2 448 397.4 448 376c0-9.148-2.697-17.61-7.139-24.88C463.1 347 480 327.5 480 304.1c0-12.5-4.893-23.78-12.72-32.32C492.2 270.1 512 249.5 512 224.1z" />
</svg>

After

Width:  |  Height:  |  Size: 783 B

-1
View File
@@ -1,4 +1,3 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M96 191.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64c17.67 0 32-14.33 32-31.1V223.1C128 206.3 113.7 191.1 96 191.1zM512 227c0-36.89-30.05-66.92-66.97-66.92h-99.86C354.7 135.1 360 113.5 360 100.8c0-33.8-26.2-68.78-70.06-68.78c-46.61 0-59.36 32.44-69.61 58.5c-31.66 80.5-60.33 66.39-60.33 93.47c0 12.84 10.36 23.99 24.02 23.99c5.256 0 10.55-1.721 14.97-5.26c76.76-61.37 57.97-122.7 90.95-122.7c16.08 0 22.06 12.75 22.06 20.79c0 7.404-7.594 39.55-25.55 71.59c-2.046 3.646-3.066 7.686-3.066 11.72c0 13.92 11.43 23.1 24 23.1h137.6C455.5 208.1 464 216.6 464 227c0 9.809-7.766 18.03-17.67 18.71c-12.66 .8593-22.36 11.4-22.36 23.94c0 15.47 11.39 15.95 11.39 28.91c0 25.37-35.03 12.34-35.03 42.15c0 11.22 6.392 13.03 6.392 22.25c0 22.66-29.77 13.76-29.77 40.64c0 4.515 1.11 5.961 1.11 9.456c0 10.45-8.516 18.95-18.97 18.95h-52.53c-25.62 0-51.02-8.466-71.5-23.81l-36.66-27.51c-4.315-3.245-9.37-4.811-14.38-4.811c-13.85 0-24.03 11.38-24.03 24.04c0 7.287 3.312 14.42 9.596 19.13l36.67 27.52C235 468.1 270.6 480 306.6 480h52.53c35.33 0 64.36-27.49 66.8-62.2c17.77-12.23 28.83-32.51 28.83-54.83c0-3.046-.2187-6.107-.6406-9.122c17.84-12.15 29.28-32.58 29.28-55.28c0-5.311-.6406-10.54-1.875-15.64C499.9 270.1 512 250.2 512 227z" />
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor" d="M128 288V64.03c0-17.67-14.33-31.1-32-31.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64C113.7 320 128 305.7 128 288zM481.5 229.1c1.234-5.092 1.875-10.32 1.875-15.64c0-22.7-11.44-43.13-29.28-55.28c.4219-3.015 .6406-6.076 .6406-9.122c0-22.32-11.06-42.6-28.83-54.83c-2.438-34.71-31.47-62.2-66.8-62.2h-52.53c-35.94 0-71.55 11.87-100.3 33.41L169.6 92.93c-6.285 4.71-9.596 11.85-9.596 19.13c0 12.76 10.29 24.04 24.03 24.04c5.013 0 10.07-1.565 14.38-4.811l36.66-27.51c20.48-15.34 45.88-23.81 71.5-23.81h52.53c10.45 0 18.97 8.497 18.97 18.95c0 3.5-1.11 4.94-1.11 9.456c0 26.97 29.77 17.91 29.77 40.64c0 9.254-6.392 10.96-6.392 22.25c0 13.97 10.85 21.95 19.58 23.59c8.953 1.671 15.45 9.481 15.45 18.56c0 13.04-11.39 13.37-11.39 28.91c0 12.54 9.702 23.08 22.36 23.94C456.2 266.1 464 275.2 464 284.1c0 10.43-8.516 18.93-18.97 18.93H307.4c-12.44 0-24 10.02-24 23.1c0 4.038 1.02 8.078 3.066 11.72C304.4 371.7 312 403.8 312 411.2c0 8.044-5.984 20.79-22.06 20.79c-12.53 0-14.27-.9059-24.94-28.07c-24.75-62.91-61.74-99.9-80.98-99.9c-13.8 0-24.02 11.27-24.02 23.99c0 7.041 3.083 14.02 9.016 18.76C238.1 402 211.4 480 289.9 480C333.8 480 360 445 360 411.2c0-12.7-5.328-35.21-14.83-59.33h99.86C481.1 351.9 512 321.9 512 284.1C512 261.8 499.9 241 481.5 229.1z" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M96 32C96 14.33 110.3 0 128 0C145.7 0 160 14.33 160 32V64H288V32C288 14.33 302.3 0 320 0C337.7 0 352 14.33 352 32V64H400C426.5 64 448 85.49 448 112V160H0V112C0 85.49 21.49 64 48 64H96V32zM448 464C448 490.5 426.5 512 400 512H48C21.49 512 0 490.5 0 464V192H448V464z" />
</svg>

Before

Width:  |  Height:  |  Size: 573 B

After

Width:  |  Height:  |  Size: 405 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM51.68 295.1L83.41 301.5C91.27 303.1 99.41 300.6 105.1 294.9L120.5 279.5C132 267.1 151.6 271.1 158.9 285.8L168.2 304.3C172.1 313.9 182.8 319.1 193.5 319.1C208.7 319.1 219.6 305.4 215.2 290.8L209.3 270.9C204.6 255.5 216.2 240 232.3 240H234.6C247.1 240 260.5 233.3 267.9 222.2L278.6 206.1C284.2 197.7 283.9 186.6 277.8 178.4L261.7 156.9C251.4 143.2 258.4 123.4 275.1 119.2L292.1 114.1C299.6 113.1 305.7 107.8 308.6 100.6L324.9 59.69C303.4 52.12 280.2 48 255.1 48C141.1 48 47.1 141.1 47.1 256C47.1 269.4 49.26 282.5 51.68 295.1L51.68 295.1zM450.4 300.4L434.6 304.9C427.9 306.7 420.8 304 417.1 298.2L415.1 295.1C409.1 285.7 398.7 279.1 387.5 279.1C376.4 279.1 365.1 285.7 359.9 295.1L353.8 304.6C352.4 306.8 350.5 308.7 348.2 309.1L311.1 330.1C293.9 340.2 286.5 362.5 294.1 381.4L300.5 393.8C309.1 413 331.2 422.3 350.1 414.9L353.5 413.1C363.6 410.2 374.8 411.8 383.5 418.1L385 419.2C422.2 389.7 449.1 347.8 459.4 299.7C456.4 299.4 453.4 299.6 450.4 300.4H450.4zM156.1 367.5L188.1 375.5C196.7 377.7 205.4 372.5 207.5 363.9C209.7 355.3 204.5 346.6 195.9 344.5L163.9 336.5C155.3 334.3 146.6 339.5 144.5 348.1C142.3 356.7 147.5 365.4 156.1 367.5V367.5zM236.5 328.1C234.3 336.7 239.5 345.4 248.1 347.5C256.7 349.7 265.4 344.5 267.5 335.9L275.5 303.9C277.7 295.3 272.5 286.6 263.9 284.5C255.3 282.3 246.6 287.5 244.5 296.1L236.5 328.1zM321.7 120.8L305.7 152.8C301.7 160.7 304.9 170.4 312.8 174.3C320.7 178.3 330.4 175.1 334.3 167.2L350.3 135.2C354.3 127.3 351.1 117.6 343.2 113.7C335.3 109.7 325.6 112.9 321.7 120.8V120.8z" />
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z" />
</svg>

Before

Width:  |  Height:  |  Size: 419 B

After

Width:  |  Height:  |  Size: 251 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M243.8 339.8C232.9 350.7 215.1 350.7 204.2 339.8L140.2 275.8C129.3 264.9 129.3 247.1 140.2 236.2C151.1 225.3 168.9 225.3 179.8 236.2L224 280.4L332.2 172.2C343.1 161.3 360.9 161.3 371.8 172.2C382.7 183.1 382.7 200.9 371.8 211.8L243.8 339.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z" />
</svg>

Before

Width:  |  Height:  |  Size: 772 B

After

Width:  |  Height:  |  Size: 604 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M175 175C184.4 165.7 199.6 165.7 208.1 175L255.1 222.1L303 175C312.4 165.7 327.6 165.7 336.1 175C346.3 184.4 346.3 199.6 336.1 208.1L289.9 255.1L336.1 303C346.3 312.4 346.3 327.6 336.1 336.1C327.6 346.3 312.4 346.3 303 336.1L255.1 289.9L208.1 336.1C199.6 346.3 184.4 346.3 175 336.1C165.7 327.6 165.7 312.4 175 303L222.1 255.1L175 208.1C165.7 199.6 165.7 184.4 175 175V175zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z" />
</svg>

Before

Width:  |  Height:  |  Size: 906 B

After

Width:  |  Height:  |  Size: 738 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM199.2 312.6c14.94 15.06 34.8 23.38 55.89 23.38c.0313 0 0 0 0 0c21.06 0 40.92-8.312 55.83-23.38c9.375-9.375 24.53-9.469 33.97-.1562c9.406 9.344 9.469 24.53 .1562 33.97c-24 24.22-55.95 37.56-89.95 37.56c0 0 .0313 0 0 0c-33.97 0-65.95-13.34-89.95-37.56c-49.44-49.88-49.44-131 0-180.9c24-24.22 55.98-37.56 89.95-37.56c.0313 0 0 0 0 0c34 0 65.95 13.34 89.95 37.56c9.312 9.438 9.25 24.62-.1562 33.97c-9.438 9.344-24.59 9.188-33.97-.1562c-14.91-15.06-34.77-23.38-55.83-23.38c0 0 .0313 0 0 0c-21.09 0-40.95 8.312-55.89 23.38C168.3 230.6 168.3 281.4 199.2 312.6z" />
</svg>

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 775 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M160 256C160 202.1 202.1 160 256 160C309 160 352 202.1 352 256C352 309 309 352 256 352C202.1 352 160 309 160 256zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z" />
</svg>

Before

Width:  |  Height:  |  Size: 646 B

After

Width:  |  Height:  |  Size: 478 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M544 61.63V30.74c0-25-28.81-37.99-53.17-26.49C306.3 91.5 321.5-62.25 96 32.38V32c0-17.75-14.25-32-32-32S32 14.25 32 32L31.96 496c0 8.75 7.25 16 15.1 16H80C88.75 512 96 504.8 96 496V384c200-92.25 238.8 53.25 428.1-23.12C536.3 355.9 544 344.4 544 332.1V296.1c-46.98 17.25-86.42 24.12-120.8 24.12c-40.25-.125-74.17-8.5-107.7-16.62C254 288.5 195.3 274.8 96 314.8v-34.5c102-37.63 166.5-22.75 228.4-7.625C385.1 287.8 444.7 301.4 544 261.5V200c-46.98 17.25-86.42 24.12-120.8 24.12c-40.25 0-74.17-8.375-107.7-16.5C254 192.5 195.3 178.8 96 218.8v-34.5c102-37.5 166.5-22.62 228.4-7.5C385.1 191.8 444.7 205.4 544 165.6V96.75c-57.75 23.5-100.4 31.38-135.8 31.38c-62.96 0-118.9-27.09-120.2-27.38V67.5C331.9 78.94 390.1 128.3 544 61.63zM160 136c-8.75 0-16-7.125-16-16s7.25-16 16-16s16 7.125 16 16S168.8 136 160 136zM160 72c-8.75 0-16-7-16-16c0-8.75 7.25-16 16-16s16 7.125 16 16S168.8 72 160 72zM224 128C215.3 128 208 120.9 208 112S215.3 96 224 96s16 7 16 16C240 120.8 232.8 128 224 128zM224 64.25c-8.75 0-16-7-16-16c0-8.75 7.25-16 16-16s16 7.125 16 16S232.8 64.25 224 64.25z" />
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M463.1 474.7C465.1 486.7 460.2 498.9 450.2 506C440.3 513.1 427.2 514 416.5 508.3L288.1 439.8L159.8 508.3C149 514 135.9 513.1 126 506C116.1 498.9 111.1 486.7 113.2 474.7L137.8 328.1L33.58 225.9C24.97 217.3 21.91 204.7 25.69 193.1C29.46 181.6 39.43 173.2 51.42 171.5L195 150.3L259.4 17.97C264.7 6.954 275.9-.0391 288.1-.0391C300.4-.0391 311.6 6.954 316.9 17.97L381.2 150.3L524.9 171.5C536.8 173.2 546.8 181.6 550.6 193.1C554.4 204.7 551.3 217.3 542.7 225.9L438.5 328.1L463.1 474.7zM288 376.4L288.1 376.3L399.7 435.9L378.4 309.6L469.2 219.8L343.8 201.4L288.1 86.85L288 87.14V376.4z" />
</svg>

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 720 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M128 447.1V223.1c0-17.67-14.33-31.1-32-31.1H32c-17.67 0-32 14.33-32 31.1v223.1c0 17.67 14.33 31.1 32 31.1h64C113.7 479.1 128 465.6 128 447.1zM512 224.1c0-26.5-21.48-47.98-48-47.98h-146.5c22.77-37.91 34.52-80.88 34.52-96.02C352 56.52 333.5 32 302.5 32c-63.13 0-26.36 76.15-108.2 141.6L178 186.6C166.2 196.1 160.2 210 160.1 224c-.0234 .0234 0 0 0 0L160 384c0 15.1 7.113 29.33 19.2 38.39l34.14 25.59C241 468.8 274.7 480 309.3 480H368c26.52 0 48-21.47 48-47.98c0-3.635-.4805-7.143-1.246-10.55C434 415.2 448 397.4 448 376c0-9.148-2.697-17.61-7.139-24.88C463.1 347 480 327.5 480 304.1c0-12.5-4.893-23.78-12.72-32.32C492.2 270.1 512 249.5 512 224.1z" />
</svg>

Before

Width:  |  Height:  |  Size: 952 B

After

Width:  |  Height:  |  Size: 784 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M222.7 32.15C227.7 49.08 218.1 66.9 201.1 71.94C121.8 95.55 64 169.1 64 255.1C64 362 149.1 447.1 256 447.1C362 447.1 448 362 448 255.1C448 169.1 390.2 95.55 310.9 71.94C293.9 66.9 284.3 49.08 289.3 32.15C294.4 15.21 312.2 5.562 329.1 10.6C434.9 42.07 512 139.1 512 255.1C512 397.4 397.4 511.1 256 511.1C114.6 511.1 0 397.4 0 255.1C0 139.1 77.15 42.07 182.9 10.6C199.8 5.562 217.6 15.21 222.7 32.15V32.15z" />
</svg>

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 546 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M204.3 32.01H96c-52.94 0-96 43.06-96 96c0 17.67 14.31 31.1 32 31.1s32-14.32 32-31.1c0-17.64 14.34-32 32-32h108.3C232.8 96.01 256 119.2 256 147.8c0 19.72-10.97 37.47-30.5 47.33L127.8 252.4C117.1 258.2 112 268.7 112 280v40c0 17.67 14.31 31.99 32 31.99s32-14.32 32-31.99V298.3L256 251.3c39.47-19.75 64-59.42 64-103.5C320 83.95 268.1 32.01 204.3 32.01zM144 400c-22.09 0-40 17.91-40 40s17.91 39.1 40 39.1s40-17.9 40-39.1S166.1 400 144 400z" />
</svg>

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 576 B

+1 -1
View File
@@ -1,4 +1,4 @@
<svg class="icon" width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. -->
<path fill="currentColor" d="M32 432C32 458.5 53.49 480 80 480h352c26.51 0 48-21.49 48-48V160H32V432zM160 236C160 229.4 165.4 224 172 224h168C346.6 224 352 229.4 352 236v8C352 250.6 346.6 256 340 256h-168C165.4 256 160 250.6 160 244V236zM480 32H32C14.31 32 0 46.31 0 64v48C0 120.8 7.188 128 16 128h480C504.8 128 512 120.8 512 112V64C512 46.31 497.7 32 480 32z" />
</svg>

Before

Width:  |  Height:  |  Size: 640 B

After

Width:  |  Height:  |  Size: 472 B

Some files were not shown because too many files have changed in this diff Show More