CoreFiles by mySites.guru
toc.php33 lines, 787 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
52be71d5ca387afc4bf95aac8879510c
sha1
0f89502b24736874237428b7f4d519cd06a04d94
sha256
271dce0bfa7d9858beafbc56ee4f2a60ce59f2cbd51a858248e7626ca9cf8a68
<?php
/**
 * @package     Joomla.Plugin
 * @subpackage  Content.pagebreak
 *
 * @copyright   (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Router\Route;

?>
<div class="card float-end article-index">
	<div class="card-body">

		<?php if ($headingtext) : ?>
		<h3><?php echo $headingtext; ?></h3>
		<?php endif; ?>

		<ul class="nav flex-column">
		<?php foreach ($list as $listItem) : ?>
			<?php $class = $listItem->active ? ' active' : ''; ?>
			<li>
				<a href="<?php echo Route::_($listItem->link); ?>" class="toclink<?php echo $class; ?>">
					<?php echo $listItem->title; ?>
				</a>
			</li>
		<?php endforeach; ?>
		</ul>
	</div>
</div>

No other release has this exact content. See every version of this file.