CoreFiles by mySites.guru
addtab.php21 lines, 804 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
0e3de4459d26f0fee932b3f0104ff053
sha1
ca6ee6cfec3307f11f73e80f2543867dab65b68d
sha256
df282c3517da6a6047ac9e81000402b845baab3f15082f86e9c8f8226196a9a0
<?php

/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$id       = empty($displayData['id']) ? '' : $displayData['id'];
$active   = empty($displayData['active']) ? '' : $displayData['active'];
$title    = empty($displayData['title']) ? '' : $displayData['title'];
?>
<div id="<?php echo preg_replace('/^[\.#]/', '', $id); ?>"
    class="tab-pane<?php echo $active; ?>"
    data-active="<?php echo trim(htmlspecialchars($active, ENT_COMPAT, 'UTF-8')); ?>"
    data-id="<?php echo  htmlspecialchars($id, ENT_COMPAT, 'UTF-8'); ?>"
    data-title="<?php echo htmlspecialchars($title, ENT_COMPAT, 'UTF-8'); ?>">

The same content is in 230 releases, Joomla 4.2.0-beta3 to 6.2.1-rc1. See them all, or every version of this file.