From 8093a81da2a911bbfc29fb437abb044ba3aa14b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 21 Apr 2007 19:45:12 +0000 Subject: [PATCH] Display user manager link in the contact form --- contact.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contact.php b/contact.php index ef73e00..25b700d 100644 --- a/contact.php +++ b/contact.php @@ -36,6 +36,15 @@ if(!$aClean['sSubmit']) echo $error; echo "
"; + + /* User manager */ + if($_SESSION['current']->hasPriv("admin")) + { + echo "

iUserId."&sSearch=Administrator&iLimit". + "=100&sOrderBy=email\">User manager

"; + } + echo "

E-mail $oRecipient->sRealname.

"; echo html_table_begin("width\"100%\" border=\"0\" cellpadding=\"2\"". "cellspacing=\"2\"");