<?php

/** 
 *------------------------------------------------------------------------------
 * @package       T4 Page Builder for Joomla!
 *------------------------------------------------------------------------------
 * @copyright     Copyright (C) 2004-2020 JoomlArt.com. All Rights Reserved.
 * @license       GNU General Public License version 2 or later; see LICENSE.txt
 * @authors       JoomlArt
 * @forum:		  https://www.joomlart.com/forums/t/t4-builder
 * @Link:         https://demo.t4-builder.joomlart.com/
 *------------------------------------------------------------------------------
 */
// check if need separated layout for Joomla 3!

use Joomla\CMS\Language\Text;

if (($j3 = \JPB\Helper\Layout::j3(__FILE__))) {
	include $j3;
	return;
}
defined('_JEXEC') or die;
$attrDismis = version_compare(JVERSION, '4', 'ge') ? " data-bs-dismiss='modal' " : ' data-dismiss="modal" ';
?>
<button type="button" class="btn btn-secondary"<?php echo $attrDismis;?>><?php echo Text::_("JCANCEL");?></button>
 <button type="button" class="btn btn-primary btn-create-newpage"><?php echo Text::_("COM_T4PAGEBUILDER_CREATE_NEW_PAGE");?></button>