mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
issue #49: link with status 0.0 now removes the whole line and add fixes with issues for php8.4
This commit is contained in:
parent
13d39dc5c2
commit
46bd00a05a
3 changed files with 17 additions and 11 deletions
|
@ -9,18 +9,19 @@
|
|||
<meta property="og:title" content="Darknet Lantern" />
|
||||
<meta property="og:type" content="website" />
|
||||
<!-- // Now displays the url of the instance -->
|
||||
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
|
||||
<meta property="og:url" content="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']); ?>" />
|
||||
<!-- // Default images for previews -->
|
||||
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']) . "/img/logo-large.png"; ?>" />
|
||||
<meta property="og:image:url" content="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']) . "/img/logo-large.png"; ?>" />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<!-- // This tells search engines which URL should be considered the original source when multiple URLs contain the same content. -->
|
||||
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['HTTP_HOST']); ?>" />
|
||||
<link rel="canonical" href="<?php echo htmlspecialchars($_SERVER['SERVER_NAME']); ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
<link rel="icon" href="/img/logo-favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="width-class">
|
||||
<?php
|
||||
<?php
|
||||
|
||||
require("header.php");
|
||||
$min_length = 1;
|
||||
$max_length = 32;
|
||||
|
@ -43,8 +44,8 @@ require("header.php");
|
|||
</form>
|
||||
|
||||
|
||||
<?php
|
||||
$sensitive = $_GET['sensitive'];
|
||||
<?php
|
||||
$sensitive = $_GET['sensitive'];
|
||||
if ($sensitive == 1){
|
||||
//echo "<p>Sensitive ON " . $sensitive . "</p>";
|
||||
$sensitive=1;
|
||||
|
@ -95,6 +96,7 @@ require("header.php");
|
|||
else { // if query length is less than minimum or more than maximum
|
||||
echo '</br></br><img src="img/logo-large.png"><p>Search query must be between ' . $min_length . " and " . $max_length . " characters.</p>";
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue