Img tag

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’) . ‘’ };
$searchtabs->{‘e’} = {
class => “nav”,
path => “Ticket/Display.html?id=” .
$item_map->{last},
title => loc(‘Last’) . ’ >>’ };
}

HTML source:

    .....
     <li>&#183; <a href="/rt3/Ticket/Display.html?id=193">Next &lt;  
    

    src=next.pngb>

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

    Thanks!

    Balazs Szalai

I think there is no way to do that without more hacking. This strings
are escaped later.On Tue, Jun 24, 2008 at 8:17 PM, Szalai Balázs list-reader@crowd.hu wrote:

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’) . ‘’ };
$searchtabs->{‘e’} = {
class => “nav”,
path => “Ticket/Display.html?id=” .
$item_map->{last},
title => loc(‘Last’) . ’ >>’ };
}

HTML source:

       .....
    <li>&#183; <a href="/rt3/Ticket/Display.html?id=193">Next &lt;
    

    src=next.pngb>

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

Thanks!

Balazs Szalai


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.