CoreFiles by mySites.guru
toc.php33 lines, 789 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
b595b9b6a94b310dbc23c2870a4f10f9
sha1
b4c3fc82568ab58385d16757e71662062bdab6bd
sha256
e7466af3a8e447d3c00e90176e0fd04cb10bb0b4039ce3ea73b332a933a56e86
<?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-right 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.