ChangeSet ID: 31078 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner(a)winehq.org 2007/04/21 14:45:12 Modified files: . : contact.php Log message: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> Display user manager link in the contact form Patch: http://cvs.winehq.org/patch.py?id=31078 Old revision New revision Changes Path 1.1 1.2 +9 -0 appdb/contact.php Index: appdb/contact.php diff -u -p appdb/contact.php:1.1 appdb/contact.php:1.2 --- appdb/contact.php:1.1 21 Apr 2007 19:45:12 -0000 +++ appdb/contact.php 21 Apr 2007 19:45:12 -0000 @@ -36,6 +36,15 @@ if(!$aClean['sSubmit']) echo $error; echo "<form action=\"".$_SERVER['PHP_SELF']."\" method=\"post\">"; + + /* User manager */ + if($_SESSION['current']->hasPriv("admin")) + { + echo "<p><a href=\"".BASE."preferences.php?iUserId=". + $oRecipient->iUserId."&sSearch=Administrator&iLimit". + "=100&sOrderBy=email\">User manager</a></p>"; + } + echo "<p>E-mail $oRecipient->sRealname.</p>"; echo html_table_begin("width\"100%\" border=\"0\" cellpadding=\"2\"". "cellspacing=\"2\"");
participants (1)
-
WineHQ