1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00

fix some html validator concerns

This commit is contained in:
Rouji 2019-06-24 00:40:03 +02:00
parent be2d77e546
commit 89145d6585

View File

@ -281,10 +281,12 @@ function print_index()
$hupl_url = $url."?hupl"; $hupl_url = $url."?hupl";
echo <<<EOT echo <<<EOT
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<title>Filehost</title> <title>x0.at Filehost</title>
<meta name="description" content="Minimalistic service for sharing temporary files." /> <meta name="description" content="Minimalistic service for sharing temporary files." />
</head>
<body> <body>
<pre> <pre>
=== How To Upload === === How To Upload ===
@ -299,7 +301,7 @@ Or simply choose a file and click "Upload" below:
(Hint: If you're lucky, your browser may support drag-and-drop onto the file (Hint: If you're lucky, your browser may support drag-and-drop onto the file
selection input.) selection input.)
</pre> </pre>
<form id="frm" action="" method="post" enctype="multipart/form-data"> <form id="frm" method="post" enctype="multipart/form-data">
<input type="file" name="file" id="file" /> <input type="file" name="file" id="file" />
<input type="hidden" name="formatted" value="true" /> <input type="hidden" name="formatted" value="true" />
<input type="submit" value="Upload"/> <input type="submit" value="Upload"/>