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&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/"/\"/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