mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Frontend scripts tests. (may break some things)
This commit is contained in:
11
print.php
11
print.php
@@ -16,9 +16,11 @@ require_once("class2.php");
|
||||
e107::coreLan('print');
|
||||
|
||||
$qs = explode(".", e_QUERY,2);
|
||||
if ($qs[0] == "") {
|
||||
|
||||
if ($qs[0] == "")
|
||||
{
|
||||
e107::redirect();
|
||||
exit;
|
||||
exit;
|
||||
}
|
||||
|
||||
$CSS = <<<CSS
|
||||
@@ -65,7 +67,7 @@ if(strpos($source,'plugin:') !== FALSE)
|
||||
else
|
||||
{
|
||||
echo LAN_FILE_NOT_FOUND;
|
||||
exit;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -134,6 +136,7 @@ else
|
||||
<div style='text-align:".$align."'>".$print_text."</div><br /><br />
|
||||
<form action='#'><div class='hidden-print' style='text-align:center'><input class='btn btn-primary ' type='button' value='".LAN_PRINT_307."' onclick='window.print()' /></div></form></div>";
|
||||
}
|
||||
|
||||
require_once(FOOTERF);
|
||||
|
||||
?>
|
||||
|
||||
|
Reference in New Issue
Block a user