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.
The result should look like
OK, in Form2DB, open web/staff/app/cls_hm_base.inc.php and find the following code.
//----------------------------------------------------------------Change "rollover" to "html"
// GetDefaultButtonType()
//----------------------------------------------------------------
function GetDefaultButtonType()
{
// '<>' => '</>'
// '<>' => '<html/>'
// '<>' => '<image/>'
// '<>' => '<rollover/>'
return "rollover";
}
The result should look like
//----------------------------------------------------------------
// GetDefaultButtonType()
//----------------------------------------------------------------
function GetDefaultButtonType()
{
// '<>' => '</>'
// '<>' => '<html/>'
// '<>' => '<image/>'
// '<>' => '<rollover/>'
return "html";
}
→ Form2DB
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?