[rt-users] img tag

Szalai Balázs list-reader at crowd.hu
Tue Jun 24 12:17:10 EDT 2008


Hi,

I would like it to substitute the "<" "<<" ">" ">>" in the searchtab  
onto an image,
but the "<" "<<" ">" ">>" will be a '<' or '&gt' if I try to edit  
the /usr/share/request-tracker3.6/html/Ticket/Elements/Tabs.

In which file it is possible to modify this the converting manner?

Example:

         # Don't display next links if we're on the last ticket
         if ($item_map->{$Ticket->Id}->{next}) {
             $searchtabs->{'d'} = { class => "nav",
                             path => "Ticket/Display.html?id=" .  
$item_map->{$Ticket->Id}->{next},
                              title =>  loc('Next')  . '<img  
src=next.png>'  };
             $searchtabs->{'e'} = {
                            class => "nav",
                            path => "Ticket/Display.html?id=" .  
$item_map->{last},
                            title => loc('Last') . ' >>' };
         }


HTML source:

   <ul id="page-menu" class="actions-present">
     <div><div><div>

	.....
     <li>· <a href="/rt3/Ticket/Display.html?id=193">Next <  
src=next.pngb></a></li>
	.....

     </div></div></div>
   </ul>



Thanks!

Balazs Szalai




More information about the rt-users mailing list