jlog/error404.php
Heiko August f9d6025a75 Change: replace inputs of type submit with button elements
Attributes 'type="submit"' got removed because it's the default type.
Therefore the attribute can be omitted.
2020-04-27 11:23:48 +02:00

15 lines
719 B
PHP

<?php
require_once('.'.DIRECTORY_SEPARATOR.'scripts'.DIRECTORY_SEPARATOR.'prepend.inc.php');
$get = strip($_GET);
$meta['robots'] = "noindex, follow";
$c['meta']['title'] = $l['err404_topic'];
$c['main'] = "<h2>".$l['err404_topic']."</h2>\n<p>".$l['err404_message']."</p>";
$c['main'] .= ' <form id="searchform" action="'.JLOG_PATH.'/search.php" accept-charset="UTF-8">
<p><input class="userdata" type="text" name="q" size="30" value="'.htmlspecialchars($get['url']).'" />
<button class="send" value="'.$l['content_search'].'">'.htmlspecialchars($l['content_search']).'</button></p>
</form>';
require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php');
echo $body;
?>