<?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_n2go_identification extends tourbeez
{

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

        $this->precondition_check = (preg_match('/Newsletter2Go/', 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_N2G_IDENT_PRECON_MSG');

        $this->sort_order = 35;
        $this->enabled = false;
        //        $this->enabled = (preg_match('/Newsletter2Go/', MAILBEEZ_CONFIG_EMAIL_ENGINE));

    }

    function tour_n2go_identification()
    {
        self::__construct();
    }

}