get rid of old about and donate pages
All checks were successful
docker / docker (push) Successful in 11s
All checks were successful
docker / docker (push) Successful in 11s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
@ -1,39 +0,0 @@
|
||||
<?php
|
||||
|
||||
include "data/config.php";
|
||||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"header_nofilters.html",
|
||||
[
|
||||
"title" => "About",
|
||||
"class" => " class=\"about\""
|
||||
]
|
||||
);
|
||||
|
||||
$left =
|
||||
explode(
|
||||
"\n",
|
||||
file_get_contents("template/about.html")
|
||||
);
|
||||
|
||||
$out = "";
|
||||
|
||||
foreach($left as $line){
|
||||
|
||||
$out .= trim($line);
|
||||
}
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"search.html",
|
||||
[
|
||||
"timetaken" => null,
|
||||
"class" => "",
|
||||
"right-left" => "",
|
||||
"right-right" => "",
|
||||
"left" => $out
|
||||
]
|
||||
);
|
@ -1,39 +0,0 @@
|
||||
<?php
|
||||
|
||||
include "data/config.php";
|
||||
include "lib/frontend.php";
|
||||
$frontend = new frontend();
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"header_nofilters.html",
|
||||
[
|
||||
"title" => "Donate to the project",
|
||||
"class" => " class=\"about\""
|
||||
]
|
||||
);
|
||||
|
||||
$left =
|
||||
explode(
|
||||
"\n",
|
||||
file_get_contents("template/donate.html")
|
||||
);
|
||||
|
||||
$out = "";
|
||||
|
||||
foreach($left as $line){
|
||||
|
||||
$out .= trim($line);
|
||||
}
|
||||
|
||||
echo
|
||||
$frontend->load(
|
||||
"search.html",
|
||||
[
|
||||
"timetaken" => null,
|
||||
"class" => "",
|
||||
"right-left" => "",
|
||||
"right-right" => "",
|
||||
"left" => $out
|
||||
]
|
||||
);
|
@ -123,7 +123,6 @@ class frontend{
|
||||
'<li>Remove keywords that could cause errors</li>' .
|
||||
'<li><a href="/instances?target=' . $target . "&" . $this->buildquery($get, false) . '">Try your search on another 4get instance</a></li>' .
|
||||
'</ul><br>' .
|
||||
'If the error persists, please <a href="/about">contact the administrator</a>.',
|
||||
$timetaken
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user