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
7c417c6c16
commit
d87697541d
@ -56,7 +56,7 @@ class TEXT {
|
||||
private $NoImg = 0; // If images should be turned into URLs
|
||||
|
||||
private $Levels = 0;
|
||||
|
||||
|
||||
/**
|
||||
* The maximum amount of nesting allowed (exclusive)
|
||||
* In reality n-1 nests are shown.
|
||||
@ -69,12 +69,12 @@ class TEXT {
|
||||
* @var int $InQuotes
|
||||
*/
|
||||
private $InQuotes = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Used to [hide] quote trains starting with the specified depth (inclusive)
|
||||
* @var int $NestsBeforeHide
|
||||
*
|
||||
* This defaulted to 5 but was raised to 10 to effectively "disable" it until
|
||||
* This defaulted to 5 but was raised to 10 to effectively "disable" it until
|
||||
* an optimal number of nested [quote] tags is chosen. The variable $MaximumNests
|
||||
* effectively overrides this variable, if $MaximumNests is less than the value
|
||||
* of $NestsBeforeHide.
|
||||
@ -598,7 +598,7 @@ private function to_html ($Array) {
|
||||
* tags should always be limiting ahead of this line.
|
||||
* (Larger than vs. smaller than.)
|
||||
*/
|
||||
if ($this->Levels > $this->MaximumNests) {
|
||||
if ($this->Levels > $this->MaximumNests) {
|
||||
return $Block['Val']; // Hax prevention, breaks upon exceeding nests.
|
||||
}
|
||||
$Str = '';
|
||||
|
@ -7,7 +7,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title><?=display_str($PageTitle)?></title>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1;IE=edge" />
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1; IE=edge" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
@ -38,7 +38,7 @@
|
||||
<div id="logo">
|
||||
<ul>
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li><a href="login.php">Login</a></li>
|
||||
<li><a href="login.php">Log in</a></li>
|
||||
<? if (OPEN_REGISTRATION) { ?>
|
||||
<li><a href="register.php">Register</a></li>
|
||||
<? } ?>
|
||||
|
@ -1,11 +1,20 @@
|
||||
<?
|
||||
$FeaturedAlbum = $Cache->get_value('featured_album');
|
||||
if($FeaturedAlbum === false) {
|
||||
$DB->query("SELECT fa.GroupID, tg.Name, tg.WikiImage, fa.ThreadID, fa.Title FROM featured_albums AS fa JOIN torrents_group AS tg ON tg.ID=fa.GroupID WHERE Ended = 0");
|
||||
if ($FeaturedAlbum === false) {
|
||||
$DB->query('
|
||||
SELECT
|
||||
fa.GroupID,
|
||||
tg.Name,
|
||||
tg.WikiImage,
|
||||
fa.ThreadID,
|
||||
fa.Title
|
||||
FROM featured_albums AS fa
|
||||
JOIN torrents_group AS tg ON tg.ID=fa.GroupID
|
||||
WHERE Ended = 0');
|
||||
$FeaturedAlbum = $DB->next_record();
|
||||
$Cache->cache_value('featured_album', $FeaturedAlbum, 0);
|
||||
}
|
||||
if(is_number($FeaturedAlbum['GroupID'])) {
|
||||
if (is_number($FeaturedAlbum['GroupID'])) {
|
||||
$Artists = Artists::get_artist($FeaturedAlbum['GroupID']);
|
||||
|
||||
if (check_perms('site_proxy_images')) {
|
||||
|
@ -3,7 +3,7 @@
|
||||
if (!isset($_REQUEST['action'])) {
|
||||
include('private.php');
|
||||
} else {
|
||||
switch($_REQUEST['action']) {
|
||||
switch ($_REQUEST['action']) {
|
||||
case 'poll':
|
||||
include(SERVER_ROOT.'/sections/forums/poll_vote.php');
|
||||
break;
|
||||
|
@ -13,7 +13,7 @@
|
||||
<? if (check_perms('admin_manage_permissions')) { ?>
|
||||
<tr><td><a href="tools.php?action=permissions">Permissions</a></td></tr>
|
||||
<? } if (check_perms('admin_whitelist')) { ?>
|
||||
<tr><td><a href="tools.php?action=whitelist">Whitelist</a></td></tr>
|
||||
<tr><td><a href="tools.php?action=whitelist">Client whitelist</a></td></tr>
|
||||
<? } if (check_perms('admin_manage_ipbans')) { ?>
|
||||
<tr><td><a href="tools.php?action=ip_ban">IP address bans</a></td></tr>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user