From c63a51de0a02de59d82600b985c73d1c73c181ff Mon Sep 17 00:00:00 2001 From: Robert Anderson <randerson@lbsd.net> Date: Thu, 19 Mar 2009 14:38:30 +0000 Subject: [PATCH] Fixed indentation / spelling --- webui/policy-main.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/webui/policy-main.php b/webui/policy-main.php index 5f98ebdf..2511810d 100644 --- a/webui/policy-main.php +++ b/webui/policy-main.php @@ -21,12 +21,8 @@ include_once("includes/header.php"); include_once("includes/footer.php"); include_once("includes/db.php"); - - $db = connect_db(); - - printHeader(array( )); @@ -37,7 +33,6 @@ if (!isset($_POST['frmaction'])) <p class="pageheader">User List</p> <form id="main_form" action="user-main.php" method="post"> - <div class="textcenter"> Action <select id="main_form_action" name="frmaction" @@ -55,7 +50,6 @@ if (!isset($_POST['frmaction'])) myform.submit(); "> - <option selected="selected">select action</option> <option disabled="disabled"> - - - - - - - - - - - </option> <option value="add">Add</option> @@ -77,6 +71,7 @@ if (!isset($_POST['frmaction'])) $sql = "SELECT ID, Username, Disabled FROM ${DB_TABLE_PREFIX}users ORDER BY ID ASC"; $res = $db->query($sql); + # List users while ($row = $res->fetchObject()) { ?> <tr class="resultsitem"> @@ -91,14 +86,8 @@ if (!isset($_POST['frmaction'])) </table> </form> <?php - - - } - - printFooter(); - # vim: ts=4 ?> -- GitLab