<?php
/** 
 * @package JREALTIMEANALYTICS::EVENTSTATS::administrator::components::com_jrealtimeanalytics
 * @subpackage views
 * @subpackage eventstats
 * @subpackage tmpl
 * @author Joomla! Extensions Store
 * @copyright (C) 2014 - Joomla! Extensions Store
 * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html  
 */
defined ( '_JEXEC' ) or die ( 'Restricted access' );
use Joomla\CMS\Language\Text;
?>
<div class="card card-default accordion-group accordion-custom-params">
	<div class="card-header accordion-heading opened">
		<div class="accordion-toggle noaccordion">
			<h4><span class="icon-pencil" aria-hidden="true"></span><?php echo Text::_( 'COM_JREALTIME_EVENT_SETTINGS' ); ?></h4>
		</div>
	</div>
	
	<div id="minpagesparams" class="card-body card-block accordion-body configform">
		<div class="accordion-inner">
			<div class="control-group">
				<div class="control-label">
					<label for="minpages" class="hasPopover" data-bs-content="<?php echo Text::_('COM_JREALTIME_MINPAGES_DESC');?>" ><?php echo Text::_('COM_JREALTIME_MINPAGES');?></label>
				</div>
				<div class="controls"> 
					<div class="input-group">
						<span class="input-group-text"><span class="icon-pencil-2" aria-hidden="true"></span></span>
						<input type="number" class="inputbox" name="params[minpages]" id="minpages" data-validation="required numbers" value="<?php echo $this->record->params->get('minpages', null);?>" aria-describedby="minpages_arialbl"/>
					</div>
					<small id="minpages_arialbl" class="form-text text-muted"><?php echo Text::_('COM_JREALTIME_MINPAGES_DESC')?></small>
				</div>
			</div>
			
			<div class="control-group">
				<div class="control-label">
					<label for="componentslist" class="hasPopover" data-bs-content="<?php echo Text::_('COM_JREALTIME_MINPAGES_COMPONENT_SCOPE_DESC');?>" ><?php echo Text::_('COM_JREALTIME_MINPAGES_COMPONENT_SCOPE');?></label>
				</div>
				<div class="controls">
					<div aria-describedby="choosecomponentslist_arialbl">
						<?php echo $this->lists['extensions'];?>
					</div>
					<small id="choosecomponentslist_arialbl" class="form-text text-muted"><?php echo Text::_('COM_JREALTIME_MINPAGES_COMPONENT_SCOPE_DESC')?></small>
				</div>
			</div>
		</div>
	</div>
</div>
