×By using thePHPfactory.com you agree to our
use of cookies to enhance your browser experience.
i want to add nofollow in the pagination.
<?php
defined('_JEXEC') or die;
function pagination_list_render($list)
{
// Initialise variables.
$lang = JFactory::getLanguage();
$html = "<div class=\"dd-pager\">";
$html .= str_replace("pagenav", $list ? "" : "active", $list);
$html .= str_replace("pagenav", $list ? "" : "active", $list);
foreach($list as $page) {
$html .= str_replace("pagenav", !$page ? "active" : "", $page);
}
$html .= str_replace("pagenav", $list ? "" : "active", $list);
$html .= str_replace("pagenav", $list ? "" : "active", $list);
$html .= "</div>";
return $html;
}