Empty commit
@ -455,7 +455,7 @@ public static function regenerate_filelist($TorrentID) {
|
||||
$TmpFileList[] = self::filelist_format_file($File);
|
||||
}
|
||||
$FilePath = isset($Tor->Val['info']->Val['files']) ? Format::make_utf8($Tor->get_name()) : "";
|
||||
$FileString = Format::make_utf8(implode("\n", $TmpFileList));
|
||||
$FileString = implode("\n", $TmpFileList);
|
||||
$DB->query("UPDATE torrents SET Size = ".$TotalSize.", FilePath = '".db_string($FilePath)."', FileList = '".db_string($FileString)."' WHERE ID = ".$TorrentID);
|
||||
$Cache->delete_value('torrents_details_'.$GroupID);
|
||||
}
|
||||
@ -482,8 +482,8 @@ public static function filelist_format_file($File) {
|
||||
list($Size, $Name) = $File;
|
||||
$Name = Format::make_utf8(strtr($Name, "\n\r\t", " "));
|
||||
$ExtPos = strrpos($Name, '.');
|
||||
$Ext = $ExtPos ? substr($Name, $ExtPos) : '';
|
||||
return sprintf("%s s%ds %s %s", $Ext, $Size, $Name, self::filelist_delim());
|
||||
$Ext = $ExtPos ? trim(substr($Name, $ExtPos+1)) : '';
|
||||
return sprintf("%s s%ds %s %s", ".$Ext", $Size, $Name, self::filelist_delim());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -242,6 +242,34 @@
|
||||
$Alerts[] = '<a href="blog.php">'.'New Blog Post!'.'</a>';
|
||||
}
|
||||
|
||||
// Staff blog
|
||||
if(check_perms('users_mod')) {
|
||||
global $SBlogReadTime, $LatestSBlogTime;
|
||||
if (!$SBlogReadTime && ($SBlogReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
$DB->query("SELECT Time FROM staff_blog_visits WHERE UserID = ".$LoggedUser['ID']);
|
||||
if (list($SBlogReadTime) = $DB->next_record()) {
|
||||
$SBlogReadTime = strtotime($SBlogReadTime);
|
||||
} else {
|
||||
$SBlogReadTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'], $SBlogReadTime, 1209600);
|
||||
}
|
||||
if (!$LatestSBlogTime && ($LatestSBlogTime = $Cache->get_value('staff_blog_latest_time')) === false) {
|
||||
$DB->query("SELECT MAX(Time) FROM staff_blog");
|
||||
if (list($LatestSBlogTime) = $DB->next_record()) {
|
||||
$LatestSBlogTime = strtotime($LatestSBlogTime);
|
||||
} else {
|
||||
$LatestSBlogTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_latest_time', $LatestSBlogTime, 1209600);
|
||||
}
|
||||
if ($SBlogReadTime < $LatestSBlogTime) {
|
||||
global $Debug;
|
||||
$Debug->log_var(array('b' => $SBlogReadTime, 'l' => $LatestSBlogTime), 'Times');
|
||||
$Alerts[] = '<a href="staffblog.php">'.'New Staff Blog Post!'.'</a>';
|
||||
}
|
||||
}
|
||||
|
||||
//Staff PM
|
||||
$NewStaffPMs = $Cache->get_value('staff_pm_new_'.$LoggedUser['ID']);
|
||||
if ($NewStaffPMs === false) {
|
||||
|
@ -360,7 +360,7 @@ function display_name($ReleaseType) {
|
||||
<tr class="releases_<?=$ReleaseType?> groupid_<?=$GroupID?> edition_<?=$EditionID?> group_torrent discog <?=$HideDiscog?>">
|
||||
<td class="artist_normalcol" colspan="2">
|
||||
<span>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]
|
||||
<a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
|
||||
</span>
|
||||
» <a href="torrents.php?id=<?=$GroupID?>&torrentid=<?=$TorrentID?>"><?=Torrents::torrent_info($Torrent)?></a>
|
||||
</td>
|
||||
|
@ -111,9 +111,6 @@
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
<? if (check_perms('users_mod') || check_perms("site_mark_suggestions")) { ?>
|
||||
<a href="tools.php?action=suggestions" class="brackets">Scoreboard</a>
|
||||
<? } ?>
|
||||
|
||||
|
||||
<?
|
||||
|
@ -48,17 +48,17 @@
|
||||
b.Time
|
||||
FROM staff_blog AS b LEFT JOIN users_main AS um ON b.UserID=um.ID
|
||||
ORDER BY Time DESC");
|
||||
$Blog = $DB->to_array();
|
||||
$Blog = $DB->to_array(false, MYSQLI_NUM);
|
||||
$Cache->cache_value('staff_blog', $Blog, 1209600);
|
||||
}
|
||||
if(($ReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
if (($SBlogReadTime = $Cache->get_value('staff_blog_read_'.$LoggedUser['ID'])) === false) {
|
||||
$DB->query("SELECT Time FROM staff_blog_visits WHERE UserID = ".$LoggedUser['ID']);
|
||||
if (list($ReadTime) = $DB->next_record()) {
|
||||
$ReadTime = strtotime($ReadTime);
|
||||
if (list($SBlogReadTime) = $DB->next_record()) {
|
||||
$SBlogReadTime = strtotime($SBlogReadTime);
|
||||
} else {
|
||||
$ReadTime = 0;
|
||||
$SBlogReadTime = 0;
|
||||
}
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'],$ReadTime,1209600);
|
||||
$Cache->cache_value('staff_blog_read_'.$LoggedUser['ID'], $SBlogReadTime, 1209600);
|
||||
}
|
||||
?>
|
||||
<ul class="stats nobullet">
|
||||
@ -70,9 +70,12 @@
|
||||
}
|
||||
for($i = 0; $i < $Limit; $i++) {
|
||||
list($BlogID, $Author, $Title, $Body, $BlogTime, $ThreadID) = $Blog[$i];
|
||||
$BlogTime = strtotime($BlogTime);
|
||||
?>
|
||||
<li>
|
||||
<?=($ReadTime < strtotime($BlogTime))?'<strong>':''?><?=($i + 1)?>. <a href="staffblog.php#blog<?=$BlogID?>"><?=$Title?></a><?=($ReadTime < strtotime($BlogTime))?'</strong>':''?>
|
||||
<?=($SBlogReadTime < $BlogTime) ? '<strong>' : ''?><?=($i + 1)?>.
|
||||
<a href="staffblog.php#blog<?=$BlogID?>"><?=$Title?></a>
|
||||
<?=($SBlogReadTime < $BlogTime)?'</strong>':''?>
|
||||
</li>
|
||||
<?
|
||||
}
|
||||
|
@ -234,7 +234,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="box box_votes">
|
||||
<div class="head"><strong>Top Contributors</strong></div>
|
||||
<div class="head"><strong>Top contributors</strong></div>
|
||||
<table class="layout">
|
||||
<? $VoteMax = ($VoteCount < 5 ? $VoteCount : 5);
|
||||
$ViewerVote = false;
|
||||
@ -285,7 +285,7 @@
|
||||
<? if($CategoryName == "Music") {
|
||||
if(!empty($RecordLabel)) { ?>
|
||||
<tr>
|
||||
<td class="label">Record Label</td>
|
||||
<td class="label">Record label</td>
|
||||
<td>
|
||||
<?=$RecordLabel?>
|
||||
</td>
|
||||
@ -293,39 +293,39 @@
|
||||
<? }
|
||||
if(!empty($CatalogueNumber)) { ?>
|
||||
<tr>
|
||||
<td class="label">Catalogue Number</td>
|
||||
<td class="label">Catalogue number</td>
|
||||
<td>
|
||||
<?=$CatalogueNumber?>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<td class="label">Release Type</td>
|
||||
<td class="label">Release type</td>
|
||||
<td>
|
||||
<?=$ReleaseName?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Bitrates</td>
|
||||
<td class="label">Acceptable bitrates</td>
|
||||
<td>
|
||||
<?=$BitrateString?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Formats</td>
|
||||
<td class="label">Acceptable formats</td>
|
||||
<td>
|
||||
<?=$FormatString?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Acceptable Media</td>
|
||||
<td class="label">Acceptable media</td>
|
||||
<td>
|
||||
<?=$MediaString?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if(!empty($LogCue)) { ?>
|
||||
<tr>
|
||||
<td class="label">Required CD FLAC only extra(s)</td>
|
||||
<td class="label">Required CD FLAC only extras</td>
|
||||
<td>
|
||||
<?=$LogCue?>
|
||||
</td>
|
||||
@ -358,23 +358,23 @@
|
||||
$GroupLink = Artists::display_artists($Group['ExtendedArtists']).'<a href="torrents.php?id='.$GroupID.'">'.$Group['Name'].'</a>';*/
|
||||
?>
|
||||
<tr>
|
||||
<td class="label">Torrent Group</td>
|
||||
<td class="label">Torrent group</td>
|
||||
<td><a href="torrents.php?id=<?=$GroupID?>">torrents.php?id=<?=$GroupID?></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<td class="label">Votes</td>
|
||||
<td>
|
||||
<span id="votecount"><?=$VoteCount?></span>
|
||||
<span id="votecount"><?=number_format($VoteCount)?></span>
|
||||
<? if($CanVote) { ?>
|
||||
<a href="javascript:Vote(0)"><strong>(+)</strong></a>
|
||||
<a href="javascript:Vote(0)" class="brackets"><strong>+</strong></a>
|
||||
<strong>Costs <?=Format::get_size($MinimumVote, 0)?></strong>
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($LastVote > $TimeAdded) { ?>
|
||||
<tr>
|
||||
<td class="label">Last Voted</td>
|
||||
<td class="label">Last voted</td>
|
||||
<td>
|
||||
<?=time_diff($LastVote)?>
|
||||
</td>
|
||||
@ -429,7 +429,7 @@
|
||||
<strong><a href="torrents.php?<?=(strtotime($TimeFilled)<$TimeCompare?'id=':'torrentid=').$TorrentID?>">Yes</a></strong>,
|
||||
by user <?=Users::format_username($FillerID, false, false, false)?>
|
||||
<? if($LoggedUser['ID'] == $RequestorID || $LoggedUser['ID'] == $FillerID || check_perms('site_moderate_requests')) { ?>
|
||||
<strong><a href="requests.php?action=unfill&id=<?=$RequestID?>">(Unfill)</a></strong> Unfilling a request without a valid, nontrivial reason will result in a warning.
|
||||
<strong><a href="requests.php?action=unfill&id=<?=$RequestID?>" class="brackets">Unfill</a></strong> Unfilling a request without a valid, nontrivial reason will result in a warning.
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -446,7 +446,7 @@
|
||||
<strong>Should be the permalink (PL) to the torrent (e.g. https://<?=SSL_SITE_URL?>/torrents.php?torrentid=xxxx).</strong>
|
||||
<br />
|
||||
<br />
|
||||
<? if(check_perms('site_moderate_requests')) { ?> For User: <input type="text" size="25" name="user" <?=(!empty($FillerUsername) ? "value='$FillerUsername' " : '')?>/>
|
||||
<? if(check_perms('site_moderate_requests')) { ?> For user: <input type="text" size="25" name="user" <?=(!empty($FillerUsername) ? "value='$FillerUsername' " : '')?>/>
|
||||
<br />
|
||||
<? } ?>
|
||||
<input type="submit" value="Fill request" />
|
||||
@ -463,7 +463,7 @@
|
||||
if($RequestLog) {
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2" class="center"><strong><a href="#" onclick="$('#request_log').toggle(); return false;">Request Log</a></strong></td>
|
||||
<td colspan="2" class="center"><strong><a href="#" onclick="$('#request_log').toggle(); return false;">Request log</a></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
|
@ -331,6 +331,23 @@
|
||||
<div class="header">
|
||||
<h2><?=$Title?></h2>
|
||||
</div>
|
||||
<div class="linkbox">
|
||||
<? if (!$BookmarkView) {
|
||||
if (check_perms('site_submit_requests')) { ?>
|
||||
<a href="requests.php?action=new" class="brackets">New request</a>
|
||||
<a href="requests.php?type=created" class="brackets">My requests</a>
|
||||
<? }
|
||||
if (check_perms('site_vote')) { ?>
|
||||
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
||||
<? } ?>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
||||
<? } else { ?>
|
||||
<a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
||||
<a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
||||
<a href="bookmarks.php?type=collages" class="brackets">Collages</a>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
<form class="search_form" name="requests" action="" method="get">
|
||||
<? if ($BookmarkView) { ?>
|
||||
<input type="hidden" name="action" value="view" />
|
||||
@ -469,23 +486,6 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="linkbox">
|
||||
<? if (!$BookmarkView) {
|
||||
if (check_perms('site_submit_requests')) { ?>
|
||||
<a href="requests.php?action=new" class="brackets">New request</a>
|
||||
<a href="requests.php?type=created" class="brackets">My requests</a>
|
||||
<? }
|
||||
if (check_perms('site_vote')) { ?>
|
||||
<a href="requests.php?type=voted" class="brackets">Requests I've voted on</a>
|
||||
<? } ?>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Bookmarked requests</a>
|
||||
<? } else { ?>
|
||||
<a href="bookmarks.php?type=torrents" class="brackets">Torrents</a>
|
||||
<a href="bookmarks.php?type=artists" class="brackets">Artists</a>
|
||||
<a href="bookmarks.php?type=collages" class="brackets">Collages</a>
|
||||
<a href="bookmarks.php?type=requests" class="brackets">Requests</a>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<? if($NumResults) { ?>
|
||||
<div class="linkbox">
|
||||
@ -611,13 +611,13 @@
|
||||
<td class="nobr">
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
<form class="add_form" name="request" id="form_<?=$RequestID?>" action="">
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
||||
<input type="hidden" id="requestid_<?=$RequestID?>" name="requestid" value="<?=$RequestID?>" />
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<a href="javascript:Vote(0, <?=$RequestID?>)"><strong>(+)</strong></a>
|
||||
<a href="javascript:Vote(0, <?=$RequestID?>)" class="brackets"><strong>+</strong></a>
|
||||
</form>
|
||||
<? } else { ?>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=$VoteCount?></span>
|
||||
<span id="vote_count_<?=$RequestID?>"><?=number_format($VoteCount)?></span>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td class="nobr">
|
||||
|
@ -451,7 +451,7 @@ foreach($Categories as $CatKey => $CatName) {
|
||||
<?=$Votes?>
|
||||
<? if(!$IsFilled && check_perms('site_vote')){ ?>
|
||||
<input type="hidden" id="auth" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
<a href="javascript:Vote()"><strong>(+)</strong></a>
|
||||
<a href="javascript:Vote()" class="brackets"><strong>+</strong></a>
|
||||
<? } ?>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -5,8 +5,10 @@
|
||||
error(403);
|
||||
}
|
||||
|
||||
$DB->query("INSERT INTO staff_blog_visits (UserID, Time) VALUES (".$LoggedUser['ID'].", NOW()) ON DUPLICATE KEY UPDATE Time=NOW()");
|
||||
$Cache->delete_value('staff_blog_read_'.$LoggedUser['ID']);
|
||||
|
||||
define('ANNOUNCEMENT_FORUM_ID', 19);
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
require(SERVER_ROOT.'/classes/class_text.php');
|
||||
$Text = new TEXT;
|
||||
|
||||
@ -50,8 +52,9 @@
|
||||
$Title = db_string($_POST['title']);
|
||||
$Body = db_string($_POST['body']);
|
||||
|
||||
$DB->query("INSERT INTO staff_blog (UserID, Title, Body, Time) VALUES ('$LoggedUser[ID]', '".db_string($_POST['title'])."', '".db_string($_POST['body'])."', '".sqltime()."')");
|
||||
$DB->query("INSERT INTO staff_blog (UserID, Title, Body, Time) VALUES ('$LoggedUser[ID]', '".db_string($_POST['title'])."', '".db_string($_POST['body'])."', NOW())");
|
||||
$Cache->delete_value('staff_blog');
|
||||
$Cache->delete_value('staff_blog_latest_time');
|
||||
|
||||
send_irc("PRIVMSG ".ADMIN_CHAN." :!blog " . $_POST['title']);
|
||||
|
||||
@ -59,7 +62,7 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
?>
|
||||
<div class="box thin">
|
||||
<div class="head">
|
||||
@ -88,11 +91,13 @@
|
||||
</div>
|
||||
<br />
|
||||
<?
|
||||
} else {
|
||||
View::show_header('Staff Blog','bbcode');
|
||||
}
|
||||
?>
|
||||
<div class="thin">
|
||||
<?
|
||||
if (!$Blog = $Cache->get_value('staff_blog')) {
|
||||
if (($Blog = $Cache->get_value('staff_blog')) === false) {
|
||||
$DB->query("SELECT
|
||||
b.ID,
|
||||
um.Username,
|
||||
@ -101,15 +106,13 @@
|
||||
b.Time
|
||||
FROM staff_blog AS b LEFT JOIN users_main AS um ON b.UserID=um.ID
|
||||
ORDER BY Time DESC");
|
||||
$Blog = $DB->to_array();
|
||||
$Cache->cache_value('Blog',$Blog,1209600);
|
||||
$Blog = $DB->to_array(false, MYSQLI_NUM);
|
||||
$Cache->cache_value('staff_blog', $Blog, 1209600);
|
||||
}
|
||||
|
||||
$DB->query("INSERT INTO staff_blog_visits (UserID, Time) VALUES (".$LoggedUser['ID'].", NOW()) ON DUPLICATE KEY UPDATE Time=NOW()");
|
||||
$Cache->delete_value('staff_blog_read_'.$LoggedUser['ID']);
|
||||
|
||||
foreach ($Blog as $BlogItem) {
|
||||
list($BlogID, $Author, $Title, $Body, $BlogTime) = $BlogItem;
|
||||
$BlogTime = strtotime($BlogTime);
|
||||
?>
|
||||
<div id="blog<?=$BlogID?>" class="box">
|
||||
<div class="head">
|
||||
|
@ -17,7 +17,7 @@
|
||||
<table>
|
||||
<tr class="colhead">
|
||||
<th>Username</th>
|
||||
<th>Receiving bitcoin address</th>
|
||||
<th>Receiving Bitcoin address</th>
|
||||
<th>Amount</th>
|
||||
</tr>
|
||||
<?
|
||||
|
@ -11,7 +11,8 @@
|
||||
"Already Implemented",
|
||||
"Already Rejected Suggestion/Against The Rules",
|
||||
"Awful Suggestion",
|
||||
"Suggestion"
|
||||
"Suggestion",
|
||||
"Approved Suggestion"
|
||||
)?>
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<? while(list($ID, $Name, $Comment, $UserID, $DNUTime) = $DB->next_record()){ ?>
|
||||
<tr>
|
||||
<form class="manage_form" class="dnu" action="tools.php" method="post">
|
||||
<form class="manage_form dnu" action="tools.php" method="post">
|
||||
<td>
|
||||
<input type="hidden" name="action" value="dnu_alter" />
|
||||
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
||||
@ -36,7 +36,8 @@
|
||||
</td>
|
||||
<td>
|
||||
<?=Users::format_username($UserID, false, false, false)?><br />
|
||||
<?=time_diff($DNUTime, 1)?></td>
|
||||
<?=time_diff($DNUTime, 1)?>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" name="submit" value="Edit" />
|
||||
<input type="submit" name="submit" value="Delete" />
|
||||
|
@ -168,7 +168,7 @@
|
||||
?>
|
||||
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$PrimaryTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCatOffset]))?> tags_<?=str_replace('.','_',$PrimaryTag)?>"></div></td>
|
||||
<td>
|
||||
<span><?=($GroupID ? '[ <a href="torrents.php?action=download&id='.$TorrentID.'&authkey='.$LoggedUser['AuthKey'].'&torrent_pass='.$LoggedUser['torrent_pass'].' title="Download">DL</a> ]' : '(Deleted)')?></span>
|
||||
<span><?=($GroupID ? '<a href="torrents.php?action=download&id='.$TorrentID.'&authkey='.$LoggedUser['AuthKey'].'&torrent_pass='.$LoggedUser['torrent_pass'].' title="Download" class="brackets">DL</a>' : '(Deleted)')?></span>
|
||||
<?=$DisplayName?>
|
||||
<?=$TorrentTags?>
|
||||
</td>
|
||||
|
@ -156,6 +156,7 @@ function js_pages($Action, $TorrentID, $NumResults, $CurrentPage) {
|
||||
|
||||
case 'notify_clear':
|
||||
case 'notify_clear_item':
|
||||
case 'notify_clear_items':
|
||||
case 'notify_clearitem':
|
||||
case 'notify_clear_filter':
|
||||
case 'notify_cleargroup':
|
||||
|
@ -195,7 +195,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
<form class="manage_form" name="torrents" id="notificationform_<?=$FilterID?>" action="">
|
||||
<table class="torrent_table cats checkboxes border">
|
||||
<tr class="colhead">
|
||||
<td style="text-align: center"><input type="checkbox" name="toggle" onclick="ToggleBoxes(this.form, this.checked)" /></td>
|
||||
<td style="text-align: center"><input type="checkbox" name="toggle" onclick="toggleBoxes(<?=$FilterID?>, this.checked)" /></td>
|
||||
<td class="small cats_col"></td>
|
||||
<td style="width:100%;">Name<?=$TorrentCount <= NOTIFICATIONS_MAX_SLOWSORT ? ' / <a href="'.header_link('year').'">Year</a>' : ''?></td>
|
||||
<td>Files</td>
|
||||
@ -265,7 +265,7 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
// print row
|
||||
?>
|
||||
<tr class="torrent torrent_row<?=($TorrentInfo['IsSnatched'] ? ' snatched_torrent' : '') . ($GroupInfo['Flags']['IsSnatched'] ? ' snatched_group' : '')?>" id="torrent<?=$TorrentID?>"<?=$MatchingArtistsText ? 'title="'.display_str($MatchingArtistsText).'"' : ''?>>
|
||||
<td style="text-align: center"><input type="checkbox" value="<?=$TorrentID?>" id="clear_<?=$TorrentID?>" /></td>
|
||||
<td style="text-align: center"><input type="checkbox" class="notify_box notify_box_<?=$FilterID?>" value="<?=$TorrentID?>" id="clear_<?=$TorrentID?>" /></td>
|
||||
<td class="center cats_col"><div title="<?=ucfirst(str_replace('_',' ',$MainTag))?>" class="cats_<?=strtolower(str_replace(array('-',' '),array('',''),$Categories[$GroupCategoryID-1])).' tags_'.str_replace('.','_',$MainTag)?>"></div></td>
|
||||
<td>
|
||||
<span>
|
||||
|
@ -15,6 +15,20 @@
|
||||
$Cache->delete_value('notifications_new_'.$LoggedUser['ID']);
|
||||
break;
|
||||
|
||||
case 'notify_clear_items':
|
||||
if(!isset($_GET['torrentids'])) {
|
||||
error(0);
|
||||
}
|
||||
$TorrentIDs = explode(',', $_GET['torrentids']);
|
||||
foreach ($TorrentIDs as $TorrentID) {
|
||||
if (!is_number($TorrentID)) {
|
||||
error(0);
|
||||
}
|
||||
}
|
||||
$DB->query("DELETE FROM users_notify_torrents WHERE UserID = $LoggedUser[ID] AND TorrentID IN ($_GET[torrentids])");
|
||||
$Cache->delete_value('notifications_new_'.$LoggedUser['ID']);
|
||||
break;
|
||||
|
||||
case 'notify_clear_filter':
|
||||
case 'notify_cleargroup':
|
||||
if(!isset($_GET['filterid']) || !is_number($_GET['filterid'])) {
|
||||
|
@ -227,7 +227,7 @@
|
||||
<tr class="group_torrent groupid_<?=$CollageID . $GroupID?> edition_<?=$EditionID?> hidden<?=$SnatchedTorrentClass . $SnatchedGroupClass?>">
|
||||
<td colspan="<?=($LoggedUser['HideCollage']?'2':'3')?>">
|
||||
<span>
|
||||
[ <a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download">DL</a> ]
|
||||
<a href="torrents.php?action=download&id=<?=$TorrentID?>&authkey=<?=$LoggedUser['AuthKey']?>&torrent_pass=<?=$LoggedUser['torrent_pass']?>" title="Download" class="brackets">DL</a>
|
||||
</span>
|
||||
» <a href="torrents.php?id=<?=$GroupID?>&torrentid=<?=$TorrentID?>"><?=Torrents::torrent_info($Torrent)?></a>
|
||||
</td>
|
||||
|
@ -71,7 +71,7 @@
|
||||
<input value="Search" type="submit" class="hidden" />
|
||||
</form>
|
||||
<br style="line-height:10px;" />
|
||||
<strong><a href="wiki.php?action=browse">Browse articles</a></strong>
|
||||
<strong><a href="wiki.php?action=browse" class="brackets">Browse articles</a></strong>
|
||||
</div>
|
||||
<div class="box box_info pad">
|
||||
<ul>
|
||||
|
@ -1,9 +1,38 @@
|
||||
function Clear(torrentid) {
|
||||
ajax.get("?action=notify_clear_item&torrentid=" + torrentid + "&auth=" + authkey, function() {
|
||||
$("#torrent" + torrentid).remove();
|
||||
function clearItem(torrentId) {
|
||||
ajax.get("?action=notify_clear_item&torrentid=" + torrentId + "&auth=" + authkey, function() {
|
||||
$("#torrent" + torrentId).remove();
|
||||
});
|
||||
}
|
||||
|
||||
function clearSelected(filterId) {
|
||||
var checkBoxes, checkedBoxes = [];
|
||||
if (filterId) {
|
||||
var filterForm = $('#notificationform_'+filterId).raw();
|
||||
checkBoxes = $('.notify_box_'+filterId, filterForm).objects;
|
||||
} else {
|
||||
checkBoxes = $('.notify_box').objects;
|
||||
}
|
||||
for (var i = checkBoxes.length - 1; i >= 0; i--) {
|
||||
if (checkBoxes[i].checked) {
|
||||
checkedBoxes.push(checkBoxes[i].value);
|
||||
}
|
||||
}
|
||||
ajax.get("?action=notify_clear_items&torrentids=" + checkedBoxes.join(',') + "&auth=" + authkey, function() {
|
||||
for (var i = checkedBoxes.length - 1; i >= 0; i--) {
|
||||
$('#torrent' + checkedBoxes[i]).remove();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function toggleBoxes(filterId, value) {
|
||||
var filterForm = $('#notificationform_'+filterId).raw();
|
||||
var checkBoxes = $('.notify_box_'+filterId, filterForm).objects;
|
||||
for (var i = checkBoxes.length - 1; i >= 0; i--) {
|
||||
checkBoxes[i].checked = value;
|
||||
}
|
||||
}
|
||||
|
||||
/* Remove these */
|
||||
function GroupClear(form) {
|
||||
for (var i = 0; i < form.elements.length; i++ ) {
|
||||
if (form.elements[i].type == 'checkbox' && form.elements[i].name != 'toggle') {
|
||||
@ -14,14 +43,6 @@ function GroupClear(form) {
|
||||
}
|
||||
}
|
||||
|
||||
function ToggleBoxes(form, newval) {
|
||||
for (var i = 0; i < form.elements.length; i++ ) {
|
||||
if (form.elements[i].type == 'checkbox' && form.elements[i].name != 'toggle') {
|
||||
form.elements[i].checked = newval;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function SuperGroupClear() {
|
||||
for (var i = 0; i < document.forms.length; i++ ) {
|
||||
GroupClear(document.forms[i]);
|
||||
|
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 671 KiB |
Before Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 210 B |
Before Width: | Height: | Size: 723 B |
Before Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 696 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 127 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 502 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 744 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_apps.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_audiobook.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_comedy.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_ebook.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_learning.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_music.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/styles/minimal/images/icons/minimal_mod_alt_shield.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_balloon.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_balloon_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.0 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_lock.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_lock_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sprite.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sticky.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
static/styles/minimal/images/minimal_mod_alt_sticky_unread.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
static/styles/minimal/images/minimal_mod_sprite.png
Normal file
After Width: | Height: | Size: 11 KiB |
@ -138,7 +138,7 @@ textarea#quickpost{margin:0; padding:0}
|
||||
top: 1em;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
background: #262626 url(/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
border: 1px solid #757575;
|
||||
margin-top: 12px;
|
||||
white-space: nowrap;
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* inline-block might not work in ie7 */
|
||||
|
||||
/* GLOBAL */
|
||||
body{background:#262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x; color:#F1F1F1; font-family:Arial,sans-serif; font-size:11px; margin:0}
|
||||
body{background:#262626 url(/static/styles/minimal/images/bg.png) repeat-x; color:#F1F1F1; font-family:Arial,sans-serif; font-size:11px; margin:0}
|
||||
h1, h2, h3, h4{margin-top:0; padding:0}
|
||||
a, a:visited, a:active{color:#5AF; text-decoration:none}
|
||||
a:hover{color:#49D; text-decoration:underline}
|
||||
@ -10,7 +10,7 @@ p{margin:0px 0 5px 0}
|
||||
td p{margin:0}
|
||||
input, select, textarea{color:#F1F1F1; padding:3px; background:#262626; border:1px solid #9C9C9C; font-family:Arial,sans-serif; font-size:11px; }
|
||||
input:focus, textarea:focus{border:1px solid #CCC}
|
||||
blockquote{background:transparent url(https://what.cd/static/styles/minimal/images/blockquote.png) repeat; padding:5px; margin:10px; color:#F1F1F1 !important}
|
||||
blockquote{background:transparent url(/static/styles/minimal/images/blockquote.png) repeat; padding:5px; margin:10px; color:#F1F1F1 !important}
|
||||
input[type="submit"]:focus, input[type="button"]:focus{background:#333}
|
||||
input[type="submit"]:active, input[type="button"]:active{background:#5AF}
|
||||
select{padding:1px}
|
||||
@ -54,7 +54,7 @@ textarea#quickpost{margin:0; padding:0}
|
||||
#userinfo_username li:first-child, #userinfo_major li:first-child, #userinfo_minor li:first-child, #userinfo_username li:first-child:hover, #userinfo_major li:first-child:hover, #userinfo_minor li:first-child:hover,
|
||||
#userinfo_username li:first-child a, #userinfo_username li:first-child a:hover, #userinfo_minor li:first-child a, #userinfo_minor li:first-child a:hover,
|
||||
#userinfo_major li:first-child a, #userinfo_major li:first-child a:hover,
|
||||
.show_torrents, .hide_torrents {background-image:url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png)}
|
||||
.show_torrents, .hide_torrents {background-image:url(/static/styles/minimal/images/minimal_mod_sprite.png)}
|
||||
|
||||
/* userinfo start */
|
||||
#userinfo{z-index:3}
|
||||
@ -105,18 +105,18 @@ textarea#quickpost{margin:0; padding:0}
|
||||
#userinfo_stats .stat{color:#5AF}
|
||||
|
||||
/* greasemonkey replacements */
|
||||
#userinfo_username>li:first-child + li>a{ background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -322px;}
|
||||
#userinfo_username>li:first-child + li + li>a{ background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -679px; }
|
||||
#userinfo_username>li:first-child + li>a{ background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -322px;}
|
||||
#userinfo_username>li:first-child + li + li>a{ background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -679px; }
|
||||
|
||||
#userinfo_minor>li:first-child + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -918px; }
|
||||
#userinfo_minor>li:first-child + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -872px; }
|
||||
#userinfo_minor>li:first-child + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -83px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -276px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -958px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -633px; }
|
||||
#userinfo_minor>li:first-child + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -918px; }
|
||||
#userinfo_minor>li:first-child + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -872px; }
|
||||
#userinfo_minor>li:first-child + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -83px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -276px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -958px; }
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -633px; }
|
||||
|
||||
#userinfo_major>li:first-child + li>strong>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -230px; }
|
||||
#userinfo_major>li:first-child + li + li>strong>a { background: transparent no-repeat url(http://dl.dropbox.com/u/144652/forums/what.cd/styles/Minimal_Mod/sprite.png) 0 -725px; }
|
||||
#userinfo_major>li:first-child + li>strong>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -230px; }
|
||||
#userinfo_major>li:first-child + li + li>strong>a { background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_sprite.png) 0 -725px; }
|
||||
|
||||
/* alerts */
|
||||
#alerts{position:absolute; top:75px; left:0px; z-index:1; font-weight:bold; font-size: 10px; color:#FFF; text-transform: uppercase;}
|
||||
@ -218,18 +218,18 @@ table tr.colhead_dark td{background:#555; border:0}
|
||||
.forum_unread .colhead_dark{background-color:#e3f1f9 !important; /*border:2px solid #a8d3ec !important; */}
|
||||
#forums table.forum_unread tr.colhead_dark td{background: #3A638C}
|
||||
|
||||
.last_read { width: 15px; height: 15px; background: url(https://what.cd/static/styles/minimal/images/go_last_read.png) no-repeat center center; margin-left: 5px; margin-left: 5px;}
|
||||
.last_read { width: 15px; height: 15px; background: url(/static/styles/minimal/images/go_last_read.png) no-repeat center center; margin-left: 5px; margin-left: 5px;}
|
||||
.last_read a { border: none; width: 100%; height: 100%; display: block; }
|
||||
.last_read a:hover { border: none; }
|
||||
|
||||
#forums #content .thin td.read{background:#373737 url(https://what.cd/static/styles/minimal/images/balloon.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread{background:#373737 url(https://what.cd/static/styles/minimal/images/balloon-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked{background:#373737 url(https://what.cd/static/styles/minimal/images/lock.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked_sticky{background:#373737 url(https://what.cd/static/styles/minimal/images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read{background:#373737 url(/static/styles/minimal/images/balloon.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread{background:#373737 url(/static/styles/minimal/images/balloon-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_sticky{background:#373737 url(/static/styles/minimal/images/sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_sticky{background:#373737 url(/static/styles/minimal/images/sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked{background:#373737 url(/static/styles/minimal/images/lock.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked{background:#373737 url(/static/styles/minimal/images/lock-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.read_locked_sticky{background:#373737 url(/static/styles/minimal/images/lock-sticky.png) no-repeat 50%; width:18px; height:18px}
|
||||
#forums #content .thin td.unread_locked_sticky{background:#373737 url(/static/styles/minimal/images/lock-sticky-unread.png) no-repeat 50%; width:18px; height:18px}
|
||||
|
||||
/* log checker fix */
|
||||
#logchecker input[type="file"]{color:#fff}
|
||||
@ -383,9 +383,9 @@ table tr.colhead_dark td{background:#555; border:0}
|
||||
.poll li{clear:both}
|
||||
.poll .graph{padding:0 0 15px 0}
|
||||
.poll .graph span{display:block; height:19px; float:left}
|
||||
.poll .graph #left_poll{width:9px; background:url(https://what.cd/static/styles/minimal/images/poll_left.png) top left no-repeat}
|
||||
.poll .graph #center_poll{background:url(https://what.cd/static/styles/minimal/images/poll_middle.png) top left repeat-x}
|
||||
.poll .graph #right_poll{width:11px; background:url(https://what.cd/static/styles/minimal/images/poll_right.png) top left no-repeat}
|
||||
.poll .graph #left_poll{width:9px; background:url(/static/styles/minimal/images/poll_left.png) top left no-repeat}
|
||||
.poll .graph #center_poll{background:url(/static/styles/minimal/images/poll_middle.png) top left repeat-x}
|
||||
.poll .graph #right_poll{width:11px; background:url(/static/styles/minimal/images/poll_right.png) top left no-repeat}
|
||||
|
||||
/* MISC */
|
||||
.r00{color:#F00}
|
||||
@ -458,13 +458,13 @@ h3{margin:10px 0}
|
||||
#rules #content li{margin:0 0 5px 0}
|
||||
|
||||
/* ICONS */
|
||||
.cats_music{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/music.png) top left no-repeat}
|
||||
.cats_applications{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/apps.png) top left no-repeat}
|
||||
.cats_ebooks{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/ebook.png) top left no-repeat}
|
||||
.cats_audiobooks{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/audiobook.png) top left no-repeat}
|
||||
.cats_elearningvideos{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/elearning.png) top left no-repeat}
|
||||
.cats_comedy{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/comedy.png) top left no-repeat}
|
||||
.cats_comics{width:30px; height:30px; background:url(https://what.cd/static/styles/minimal/images/icons/comics.png) top left no-repeat}
|
||||
.cats_music{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/music.png) top left no-repeat}
|
||||
.cats_applications{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/apps.png) top left no-repeat}
|
||||
.cats_ebooks{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/ebook.png) top left no-repeat}
|
||||
.cats_audiobooks{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/audiobook.png) top left no-repeat}
|
||||
.cats_elearningvideos{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/elearning.png) top left no-repeat}
|
||||
.cats_comedy{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/comedy.png) top left no-repeat}
|
||||
.cats_comics{width:30px; height:30px; background:url(/static/styles/minimal/images/icons/comics.png) top left no-repeat}
|
||||
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
|
@ -43,7 +43,7 @@ input:focus,textarea:focus {
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: transparent url(https://what.cd/static/styles/minimal/images/blockquote.png) repeat;
|
||||
background: transparent url(/static/styles/minimal/images/blockquote.png) repeat;
|
||||
color: #f1f1f1!important;
|
||||
border: 1px #000 dotted;
|
||||
margin: 10px;
|
||||
@ -177,7 +177,7 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#userinfo_username li:first-child,#userinfo_major li:first-child,#userinfo_minor li:first-child,#userinfo_username li:first-child:hover,#userinfo_major li:first-child:hover,#userinfo_minor li:first-child:hover,#userinfo_username li:first-child a,#userinfo_username li:first-child a:hover,#userinfo_minor li:first-child a,#userinfo_minor li:first-child a:hover,#userinfo_major li:first-child a,#userinfo_major li:first-child a:hover,.show_torrents,.hide_torrents {
|
||||
background-image: url(http://emblym.info/css/sprite.png);
|
||||
background-image: url(/static/styles/minimal/images/minimal_mod_alt_sprite.png);
|
||||
}
|
||||
|
||||
#userinfo {
|
||||
@ -337,51 +337,51 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#userinfo_username>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -322px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -322px;
|
||||
}
|
||||
|
||||
#userinfo_username>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -679px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -679px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -129px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -129px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -918px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -918px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -871px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -871px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -83px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -83px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -276px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -276px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -958px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -958px;
|
||||
}
|
||||
|
||||
#userinfo_minor>li:first-child + li + li + li + li + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -633px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -633px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -230px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -230px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -755px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -755px;
|
||||
}
|
||||
|
||||
#userinfo_major>li:first-child + li + li + li>a {
|
||||
background: transparent no-repeat url(http://emblym.info/css/sprite.png) 0 -725px;
|
||||
background: transparent no-repeat url(/static/styles/minimal/images/minimal_mod_alt_sprite.png) 0 -725px;
|
||||
}
|
||||
|
||||
#alerts {
|
||||
@ -444,7 +444,7 @@ textarea.wbbarea {
|
||||
}
|
||||
|
||||
#searchbars ul li ul {
|
||||
background: #262626 url(https://what.cd/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
background: #262626 url(/static/styles/minimal/images/bg.png) repeat-x 0 -3px;
|
||||
border: 1px solid #757575;
|
||||
display: block;
|
||||
left: 0;
|
||||
@ -685,7 +685,7 @@ table tr.colhead_dark td {
|
||||
}
|
||||
|
||||
.last_read {
|
||||
background: url(http://f.cl.ly/items/0X3l2s1g0d1T0e311A3r/new.png) no-repeat center center;
|
||||
background: url(/static/styles/minimal/images/minimal_mod_alt_new.png) no-repeat center center;
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
margin-left: 10px;
|
||||
@ -703,49 +703,49 @@ table tr.colhead_dark td {
|
||||
}
|
||||
|
||||
#forums #content .thin td.read {
|
||||
background: #373737 url(http://f.cl.ly/items/1P1C3A1n3w242G0E2Z2V/balloon.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_balloon.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread {
|
||||
background: #373737 url(http://f.cl.ly/items/1T1S0L2G1C0T2Y1D2g2H/balloon_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_balloon_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/0D2l3W3r0J0h1E081O46/sticky.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_sticky.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/351i3y1t0M0014313q0e/sticky_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_sticky_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_locked {
|
||||
background: #373737 url(http://f.cl.ly/items/2F2u2g0D062w0K1I2N35/lock.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_locked {
|
||||
background: #373737 url(http://f.cl.ly/items/2Y2a3e0a202K243e3d26/lock_unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock_unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.read_locked_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/3B3N1Z3J3X1T3J1W2t0r/lock-sticky-unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock-sticky-unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
#forums #content .thin td.unread_locked_sticky {
|
||||
background: #373737 url(http://f.cl.ly/items/3B3N1Z3J3X1T3J1W2t0r/lock-sticky-unread.png) no-repeat 50%;
|
||||
background: #373737 url(/static/styles/minimal/images/minimal_mod_alt_lock-sticky-unread.png) no-repeat 50%;
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
@ -1080,25 +1080,25 @@ forum_post box vertical_margin {
|
||||
.poll {
|
||||
list-style: none;
|
||||
padding: 10px;
|
||||
margin: 5px
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.poll li {
|
||||
clear: both
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.poll .graph {
|
||||
padding: 0 0 15px 0
|
||||
padding: 0 0 15px 0;
|
||||
}
|
||||
|
||||
.poll .graph span {
|
||||
display: block;
|
||||
height: 19px;
|
||||
float: left
|
||||
float: left;
|
||||
}
|
||||
|
||||
.poll .graph .center_poll {
|
||||
background: url(https://what.cd/static/styles/minimal/images/poll_middle.png) top left repeat-x
|
||||
background: url(/static/styles/minimal/images/poll_middle.png) top left repeat-x;
|
||||
}
|
||||
|
||||
.r00 {
|
||||
@ -1302,43 +1302,43 @@ h3 {
|
||||
}
|
||||
|
||||
.cats_music {
|
||||
background: url(http://f.cl.ly/items/140a1Y2W2t3z3o1g1E0r/music.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_music.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_applications {
|
||||
background: url(http://f.cl.ly/items/1Z350I2E1Y0r1M141g1g/apps.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_apps.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_ebooks {
|
||||
background: url(http://f.cl.ly/items/3H0M2Z2Q22312r2K073S/ebook.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_ebook.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_audiobooks {
|
||||
background: url(http://f.cl.ly/items/0o2I2W2I2k3V0L3i1Q0k/audiobook.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_audiobook.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_elearningvideos {
|
||||
background: url(http://f.cl.ly/items/3G1B0M392r1j1F073T3W/learning.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_learning.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_comedy {
|
||||
background: url(http://f.cl.ly/items/1i3N0z1T2n2T3X13160H/comedy.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_comedy.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|
||||
.cats_comics {
|
||||
background: url(http://f.cl.ly/items/1M2l2c3f0A2u1q20153j/shield.png) top left no-repeat;
|
||||
background: url(/static/styles/minimal/images/icons/minimal_mod_alt_shield.png) top left no-repeat;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
}
|
||||
|