fixed various little things
parent
dc2dcb1902
commit
9244f4d19b
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0;%CONTENT_DIR%/" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<p> Nope. </p>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -7,10 +7,10 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<ul class="topnav">
|
||||||
<li><a href="index.html">Home</a></li>
|
<li><a href="%CONTENT_DIR%/">Home</a></li>
|
||||||
<li><a href="#news">News</a></li>
|
<li><a href="#news">News</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
||||||
<li class="right"><a class="active" href="login.html">Log In</a></li>
|
<li class="right"><a class="active" href="%CONTENT_DIR%/login/">Log In</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div style="padding:0 16px;">
|
<div style="padding:0 16px;">
|
||||||
|
@ -29,7 +29,10 @@
|
||||||
<input type="text" name="name" maxlength="20" placeholder="Username" />
|
<input type="text" name="name" maxlength="20" placeholder="Username" />
|
||||||
<input type="password" name="password" maxlength="256" placeholder="Password" />
|
<input type="password" name="password" maxlength="256" placeholder="Password" />
|
||||||
<p></p>
|
<p></p>
|
||||||
<a href="/common/"> <button> Log in </button> </a>
|
<input type="submit" value="Log in" />
|
||||||
|
<!--
|
||||||
|
@Ilja: HTML button tags are only useful in conjuction to JavaScript or in little hacks like my <a> + <button>. In HTML forms, there is a special type of button for submitting forms (see above).
|
||||||
|
-->
|
||||||
</form>
|
</form>
|
||||||
<p></p>
|
<p></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<ul class="topnav">
|
||||||
<li><a href="index.html">Home</a></li>
|
<li><a href="%CONTENT_DIR%/">Home</a></li>
|
||||||
<li><a href="#news">News</a></li>
|
<li><a href="%CONTENT_DIR%/news/">News</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/about">About</a></li>
|
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
||||||
<li class="right"><a href="login.html">Log In</a></li>
|
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div style="padding:0 16px;">
|
<div style="padding:0 16px;">
|
||||||
|
|
|
@ -5,5 +5,4 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1> ThreadR </h1>
|
<h1> ThreadR </h1>
|
||||||
<h2> Welcome back, <?php echo $_GET['username']; ?>!</h2>
|
<h2> Welcome back, <?php echo $_SESSION['username']; ?>!</h2>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue