Posted by Matthew Sarino
2014-07-15

I went into web/codelib/sys/CHtmlMacro.inc.php and could not find the code you specified as below using the "Find" function of my editor:

define('TYPE_NORMAL_BUTTON', 'rollover' );
//define('TYPE_NORMAL_BUTTON', 'html' );

The closest to the code that I found manually was:

// GetDefaultButtonType()
//----------------------------------------------------------------
function GetDefaultButtonType()
{
//'<>' => '</>'
//'<>' => '<rollover/>'
//'<>' => '<html/>'
//'<>' => '<image/>'
return "html";
}

Is this what you were referring to?
Posted by Tom
2014-07-15

Sorry, I thought we were talking about Address Book Script.
OK, in Form2DB, open web/staff/app/cls_hm_base.inc.php and find the following code.
	//----------------------------------------------------------------
// GetDefaultButtonType()
//----------------------------------------------------------------
function GetDefaultButtonType()
{
// '<>' => '</>'
// '<>' => '<html/>'
// '<>' => '<image/>'
// '<>' => '<rollover/>'
return "rollover";
}
Change "rollover" to "html"
The result should look like
	//----------------------------------------------------------------
// GetDefaultButtonType()
//----------------------------------------------------------------
function GetDefaultButtonType()
{
// '<>' => '</>'
// '<>' => '<html/>'
// '<>' => '<image/>'
// '<>' => '<rollover/>'
return "html";
}