Fix some layout problems, and caching issues.
This commit is contained in:
@@ -41,7 +41,6 @@ if (!isset($_SESSION['editor'])) {
|
||||
</head>
|
||||
<? flush(); ?>
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<div id="main">
|
||||
@@ -54,15 +53,18 @@ if (!isset($_SESSION['editor'])) {
|
||||
<? } else { ?>
|
||||
|
||||
<form action="https://xxx.org.za<?= $_SERVER['REQUEST_URI'] ?>" method="post">
|
||||
<div>
|
||||
<label for="username">Username: </label>
|
||||
<input type="text" id="username" name="username" />
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="password">Password: </label>
|
||||
<input type="password" id="password" name="password" />
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<div>
|
||||
<label for="email">Email: </label>
|
||||
<input type="text" id="email" name="email" />
|
||||
<br class="clear" />
|
||||
</div>
|
||||
<div class="submission">
|
||||
<button type="submit" id="adduser" name="adduser" value="1">Add editor</button>
|
||||
</div>
|
||||
@@ -74,8 +76,6 @@ if (!isset($_SESSION['editor'])) {
|
||||
<? include_once("../bottombar.inc.php"); ?>
|
||||
</div> <!-- container -->
|
||||
|
||||
<? include('../bottombar.inc.php'); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user