treeprefix.php
583 Bytes
<?php
/**
* @package Joomla.Libraries
* @subpackage HTML
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('JPATH_BASE') or die;
/**
* Layout variables
* ---------------------
*
* @var integer $level The level of the item in the tree like structure.
*
* @since 3.6.0
*/
extract($displayData);
if ($level > 1)
{
echo '<span class="muted">' . str_repeat('┊ ', (int) $level - 2) . '</span>– ';
}