Skip to content
Snippets Groups Projects
Commit 382cd5cf authored by Robert Anderson's avatar Robert Anderson
Browse files

Fixed indentation / spelling

parent 3d182618
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,6 @@ printHeader(array( ...@@ -38,7 +38,6 @@ printHeader(array(
# Display delete confirm screen # Display delete confirm screen
if ($_POST['frmaction'] == "delete") { if ($_POST['frmaction'] == "delete") {
# Check a user was selected # Check a user was selected
if (isset($_POST['user_id'])) { if (isset($_POST['user_id'])) {
?> ?>
...@@ -49,7 +48,6 @@ if ($_POST['frmaction'] == "delete") { ...@@ -49,7 +48,6 @@ if ($_POST['frmaction'] == "delete") {
<input type="hidden" name="frmaction" value="delete2" /> <input type="hidden" name="frmaction" value="delete2" />
<input type="hidden" name="user_id" value="<?php echo $_POST['user_id']; ?>" /> <input type="hidden" name="user_id" value="<?php echo $_POST['user_id']; ?>" />
</div> </div>
<div class="textcenter"> <div class="textcenter">
Are you very sure? <br /> Are you very sure? <br />
<input type="submit" name="confirm" value="yes" /> <input type="submit" name="confirm" value="yes" />
...@@ -62,9 +60,6 @@ if ($_POST['frmaction'] == "delete") { ...@@ -62,9 +60,6 @@ if ($_POST['frmaction'] == "delete") {
<div class="warning">No user selected</div> <div class="warning">No user selected</div>
<?php <?php
} }
# SQL Updates # SQL Updates
} elseif ($_POST['frmaction'] == "delete2") { } elseif ($_POST['frmaction'] == "delete2") {
?> ?>
...@@ -89,9 +84,7 @@ if ($_POST['frmaction'] == "delete") { ...@@ -89,9 +84,7 @@ if ($_POST['frmaction'] == "delete") {
<div class="warning"><?php print_r($db->errorInfo()) ?></div> <div class="warning"><?php print_r($db->errorInfo()) ?></div>
<?php <?php
} }
?>
<?php
} else { } else {
?> ?>
<div class="warning">Delete user aborted</div> <div class="warning">Delete user aborted</div>
...@@ -107,7 +100,6 @@ if ($_POST['frmaction'] == "delete") { ...@@ -107,7 +100,6 @@ if ($_POST['frmaction'] == "delete") {
<div class="warning">Invocation error, no user ID selected</div> <div class="warning">Invocation error, no user ID selected</div>
<?php <?php
} }
} }
printFooter(); printFooter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment