This commit is contained in:
2025-05-22 17:21:25 -05:00
parent 190cabfb23
commit 4eb63b1247
136 changed files with 43684 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php
/**
* @package Joomla
* @subpackage Membership Pro
* @author Tuan Pham Ngoc
* @copyright Copyright (C) 2012 - 2025 Ossolution Team
* @license GNU/GPL, see LICENSE.php
*/
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
/**
* Layout variables
*
* @var string $selector
* @var string $title
*/
defined('_JEXEC') or die;
Factory::getApplication()
->getDocument()
->getWebAssetManager()
->useScript('core');
Text::script('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST');
$message = "alert(Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'));";
?>
<button type="button" data-toggle="modal" onclick="if (document.adminForm.boxchecked.value==0){<?php echo $message; ?>}else{jQuery( '#<?php echo $selector; ?>' ).modal('show'); return true;}" class="btn btn-small">
<span class="icon-checkbox-partial" aria-hidden="true"></span>
<?php echo $title; ?>
</button>