Re: [Announce] xxv-1.3 - Feature release (1.4 rc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Am Dienstag, den 21.04.2009, 19:35 +0300 schrieb Andrey Kuzmin:
> Channel  name  is  truncated  in  tree,

I see your channel name are complete truncated.
I haven't any idea why this on your installation happens. Yes, longer
text-strings are truncated, e.g. from xxv-template file html/help.tmpl
like follow line :


programgroup<?% CNT %?>.add( 
    new WebFXTreeItem("<?% escape(chop(ch.0,10)) %?>",   
                      "?cmd=program&amp;data=<?% ch.1 %?>"));

This functions are callback into perl lib/XXV/OUTPUT/Html.pm

       # Escape strings for javascript
        escape => sub{ 
              my $s = shift; # string
              $s =~ s/\r//g;
              $s =~ s/\n//g;
              $s =~ s/&quot;/\\&quot;/g;
              $s =~ s/\'/\\\'/g;
              return $s;
        },

        # truncate string with entities
        chop => sub{
        	my $s = shift; # string
        	my $c = shift; # count
        	my $l = shift || 0; # lines
...



I hope this help a little bit,
Andreas

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux