b0y-101 Mini Shell


Current Path : E:/www/km/09/administrator/components/com_akeeba/View/Configuration/tmpl/
File Upload :
Current File : E:/www/km/09/administrator/components/com_akeeba/View/Configuration/tmpl/confwiz_modal.php

<?php
/**
 * @package   AkeebaBackup
 * @copyright Copyright (c)2006-2017 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

// Protect from unauthorized access
defined('_JEXEC') or die();

JHtml::_('behavior.modal');

/** @var \FOF30\View\DataView\Html $this */

// Make sure we only ever add this HTML and JS once per page
if (defined('AKEEBA_VIEW_JAVASCRIPT_CONFWIZ_MODAL'))
{
	return;
}

define('AKEEBA_VIEW_JAVASCRIPT_CONFWIZ_MODAL', 1);

$js = <<< JS

;// This comment is intentionally put here to prevent badly written plugins from causing a Javascript error
// due to missing trailing semicolon and/or newline in their code.
function akeeba_confwiz_modal_open()
{
	akeeba.System.configurationWizardModal = akeeba.Modal.open({
		inherit: '#akeeba-config-confwiz-bubble',
		width: '80%'
	});
};

akeeba.System.documentReady(function(){
	setTimeout('akeeba_confwiz_modal_open();', 50);
});

JS;

$this->getContainer()->template->addJSInline($js);
?>

<div id="akeeba-config-confwiz-bubble" class="modal fade" role="dialog" aria-labelledby="DialogLabel" aria-hidden="true" style="display: none;">
    <div class="modal-header">
        <h4 class="modal-title">
			<?php echo \JText::_('COM_AKEEBA_CONFIG_HEADER_CONFWIZ'); ?>
        </h4>
    </div>
    <div class="modal-body">
        <p>
			<?php echo \JText::_('COM_AKEEBA_CONFIG_LBL_CONFWIZ_INTRO'); ?>
        </p>
        <p>
            <a href="index.php?option=com_akeeba&view=ConfigurationWizard" class="btn btn-large btn-success">
                <span class="icon icon-lightning"></span>
				<?php echo \JText::_('COM_AKEEBA_CONFWIZ'); ?>
            </a>
        </p>
        <p>
			<?php echo \JText::_('COM_AKEEBA_CONFIG_LBL_CONFWIZ_AFTER'); ?>
        </p>
    </div>
    <div class="modal-footer">
        <a href="#" class="btn" onclick="akeeba.System.configurationWizardModal.close();">
            <span class="icon icon-cancel"></span>
			<?php echo \JText::_('JCANCEL'); ?>
        </a>
    </div>
</div>

Copyright © 2019 by b0y-101