Hi:
As the title says, I need to know in where php source file is defined this variable. This variable defines the icon for the kind of topic it is.
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ftopic%2Fmy_normal_post.gif&hash=55a4192244c67fa07e9d12acd7254fc7fb15981d)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ftopic%2Fnormal_post.gif&hash=5d3c91af7d8f18020d296d412e2067cfbf8a31e4)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ftopic%2Fhot_post.gif&hash=b2148371ee709a401842e478b965c11e50057181)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ftopic%2Fveryhot_post.gif&hash=80cc9d02b962f34734b41e88d0f020ad58b512c9)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ficons%2Fquick_lock.gif&hash=2c55268c698b22d81e53ab5d48297e0d95a75353)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ficons%2Fquick_sticky.gif&hash=d4e4cf9d3c25fef090975f62e1bf25ad6d17c770)
- (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmedia.simplemachinesweb.com%2Fsmf%2Fdefault%2Fimages%2Ftopic%2Fnormal_poll.gif&hash=ecd55111b07970ad555fb92ebc46136828cd8124)
I do want to set a custom html tag, a <span> instead of an <img>, in order to make it look consistent with a bootstrap theme I'm doing. Thanks for your support.
HUGSS!!
it depends where you are using it...
the icon is definitely defined in messageindex.template.php
but it may also be be defined in other palces that use the icon.
that variable is not filled unless a message or thread is being loade.d..
Quote from: Kindred on August 15, 2016, 03:20:31 PM
it depends where you are using it...
the icon is definitely defined in messageindex.template.php
but it may also be be defined in other palces that use the icon.
that variable is not filled unless a message or thread is being loade.d..
I've checked that php file and the only way I see this variable array defined is in the $context['topic'] @messageindex.template.php is with the function "determineTopicClass($context['topics'][$row['id_topic']])".
Where is this function defined?
EDIT: it's found @subs.php.
Well, yes... But the contents change in nearly every source files as different pages are loaded.