little bit of code cleanup
authorPaul J R <me@pjr.cc>
Fri, 28 Sep 2012 00:16:28 +0000 (10:16 +1000)
committerPaul J R <me@pjr.cc>
Fri, 28 Sep 2012 00:16:28 +0000 (10:16 +1000)
gwvpmini/gwvpmini_admin.php
gwvpmini/gwvpmini_web.php

index 26cb82e..defb0da 100644 (file)
@@ -122,11 +122,11 @@ function gwvpmini_AdminMainPageBody()
        
        $totalusers = gwvpmini_GetNUsers();
        echo "<table><tr valign=\"top\"><td>";
-       echo "$register<br>$regconfirm<br>$usegrav<br>$forcessl<br>";
-       echo "<h2>Users - $totalusers</h2>";
+       echo "<H2>Settings</h2>$register<br>$regconfirm<br>$usegrav<br>$forcessl<br>";
        echo "<form method=\"post\" action=\"$BASE_URL/admin/changefromemail\">";
        echo "Address emails are sent from <input type=\"text\" name=\"fromemail\" value=\"$confirm_from_address\"><input type=\"submit\" name=\"Update\" value=\"Update\"><br>";
        echo "</form>"; 
+       echo "<h2>Users - $totalusers</h2>";
 
        echo "<table border=\"1\">";
        echo "<tr><th>Username</th><th>Email Address</th><th>Full Name</th><th>Description</th><th>Status</th><th>Control</th></tr>";
index 0613c05..3dfdde0 100644 (file)
@@ -220,7 +220,6 @@ function gwvpmini_BodyBuilder()
 {
        global $HOME_PAGE_PROVIDERS;
        
-       echo "I AM THE MAIN BODY, FEAR ME!!!! - have no idea whats going to go here";
        if(isset($HOME_PAGE_PROVIDERS)) {
                ksort($HOME_PAGE_PROVIDERS);
                foreach($HOME_PAGE_PROVIDERS as $provider) {