mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
4cb14b3a4f
commit
9e74849777
@ -142,7 +142,7 @@
|
||||
}
|
||||
|
||||
|
||||
$DB->query("UPDATE users_notify_quoted SET Unread = '0' WHERE UserID = '$LoggedUser[ID]' AND TopicID = '$ThreadID'");
|
||||
$DB->query("UPDATE users_notify_quoted SET UnRead = '0' WHERE UserID = '$LoggedUser[ID]' AND TopicID = '$ThreadID'");
|
||||
|
||||
$QuoteNotificationsCount = $Cache->get_value('forums_quotes_' . $LoggedUser['ID']);
|
||||
if ($QuoteNotificationsCount > 0) {
|
||||
|
@ -4,9 +4,10 @@
|
||||
$Rankings = Votes::get_ranking($GroupID, $GroupYear);
|
||||
$LIs = '';
|
||||
// Display information for the return categories of get_ranking()
|
||||
$names = array('overall'=>'overall',
|
||||
'decade'=>'for the '.($GroupYear-($GroupYear%10)).'s',
|
||||
'year'=>"for $GroupYear");
|
||||
$GroupDecade = $GroupYear-($GroupYear%10);
|
||||
$names = array('overall'=>'<a href="top10.php?type=votes">overall</a>',
|
||||
'decade'=>check_perms('site_advanced_top10') ? 'for the <a href="top10.php?advanced=1&type=votes&year1='.$GroupDecade.'&year2='.($GroupDecade+9).'">'.$GroupDecade.'s</a>' : 'for the '.$GroupDecade.'s',
|
||||
'year'=>check_perms('site_advanced_top10') ? 'for <a href="top10.php?advanced=1&type=votes&year1='.$GroupYear.'&year2=">'.$GroupYear.'</a>' : "for $GroupYear");
|
||||
|
||||
foreach ($names as $key => $text) {
|
||||
if ($Rank = $Rankings[$key]) {
|
||||
@ -35,4 +36,4 @@
|
||||
<?
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -238,7 +238,7 @@ function check_paranoia_here($Setting) {
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Ratio: <?=Format::get_ratio_html($Uploaded, $Downloaded)?></li>
|
||||
<? } ?>
|
||||
<? if (($Override=check_paranoia_here('requiredratio')) && isset($RequiredRatio)) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?> title="<?=Format::get_size((double)$RequiredRatio, 5)?>">Required ratio: <?=number_format((double)$RequiredRatio, 2)?></li>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>>Required ratio: <?=number_format((double)$RequiredRatio, 2)?></li>
|
||||
<? } ?>
|
||||
<? if ($OwnProfile || ($Override=check_paranoia_here(false)) || check_perms('users_mod')) { ?>
|
||||
<li <?= $Override===2 ? 'class="paranoia_override"' : ''?>><a href="userhistory.php?action=token_history&userid=<?=$UserID?>">Tokens</a>: <?=number_format($FLTokens)?></li>
|
||||
|
@ -8,9 +8,11 @@
|
||||
$UnreadSQL = "";
|
||||
}
|
||||
|
||||
list($Page, $Limit) = Format::page_limit(TOPICS_PER_PAGE);
|
||||
if ($_GET['catchup']) {
|
||||
$DB->query("UPDATE users_notify_quoted SET UnRead = '0' WHERE UserID = '$LoggedUser[ID]'");
|
||||
}
|
||||
|
||||
View::show_header('Quote Notifications');
|
||||
list($Page, $Limit) = Format::page_limit(TOPICS_PER_PAGE);
|
||||
|
||||
if ($LoggedUser['CustomForums']) {
|
||||
unset($LoggedUser['CustomForums']['']);
|
||||
@ -34,6 +36,8 @@
|
||||
$DB->query("SELECT FOUND_ROWS()");
|
||||
list($NumResults) = $DB->next_record();
|
||||
|
||||
//Start printing page
|
||||
View::show_header('Quote Notifications');
|
||||
?>
|
||||
|
||||
<div class="thin">
|
||||
@ -50,6 +54,7 @@
|
||||
<a href="userhistory.php?action=quote_notifications">Show unread quotes</a>
|
||||
<? } ?>
|
||||
<a href="userhistory.php?action=subscriptions">Show subscriptions</a>
|
||||
<a href="userhistory.php?action=quote_notifications&catchup=1">Catch up</a>
|
||||
<br /> <br />
|
||||
<?
|
||||
$Pages = Format::get_pages($Page, $NumResults, TOPICS_PER_PAGE, 9);
|
||||
|
Loading…
Reference in New Issue
Block a user