From 562f758c898c408d0c6614391c6569bcac8b278b Mon Sep 17 00:00:00 2001 From: jacob Date: Tue, 6 Oct 2009 19:12:53 +0000 Subject: [PATCH] Moved the "new contact" form to the bottom of the accordion for ease of usage --- admin/donors.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/admin/donors.php b/admin/donors.php index 84f5015..29683ab 100644 --- a/admin/donors.php +++ b/admin/donors.php @@ -225,12 +225,6 @@ function draw_contactsinfo_form($contact = null){ // start our accordion echo "
\n"; - // draw an empty form in which to enter a new user - echo "

New Contact"; - echo "

\n"; - echo "
\n"; - draw_contact_form($sponsor_id); - echo "
\n"; // loop through each contact and draw a form with their data in it. $query = mysql_query("SELECT * FROM users LEFT JOIN users_sponsor ON users_sponsor.users_id=users.id @@ -251,6 +245,13 @@ function draw_contactsinfo_form($contact = null){ echo "
\n"; } + // draw an empty form in which to enter a new user + echo "

New Contact"; + echo "

\n"; + echo "
\n"; + draw_contact_form($sponsor_id); + echo "
\n"; + // and finally end the accordion echo "\n";