search in lang/english:
$lang['paging_stats'] = "Found: {total_cat_images} image(s) on {total_pages} page(s). Displayed: image {first_page} to {last_page}.";
insert below:
$lang['paging_stats2'] = "{first_page} to {last_page}.";
search in categories.php:
"paging_stats" => $getpaging->get_paging_stats()
replace:
"paging_stats" => $getpaging->get_paging_stats(),
"paging_stats2" => $getpaging->get_paging_stats2()
search in includes/paging.php:
$this->desc = $lang['paging_stats'];
insert below:
$this->desc2 = $lang['paging_stats2'];
search:
return $this->desc;
}
insert below:
function get_paging_stats2() {
global $site_template;
$search_array = array(
"/".$site_template->start."first_page".$site_template->end."/iU",
"/".$site_template->start."last_page".$site_template->end."/iU"
);
$replace_array = array(
$this->first,
$this->last
);
$this->desc2 = preg_replace($search_array, $replace_array, $this->desc2);
return $this->desc2;
}
now, you can write in categories.html : {paging_stats2}
mfg Andi