Im adding graphical toolbar icons in place of many current items.
For instance, im replacing the < and > Next/Back links in the "Bug_view_advanced_page.php" with icons.
I got the icons working no problem (line 86), but the difficulty im encountering is that i want to get rid of the enclosing "[" and "]" characters and add in a tooltip for the link, and i cant find where this is being drawn from. Apparently i need to find the function "print_bracket_link" but i cant find it in the obvious places (such as html_api.php), nor in the include files linked therein.
Does anyone know where this function resides?
...or maybe theres a better way to approach this than messing with these files (im certainly no php guru). thanks anyone!
Modifying the graphical UI
Moderators: Developer, Contributor
Thanks Narcissus!
Works great now.
Once again, your input as always is right on the mark and very highly appreciated!
Player,
In addition to removing the bracket characters per Narcissus' advice, All i did was tweak the html part by adding this to the 'bug_view_advanced_page.php' around line 87 where it has:
if(isset($t_bugslist[$t_index]))print_bracket_link('bug_view_advanced_page.php?bug_id='.$t_bugslist[$t_index-1],'<<'>');
i just replaced the '<<' with a image link: '<img src="images/up.gif" border=0>'
I made my own, but there already are two somewhat suitable 'up' and 'down' images already are included in mantis under those names, but for some reason they declined to use it, i cant figure why, since its still better than the text chars, imho. Im using Mantis 1.01, so i dont know if any of this code has changed in 1.03 since ive been too busy/lazy to take the time to merge all my changes. so the line number i hope are close enough.
Works great now.
Once again, your input as always is right on the mark and very highly appreciated!
Player,
In addition to removing the bracket characters per Narcissus' advice, All i did was tweak the html part by adding this to the 'bug_view_advanced_page.php' around line 87 where it has:
if(isset($t_bugslist[$t_index]))print_bracket_link('bug_view_advanced_page.php?bug_id='.$t_bugslist[$t_index-1],'<<'>');
i just replaced the '<<' with a image link: '<img src="images/up.gif" border=0>'
I made my own, but there already are two somewhat suitable 'up' and 'down' images already are included in mantis under those names, but for some reason they declined to use it, i cant figure why, since its still better than the text chars, imho. Im using Mantis 1.01, so i dont know if any of this code has changed in 1.03 since ive been too busy/lazy to take the time to merge all my changes. so the line number i hope are close enough.