From a4fbff953c18ba4cc0a2ee28adbc1941555464dc Mon Sep 17 00:00:00 2001 From: james Date: Thu, 29 Oct 2009 17:16:47 +0000 Subject: [PATCH] Add a link to reload list (we severly need to fix this whole page!) Show email addresses in the management list as well, so when we add users and dotn give them names they wont just show blank. --- admin/committees.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/admin/committees.php b/admin/committees.php index 7c1113e..5fbe715 100644 --- a/admin/committees.php +++ b/admin/committees.php @@ -227,13 +227,14 @@ if($_GET['unlinkmember'] && $_GET['unlinkcommittee']) echo " "; echo "

".i18n("Add Committee Member")."

\n"; - echo "
\n"; + echo "\n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo "
".i18n("Member Email").": "; echo "\n"; echo "
\n"; + echo "".i18n("Reload committee list (needed after adding a new member)")."\n"; echo "
\n"; echo ""; @@ -253,17 +254,18 @@ if($_GET['unlinkmember'] && $_GET['unlinkcommittee']) echo ""; echo ""; - $q=mysql_query("SELECT uid,MAX(year),firstname,lastname,deleted FROM users WHERE types LIKE '%committee%' GROUP BY uid ORDER BY firstname"); + $q=mysql_query("SELECT uid,MAX(year),firstname,lastname,email,deleted FROM users WHERE types LIKE '%committee%' GROUP BY uid ORDER BY firstname"); echo ""; + echo "";