first commit
This commit is contained in:
25
layouts/joomla/html/treeprefix.php
Normal file
25
layouts/joomla/html/treeprefix.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Layout
|
||||
*
|
||||
* @copyright (C) 2016 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 integer $level The level of the item in the tree like structure.
|
||||
*
|
||||
* @since 3.6.0
|
||||
*/
|
||||
|
||||
if ($level > 1) {
|
||||
echo '<span class="text-muted">' . str_repeat('⋮ ', (int) $level - 2) . '</span>– ';
|
||||
}
|
||||
Reference in New Issue
Block a user