[rt-users] img tag
Ruslan Zakirov
ruz at bestpractical.com
Tue Jun 24 13:17:28 EDT 2008
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 at crowd.hu> wrote:
> Hi,
>
> I would like it to substitute the "<" "<<" ">" ">>" in the searchtab
> onto an image,
> but the "<" "<<" ">" ">>" will be a '<' or '>' 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
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at 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.
More information about the rt-users
mailing list