4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: IndoX on May 06, 2015, 05:07:26 AM
-
Hello,
I've been searching but haven't found a solution.
Right now my images show up as XXXXX and not XX,XXX. I would like to have them in number format for {lang_site_stats} and {num_images}
Regards,
Indo
-
Welcome to the Forum!
search in includes/page_header.php:
"total_categories" => $total_categories,
"total_images" => $total_images,
and replace:
"total_categories" => number_format($total_categories),
"total_images" => number_format($total_images),
search in includes/functions.php:
"num_images" => $num_images
and replace:
"num_images" => number_format($num_images)
and for the "categories.hmtl" search in includes/paging.php:
$replace_array = array(
$this->num_rows_all,
$this->total_pages,
$this->first,
$this->last
and replace:
$replace_array = array(
number_format($this->num_rows_all),
number_format($this->total_pages),
$this->first,
$this->last
mfg Andi
-
Worked perfectly! Thanks!