<?php

/*
  MailBeez Automatic Trigger Email Campaigns
  http://www.mailbeez.com

  Copyright (c) 2010 - 2012 MailBeez

  Released under the GNU General Public License
 */

///////////////////////////////////////////////////////////////////////////////
///																			 //
///                 MailBeez Core file - do not edit                         //
///                                                                          //
///////////////////////////////////////////////////////////////////////////////

require_once(MH_DIR_CONFIG . 'config_tour/classes/tourbeez.php');

class tour_mailbeez_email extends tourbeez
{

// class constructor
    function __construct()
    {
        parent::__construct();
        $this->code = 'tour_mailbeez_email';
        $this->module = 'tour_mailbeez_email';
        $this->version = '1.0';
        $this->title = mh_lng('MAILBEEZ_TOUR_MAILBEEZ_EMAIL_TITLE');
        $this->description = mh_lng('MAILBEEZ_TOUR_MAILBEEZ_EMAIL_DESCRIPTION');

        $this->precondition_check = (preg_match('/mlbz_ubvx/', mh_cfg('MAILBEEZ_CONFIG_EMAIL_ENGINE'))) || ('mlbz_hysndr' == mh_cfg('MAILBEEZ_CONFIG_EMAIL_ENGINE')) ;
        $this->precondition_false_action = array('url' => mh_tour_link_url('tour_setup_mailserver'), 'target' => '', 'text' => MH_TOUR_BUTTON_SHOWME);
        $this->precondition_false_message = mh_lng('MAILBEEZ_TOUR_MAILBEEZ_EMAIL_PRECON_MSG');

        $this->sort_order = 35;
        $this->enabled = false;


    }


}