mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 19:06:27 +00:00
Empty commit
This commit is contained in:
parent
91657d8624
commit
ba19d68c78
@ -480,7 +480,7 @@ public static function filelist_delim() {
|
||||
*/
|
||||
public static function filelist_format_file($File) {
|
||||
list($Size, $Name) = $File;
|
||||
$Name = Format::make_utf8($Name);
|
||||
$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());
|
||||
|
@ -111,6 +111,11 @@
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
<? if (check_perms('users_mod') || check_perms("site_mark_suggestions")) { ?>
|
||||
<a href="tools.php?action=suggestions" class="brackets">Scoreboard</a>
|
||||
<? } ?>
|
||||
|
||||
|
||||
<?
|
||||
/*
|
||||
if(check_perms('users_mod')) {
|
||||
|
@ -25,6 +25,7 @@
|
||||
</div>
|
||||
|
||||
<?if($_GET['view'] == "scoreboard" || empty($_GET['view'])) { ?>
|
||||
<div id="marked_suggestion">
|
||||
<h3>Marked</h3>
|
||||
<table>
|
||||
<tr class="colhead">
|
||||
@ -46,6 +47,8 @@
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
</div>
|
||||
<div id="implemented_suggestion">
|
||||
<h3>Implemented</h3>
|
||||
<table>
|
||||
<tr class="colhead">
|
||||
@ -68,6 +71,8 @@
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
</div>
|
||||
<div id="rejected_suggestion">
|
||||
<h3>Rejected</h3>
|
||||
<table>
|
||||
<tr class="colhead">
|
||||
@ -90,6 +95,7 @@
|
||||
</tr>
|
||||
<? }?>
|
||||
</table>
|
||||
</div>
|
||||
<?
|
||||
}
|
||||
elseif ($_GET['view'] == "marked") {
|
||||
|
@ -101,7 +101,7 @@ function generate_tag_table($Caption, $Tag, $Details, $Limit, $ShowVotes=true, $
|
||||
}
|
||||
?>
|
||||
<h3>Top <?=$Limit.' '.$Caption?>
|
||||
<small>
|
||||
<small class="top10_quantity_links">
|
||||
<?
|
||||
switch($Limit) {
|
||||
case 100: ?>
|
||||
@ -125,10 +125,10 @@ function generate_tag_table($Caption, $Tag, $Details, $Limit, $ShowVotes=true, $
|
||||
<tr class="colhead">
|
||||
<td class="center">Rank</td>
|
||||
<td>Tag</td>
|
||||
<td style="text-align:right">Uses</td>
|
||||
<td style="text-align: right;">Uses</td>
|
||||
<? if($ShowVotes) { ?>
|
||||
<td style="text-align:right">Pos. votes</td>
|
||||
<td style="text-align:right">Neg. votes</td>
|
||||
<td style="text-align: right;">Pos. votes</td>
|
||||
<td style="text-align: right;">Neg. votes</td>
|
||||
<? } ?>
|
||||
</tr>
|
||||
<?
|
||||
@ -153,10 +153,10 @@ function generate_tag_table($Caption, $Tag, $Details, $Limit, $ShowVotes=true, $
|
||||
<tr class="row<?=$Highlight?>">
|
||||
<td class="center"><?=$Rank?></td>
|
||||
<td><a href="<?=$URLString?><?=$Detail['Name']?>"><?=$Detail['Name']?></a></td>
|
||||
<td style="text-align:right"><?=$Detail['Uses']?></td>
|
||||
<td style="text-align: right;"><?=number_format($Detail['Uses'])?></td>
|
||||
<? if($ShowVotes) { ?>
|
||||
<td style="text-align:right"><?=$Detail['PosVotes']?></td>
|
||||
<td style="text-align:right"><?=$Detail['NegVotes']?></td>
|
||||
<td style="text-align: right;"><?=number_format($Detail['PosVotes'])?></td>
|
||||
<td style="text-align: right;"><?=number_format($Detail['NegVotes'])?></td>
|
||||
<? } ?>
|
||||
</tr>
|
||||
<?
|
||||
|
@ -349,7 +349,7 @@ function generate_torrent_table($Caption, $Tag, $Details, $Limit) {
|
||||
?>
|
||||
<h3>Top <?=$Limit.' '.$Caption?>
|
||||
<? if(empty($_GET['advanced'])){ ?>
|
||||
<small>
|
||||
<small class="top10_quantity_links">
|
||||
<?
|
||||
switch($Limit) {
|
||||
case 100: ?>
|
||||
|
@ -101,7 +101,7 @@ function generate_user_table($Caption, $Tag, $Details, $Limit) {
|
||||
global $Time;
|
||||
?>
|
||||
<h3>Top <?=$Limit.' '.$Caption;?>
|
||||
<small>
|
||||
<small class="top10_quantity_links">
|
||||
<?
|
||||
switch($Limit) {
|
||||
case 100: ?>
|
||||
|
@ -136,7 +136,7 @@
|
||||
<h3>Top <?=$Limit.' '.$Caption?>
|
||||
<?
|
||||
if(empty($_GET['advanced'])){ ?>
|
||||
<small>
|
||||
<small class="top10_quantity_links">
|
||||
<?
|
||||
switch($Limit) {
|
||||
case 100: ?>
|
||||
@ -227,7 +227,7 @@
|
||||
<? } ?>
|
||||
<?=$TorrentTags?>
|
||||
</td>
|
||||
<td colspan="4" class="votes_info_td"><strong><?=$Ups?></strong> upvotes out of <strong><?=$Total?></strong> total (<span title="Score: <?=round($Score*100,4)?>">Score: <?=round($Score*100)?></span>).</td>
|
||||
<td colspan="4" class="votes_info_td"><strong><?=number_format($Ups)?></strong> upvotes out of <strong><?=number_format($Total)?></strong> total (<span title="Score: <?=number_format($Score*100,4)?>">Score: <?=number_format($Score*100)?></span>).</td>
|
||||
</tr>
|
||||
<?
|
||||
$LastRemasterYear = '-';
|
||||
|
@ -249,14 +249,14 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
|
||||
$TagLinks = array();
|
||||
if ($GroupInfo['TagList'] != '') {
|
||||
$TorrentTags = explode(' ', $GroupInfo['TagList']);
|
||||
$MainTag = $TorrentTags[0];
|
||||
foreach ($TorrentTags as $TagKey => $TagName) {
|
||||
$TagName = str_replace('_', '.', $TagName);
|
||||
$TagLinks[] = '<a href="torrents.php?taglist='.$TagName.'">'.$TagName.'</a>';
|
||||
$TorrentTags = array();
|
||||
$TagList = explode(' ', $GroupInfo['TagList']);
|
||||
$MainTag = $TagList[0];
|
||||
foreach ($TagList as $Tag) {
|
||||
$Tag = str_replace('_', '.', $Tag);
|
||||
$TorrentTags[] = '<a href="torrents.php?taglist='.$Tag.'">'.$Tag.'</a>';
|
||||
}
|
||||
$TagLinks = implode(', ', $TagLinks);
|
||||
$TorrentTags = '<br /><div class="tags">'.$TagLinks.'</div>';
|
||||
$TorrentTags = implode(', ', $TorrentTags);
|
||||
} else {
|
||||
$TorrentTags = '';
|
||||
$MainTag = $Categories[$GroupCategoryID-1];
|
||||
@ -275,11 +275,14 @@ function header_link($SortKey, $DefaultWay = "desc") {
|
||||
<? } ?>
|
||||
| <a href="#" onclick="Clear(<?=$TorrentID?>);return false;" title="Remove from notifications list">CL</a> ]
|
||||
</span>
|
||||
<strong><?=$DisplayName?></strong> <?=$ExtraInfo?>
|
||||
<strong><?=$DisplayName?></strong>
|
||||
<div class="torrent_info">
|
||||
<?=$ExtraInfo?>
|
||||
<? if ($Result['UnRead']) {
|
||||
echo '<strong class="new">New!</strong>';
|
||||
} ?>
|
||||
<?=$TorrentTags?>
|
||||
</div>
|
||||
<div class="tags"><?=$TorrentTags?></div>
|
||||
</td>
|
||||
<td><?=$TorrentInfo['FileCount']?></td>
|
||||
<td style="text-align:right" class="nobr"><?=time_diff($TorrentInfo['Time'])?></td>
|
||||
|
@ -10,11 +10,15 @@
|
||||
<div class="box" id="votes">
|
||||
<div class="head"><strong>Album votes</strong></div>
|
||||
<div class="album_votes body">
|
||||
This has <span id="upvotes" class="favoritecount"><?=$UpVotes?></span> <?=(($UpVotes==1)?'upvote':'upvotes')?> out of <span id="totalvotes" class="favoritecount"><?=$TotalVotes?></span> total<span id="upvoted" <?=($Voted!='Up'?'class="hidden"':'')?>>, including your upvote</span><span id="downvoted" <?=($Voted!='Down'?'class="hidden"':'')?>>, including your downvote</span>.
|
||||
This has <span id="upvotes" class="favoritecount"><?=number_format($UpVotes)?></span> <?=(($UpVotes==1) ? 'upvote' : 'upvotes')?> out of <span id="totalvotes" class="favoritecount"><?=number_format($TotalVotes)?></span> total<span id="upvoted"<?=(($Voted!='Up') ? ' class="hidden"' : '')?>>, including your upvote</span><span id="downvoted"<?=(($Voted!='Down') ? ' class="hidden"' : '')?>>, including your downvote</span>.
|
||||
<br /><br />
|
||||
<? if (check_perms('site_album_votes')) { ?>
|
||||
<span <?=($Voted?'class="hidden"':'')?> id="vote_message"><a href="#" class="upvote" onclick="UpVoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;">Upvote</a> - <a href="#" class="downvote" onclick="DownVoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;">Downvote</a></span>
|
||||
<span<?=($Voted ? ' class="hidden"' : '')?> id="vote_message"><a href="#" class="brackets upvote" onclick="UpVoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;">Upvote</a> - <a href="#" class="brackets downvote" onclick="DownVoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;">Downvote</a></span>
|
||||
<? } ?>
|
||||
<span <?=($Voted?'':'class="hidden"')?> id="unvote_message">Changed your mind?<br /><a href="#" onclick="UnvoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;">Clear your vote</a></span>
|
||||
<span<?=($Voted ? '' : ' class="hidden"')?> id="unvote_message">
|
||||
Changed your mind?
|
||||
<br />
|
||||
<a href="#" onclick="UnvoteGroup(<?=$GroupID?>, '<?=$LoggedUser['AuthKey']?>'); return false;" class="brackets">Clear your vote</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -158,8 +158,8 @@
|
||||
<div class="thin">
|
||||
<div class="header">
|
||||
<h2>Email history for <a href="user.php?id=<?=$UserID ?>"><?=$Username ?></a></h2>
|
||||
<div class=" linkbox center">
|
||||
<a href="userhistory.php?action=email&userid=<?=$UserID?>"><strong>Old email history</strong></a>
|
||||
<div class="linkbox center">
|
||||
<a href="userhistory.php?action=email&userid=<?=$UserID?>" class="brackets">Old email history</a>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
|
@ -1978,6 +1978,9 @@ ul#userinfo_random li a:hover {
|
||||
tr.torrent .bookmark > a:before { content:""; }
|
||||
tr.torrent .bookmark > a:after { content:""; }
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #878787;
|
||||
}
|
||||
|
@ -887,10 +887,9 @@ form tr {
|
||||
tr.torrent .bookmark > a:before { color:#999; }
|
||||
tr.torrent .bookmark > a:after { color:#999; }
|
||||
|
||||
.linkbox .brackets:before {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #999;
|
||||
}
|
||||
|
@ -543,6 +543,9 @@ tr.torrent .bookmark > a:after { content: ""; }
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #757575;
|
||||
}
|
||||
|
@ -466,6 +466,9 @@ h3{margin:10px 0}
|
||||
.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}
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #757575;
|
||||
}
|
||||
|
@ -1492,10 +1492,15 @@ ul.collage_images {
|
||||
|
||||
.linkbox .brackets:before {
|
||||
content: "[ ";
|
||||
color: #F1F1F1;
|
||||
}
|
||||
|
||||
.linkbox .brackets:after {
|
||||
content: " ]";
|
||||
}
|
||||
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #F1F1F1;
|
||||
}
|
||||
|
@ -1312,10 +1312,13 @@ form.manage_form[name=friends] .left input[type=submit] {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
#userinfo .brackets:before, #userinfo .brackets:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #444;
|
||||
}
|
||||
|
@ -1038,16 +1038,27 @@ ul, ol{
|
||||
}
|
||||
|
||||
tr.torrent .bookmark > a:before {
|
||||
color:#646054;
|
||||
color: #646054;
|
||||
}
|
||||
tr.torrent .bookmark > a:after {
|
||||
color:#646054;
|
||||
color: #646054;
|
||||
}
|
||||
|
||||
#requests .forum_post textarea { /* overriding the inline 80-character monospace */
|
||||
max-width: 409px;
|
||||
}
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #FCFCFC;
|
||||
}
|
||||
|
||||
#userinfo_username .brackets:before {
|
||||
content: "[";
|
||||
}
|
||||
|
||||
#userinfo_username .brackets:after {
|
||||
content: "]";
|
||||
}
|
||||
|
@ -1738,6 +1738,9 @@ table.noavatar, table.noavatar tr, table.noavatar td.body, table.noavatar td.bod
|
||||
tr.torrent .bookmark > a:before { content:""; }
|
||||
tr.torrent .bookmark > a:after { content:""; }
|
||||
|
||||
.linkbox .brackets:before, .linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #575757;
|
||||
}
|
||||
|
@ -759,10 +759,9 @@ tr.torrent .bookmark > a:after { content:""; }
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.linkbox .brackets:before {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.linkbox .brackets:after {
|
||||
.linkbox .brackets:before,
|
||||
.linkbox .brackets:after,
|
||||
.top10_quantity_links .brackets:before,
|
||||
.top10_quantity_links .brackets:after {
|
||||
color: #666;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user