<?php

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

  Copyright (c) 2010, 2011 MailBeez

  inspired and in parts based on
  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License

  v2.6
 */

///////////////////////////////////////////////////////////////////////////////
///																																					 //
///                 MailBeez Core file - do not edit                         //
///                                                                          //
///////////////////////////////////////////////////////////////////////////////
// button to run module


mh_load_modules_language_files(MH_DIR_CONFIG, 'config_automatic', MH_FILE_EXTENSION);


$common_plugin_actions = mb_admin_button(MAILBEEZ_MAILHIVE_URL . 'runconfirm&module=' . mh_urlencode($mInfo->code), mh_lng('MAILBEEZ_BUTTON_RUN_MODULE'));

$contents[] = array('text' => '<div class="mb_action_box">' . mh_image(MH_ADMIN_DIR_WS_IMAGES .'icon_run_32.png', '', '32', '32', 'align="right" style="margin-bottom: 10px; margin-left: 5px; margin-right: 10px;"') . '
        <div class="mb_action_box headline">' . mh_lng('MAILBEEZ_ACTION_RUN_MODULE_HEADLINE') . '</div>
        <div class="mb_action_box text">' . mh_lng('MAILBEEZ_ACTION_RUN_MODULE_TEXT') . '</div>
        <div class="mb_action_box buttons" style="clear: both"><div align="center">' . $common_plugin_actions . '</div></div>
        </div>');
?>