Spade

Mini Shell

Directory:~$ /home/lmsyaran/www/components/com_helpdeskpro/View/fieldlayout/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/components/com_helpdeskpro/View/fieldlayout/controlgroup.php

<?php
/**
 * @package        Joomla
 * @subpackage     OSMembership
 * @author         Tuan Pham Ngoc
 * @copyright      Copyright (C) 2012 - 2021 Ossolution Team
 * @license        GNU/GPL, see LICENSE.php
 */

defined('_JEXEC') or die;

$controlGroupClass = $bootstrapHelper ?
$bootstrapHelper->getClassMapping('control-group') :
'control-group';
$controlLabelClass = $bootstrapHelper ?
$bootstrapHelper->getClassMapping('control-label') :
'control-label';
$controlsClass     = $bootstrapHelper ?
$bootstrapHelper->getClassMapping('controls') :
'controls';

if ($tableLess)
{
?>
    <div class="<?php echo $controlGroupClass; ?>"
<?php echo $controlGroupAttributes ?>>
        <div class="<?php echo $controlLabelClass
?>">
			<?php echo $label; ?>
        </div>
        <div class="<?php echo $controlsClass; ?>">
			<?php echo $input; ?>
        </div>
    </div>
<?php
}
else
{
?>
    <tr <?php echo $controlGroupAttributes; ?>>
        <td class="key">
			<?php
			echo $row->title;

			if ($row->required)
			{
				?>
                <span class="required">*</span>
				<?php
			}
			?>
        </td>
        <td>
			<?php echo $input; ?>
        </td>
    </tr>
<?php
}