first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright (C) 2014 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
extract($displayData);
/**
* Layout variables
* -----------------
* @var string $text The label text
* @var string $for The id of the input this label is for
* @var boolean $required True if a required field
* @var array $classes A list of classes
*/
$classes = array_filter((array) $classes);
$id = $for . '-lbl';
if ($required) {
$classes[] = 'required';
}
?>
<label id="<?php echo $id; ?>" for="<?php echo $for; ?>"<?php if (!empty($classes)) {
echo ' class="' . implode(' ', $classes) . '"';
} ?>>
<?php echo $text; ?><?php if ($required) :
?><span class="star" aria-hidden="true">&#160;*</span><?php
endif; ?>
</label>