Where phpbb2 find "folder_img" is "the_name.gif"
Posted: Thu Jul 03, 2008 10:37 am
Hi, I want to custom the display of the forum folder images depending the season, but not by changing theme manually.
- For the "season" part, getMonth() is my friend, no problem here.
- For the images part, I started searching in the index_body.tpl which gave me the "FORUM_FOLDER_IMG" string.
I've browsed various files and found in some (index.php, viewforum.php) that this string was lead by "$folder_image", and this one by $images['whatever']. And from that point I'm stuck, I can't find where the system figure out that $images['whatever'] is equal to whatever.gif
(W/o that, pretty tough to add a month conditionnal function on that whatever.gif )
Any one know where the images filenames are stored within the system ?
- For the "season" part, getMonth() is my friend, no problem here.
- For the images part, I started searching in the index_body.tpl which gave me the "FORUM_FOLDER_IMG" string.
I've browsed various files and found in some (index.php, viewforum.php) that this string was lead by "$folder_image", and this one by $images['whatever']. And from that point I'm stuck, I can't find where the system figure out that $images['whatever'] is equal to whatever.gif
(W/o that, pretty tough to add a month conditionnal function on that whatever.gif )
Any one know where the images filenames are stored within the system ?