os-sim/www/wizard/extra/deploy/step_1.php
<?php
/**
*
* License:
*
* Copyright (c) 2003-2006 ossim.net
* Copyright (c) 2007-2013 AlienVault
* All rights reserved.
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 dated June, 1991.
* You may not use, modify or distribute this program under any other version
* of the GNU General Public License.
*
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this package; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA  02110-1301  USA
*
*
* On Debian GNU/Linux systems, the complete text of the GNU General
* Public License can be found in `/usr/share/common-licenses/GPL-2'.
*
* Otherwise you can read it here: http://www.gnu.org/licenses/gpl-2.0.txt
*
*/
require_once 'av_init.php';


Session::useractive();

if ($step != 1)
{
    $msg = _('An error happened, the step is wrong. Try again later');
    
    include 'step_error.php';
    
    die();
}

if (count($hosts) == 1)
{
    $confirm = _('You are about to deploy 1 host');
}
else
{
    $confirm = sprintf(_('You are about to deploy %s hosts'), count($hosts));
}

$confirm .= _(', this may take more than a few minutes. Are you sure you would like to continue?');
        
?>
<div class='wizard_title'>
    <?php echo _('HIDS Deployment') ?>
</div>

<div class='wizard_subtitle'>
    <?php echo $confirm ?>
</div>

<div class='box_double_button'>
    <button id='cancel_deploy' class='av_b_secondary'><?php echo _('Cancel') ?></button>
    <button id='start_deploy'  class=''><?php echo _('Continue') ?></button>
</div>
        

