Project

General

Profile

Bug #2052 ยป 2052.patch

krileon, 16 November 2010 15:03

View differences:

administrator/components/com_comprofiler/comprofiler.class.php
*/
function writePagesLinks($limitstart, $limit, $total,$ue_base_url,$search=null,$prefix='') {
global $_CB_framework;
$limitstart = max( (int) $limitstart, 0 );
$limit = max( (int) $limit, 1 );
$total = (int) $total;
......
$stop_loop = $total_pages;
}
$ue_base_url = str_replace( $_CB_framework->getCfg( 'live_site' ) . '/', '', $ue_base_url );
if ($this_page > 1) {
$page = ($this_page - 2) * $limit;
$ret .= "\n<a class=\"pagenav\" href=\"".cbSef($ue_base_url.$limstart_str.'0'.$search_str)."\" title=\"" . _UE_FIRST_PAGE . "\">&lt;&lt; " . _UE_FIRST_PAGE . "</a>";
    (1-1/1)