Auto fill name/email fields in problem report...

Jason Hollinden jhollind@mh5.com
Wed, 25 Jul 2001 09:54:33 -0500


This is regarding 4 days ago CVS of Horde/Imp/Turba.

I noticed in Imp that the "Your Name:" and "Your Email Address:" fields
of a problem report are auto filled with whatever you logged in as.  How
hard would this be to add to Turba's problem report?  I know it comes
down to these 2 lines:

Imp's menu.inc:

if ($conf['problems']['enabled']) {
    Menu::printItem(Horde::url($registry->getWebRoot("horde") .
	'/problem.php?email=' . urlencode(IMP::getPlainAddress()) . '&name=' . 
	urlencode($prefs->getValue('fullname')) . '&return_url=' .
	urlencode(Horde::url($HTTP_SERVER_VARS['PHP_SELF'], true))),
	_("Problem?"), 'problem.gif', $registry->getGraphicsPath("horde"));
	}
	
Turba's menu.inc:

if ($conf['problems']['enabled']) {
    Menu::printItem(Horde::url($registry->getWebRoot("horde") .
	'/problem.php?return_url=' .
	urlencode(Horde::url($HTTP_SERVER_VARS['PHP_SELF'], true))),
	_("Problem?"), 'problem.gif', $registry->getGraphicsPath("horde"));
	}
	
I'm guessing this was not done since a person can use Turba without
being authenticated?

Thanks...


--
   Jason Hollinden

   MH5 Systems Admin