<?php
/***************************************************************************
* 
*     copyright            : (C) 2009 AQB Soft
*     website              : http://www.aqbsoft.com
*      
* IMPORTANT: This is a commercial product made by AQB Soft. It cannot be modified for other than personal usage.
* The "personal usage" means the product can be installed and set up for ONE domain name ONLY. 
* To be able to use this product for another domain names you have to order another copy of this product (license).
* 
* This product cannot be redistributed for free or a fee without written permission from AQB Soft.
* 
* This notice may not be removed from the source code.
* 
***************************************************************************/

bx_import("BxDolProfileFields");

class BxMbpProfileFields extends BxDolProfileFields {
	var $_oMain;

	function __construct($iAreaID, $oMain = null) {
		parent::__construct($iAreaID);

		$this->_oMain = $oMain;
	}

	function getFormJoin($aParams)
	{
		$aForm = parent::getFormJoin($aParams);
		$aForm['form_attrs']['action'] = BX_DOL_URL_ROOT . $this->_oMain->_oConfig->getBaseUri() . 'join_form';

		return $aForm;
	}
	
}
?>