Server IP : 195.201.23.43 / Your IP : 3.147.71.207 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/kdecoratie/public_html/templates/beez3/html/mod_breadcrumbs/ |
Upload File : |
<?php /** * @package Joomla.Site * @subpackage Templates.beez3 * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <div class = "breadcrumbs<?php echo $moduleclass_sfx; ?>"> <?php if ($params->get('showHere', 1)) { echo '<span class="showHere">' .JText::_('MOD_BREADCRUMBS_HERE').'</span>'; } // Get rid of duplicated entries on trail including home page when using multilanguage for ($i = 0; $i < $count; $i++) { if ($i === 1 && !empty($list[$i]->link) && !empty($list[$i - 1]->link) && $list[$i]->link === $list[$i - 1]->link) { unset($list[$i]); } } // Find last and penultimate items in breadcrumbs list end($list); $last_item_key = key($list); prev($list); $penult_item_key = key($list); // Generate the trail foreach ($list as $key => $item) : // Make a link if not the last item in the breadcrumbs $show_last = $params->get('showLast', 1); if ($key !== $last_item_key) { // Render all but last item - along with separator if (!empty($item->link)) { echo '<a href="' . $item->link . '" class="pathway">' . $item->name . '</a>'; } else { echo '<span>' . $item->name . '</span>'; } if ($key !== $penult_item_key || $show_last) { echo ' '.$separator.' '; } } elseif ($show_last) { // Render last item if reqd. echo '<span>' . $item->name . '</span>'; } endforeach; ?> </div>Private