Change the order of the album statistics? Change the order of the album statistics?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Change the order of the album statistics?

Started by ashleyXcore, October 12, 2006, 04:03:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ashleyXcore

I want my album stats to be like so:
Images: %s
Total Images: %s
Last Updated: %s

Which would be possible if it didn't automatically sort them. It always puts "last updated" ahead of the "total files" statistic no matter what order I put them in in the english.php file. How can I change that?
"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."

ashleyXcore

"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."

Nibbler

You need to change index.php

            $alb_list[$alb_idx]['album_info'] = sprintf($lang_list_albums['n_pictures'], $count) . ($count ? sprintf($lang_list_albums['last_added'], $last_upload_date) : "") . (($CONFIG['link_pic_count'] && $link_pic_count > 0 ) ? sprintf(", {$lang_list_albums['n_link_pictures']},   {$lang_list_albums['total_pictures']}", $link_pic_count, $count + $link_pic_count) : "");

ashleyXcore

Thanks, but I saw 4 different identical sections with that in them.
Also, I don't know exactly what to change to get it to go: #of files, # of linked files, last update.
Do I edit all 4 sections?
"There are many kinds of eyes. Even the sphinx has eyes — and consequently there are many kinds of 'truths', and consequently there is no truth."