$user{'login'} = $::COOKIE{"Bugzilla_login"};
$user{'userid'} = $userid;
- SendSQL("SELECT mybugslink, realname, groupset FROM profiles " .
- "WHERE userid = $userid");
- ($user{'showmybugslink'}, $user{'realname'}, $user{'groupset'}) =
- FetchSQLData();
+ SendSQL("SELECT mybugslink, realname, groupset, blessgroupset " .
+ "FROM profiles WHERE userid = $userid");
+ ($user{'showmybugslink'}, $user{'realname'}, $user{'groupset'},
+ $user{'blessgroupset'}) = FetchSQLData();
SendSQL("SELECT name, query, linkinfooter FROM namedqueries " .
"WHERE userid = $userid");
print qq|
<hr>
<p>If you don't have a Bugzilla account, you can
- <a href="createaccount.cgi">create a new account</a>.</p>
+ <a href="createaccount.cgi">create a new account</a>.
+ <a href="display.cgi?page=why-account">
+ I just want to report a bug.
+ Why is this necessary?</a></p>
<form method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw">
If you have an account, but have forgotten your password,
Edit <a href="userprefs.cgi">prefs</a>
[% ", <a href='editparams.cgi'>parameters</a>"
IF user.groups.tweakparams %]
- [% ", <a href='editusers.cgi'>users</a>" IF user.groups.editusers %]
+ [% ", <a href='editusers.cgi'>users</a>" IF user.groups.editusers
+ || (user.blessgroupset > 0) %]
[% ", <a href='editproducts.cgi'>products</a>"
IF user.groups.editcomponents %]
[% ", <a href='editattachstatuses.cgi'> attachment statuses</a>"