fix validation errors

This commit is contained in:
2015-07-11 17:41:47 +03:00
parent 6b3039152c
commit a6cbc18c77
2 changed files with 9 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en-EN"> <html lang="en-GB">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>UAAP | Uberspace Account Administration Panel</title> <title>UAAP | Uberspace Account Administration Panel</title>
@@ -11,8 +11,8 @@
<h1>Account Administration Panel</h1> <h1>Account Administration Panel</h1>
<noscript><warn>Please activate JavaScript in your webbrowser. <noscript><span class="warn">Please activate JavaScript in your webbrowser.
This panel will not work without activated JavaScript.</warn></noscript> This panel will not work without activated JavaScript.</span></noscript>
<h4>You have following options:</h4> <h4>You have following options:</h4>
@@ -25,7 +25,7 @@ This panel will not work without activated JavaScript.</warn></noscript>
<!-- VIEWDATA - View datasheet of whole account --> <!-- VIEWDATA - View datasheet of whole account -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> View the data sheet</b> <b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> View the data sheet</b>
<div class="hide"> <div class="hide">
<p>View the data sheet with all usernames and passwords. <warn>Please keep this document secure!</warn></p> <p>View the data sheet with all usernames and passwords. <span class="warn">Please keep this document secure!</span></p>
<form action="submit.php" method="post"> <form action="submit.php" method="post">
<button type="submit" name="action" value="viewdata">View data sheet</button> <button type="submit" name="action" value="viewdata">View data sheet</button>
<!-- Hidden confirmation box --> <!-- Hidden confirmation box -->
@@ -156,7 +156,7 @@ This panel will not work without activated JavaScript.</warn></noscript>
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Delete an email account</b> <b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Delete an email account</b>
<div class="hide"> <div class="hide">
<p>Deletes an email account and all its emails.<br /> <p>Deletes an email account and all its emails.<br />
<warn>THIS OPERATION CANNOT BE UNDONE! ALL EMAILS OF THIS ACCOUNT WILL BE REMOVED!</warn></p> <span class="warn">THIS OPERATION CANNOT BE UNDONE! ALL EMAILS OF THIS ACCOUNT WILL BE REMOVED!</span></p>
<form action="submit.php" method="post"> <form action="submit.php" method="post">
<label>Username:</label> <label>Username:</label>
<input name="user" title="User" /> <input name="user" title="User" />
@@ -185,7 +185,7 @@ This panel will not work without activated JavaScript.</warn></noscript>
<label>Your full email address:</label> <label>Your full email address:</label>
<input name="pass" title="Email address" /> <input name="pass" title="Email address" />
<br /> <br />
<button type="submit" name="action" value="installwp">Install WordPress</button></button> <button type="submit" name="action" value="installwp">Install WordPress</button>
<!-- Hidden confirmation box --> <!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" /> <input type="hidden" name="sure" value="yes" />
</form> </form>

View File

@@ -1,4 +1,5 @@
<html> <!DOCTYPE html>
<html lang="en-GB">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>UAAP | Results</title> <title>UAAP | Results</title>
@@ -47,11 +48,9 @@ else
echo "You did not hit the necessary checkbox. Aborting."; echo "You did not hit the necessary checkbox. Aborting.";
} }
?> ?>
</tr></td></table> </td></tr></table>
<p>In case of errors, please check all input data again.<br /> <p>In case of errors, please check all input data again.<br />
If the problem still exists, please contact us and add the error message.</p> If the problem still exists, please contact us and add the error message.</p>