Can you please help me with that. I really cannot do the syntax.
Here is the lines before the problematic c line 61:
Code: Select all
require_once ( dirname(__FILE__) . DS . 'helper.php' );
$params->def( 'greeting', 1 );
$type = modLoginHelper::getType();
$return = modLoginHelper::getReturnURL( $params, $type );
$enable_login = $params->get( 'enable_login' );
$enable_register = $params->get( 'enable_register' );
$enable_contact = $params->get( 'enable_contact' );
And here is the only ereg I can find in the entire page:
Code: Select all
$document->addScript( 'modules/mod_login/assets/js/jquery.colorbox.js' );
$document->addScript( 'modules/mod_login/assets/js/div.js' );
$document->addStyleSheet( 'modules/mod_login/assets/css/colorbox.css' );
$br = ( !empty( $_SERVER['USER_AGENT'] ) ) ? strtolower( $_SERVER['USER_AGENT'] ) : strtolower( $_SERVER['HTTP_USER_AGENT'] ) ;
if(ereg("msie", $br))
{
$document->addStyleSheet( 'modules/mod_login/assets/css/colorbox-ie.css' );