/[webpac2]/Webpacus/lib/Webpacus/Controller/Output.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Controller/Output.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 199 by dpavlin, Wed Nov 30 23:15:28 2005 UTC revision 201 by dpavlin, Thu Dec 1 13:58:04 2005 UTC
# Line 8  use base qw/WebPAC::Common/; Line 8  use base qw/WebPAC::Common/;
8  use Template;  use Template;
9  use List::Util qw/first/;  use List::Util qw/first/;
10  use Data::Dumper;  use Data::Dumper;
11  use URI::Escape;  use URI::Escape qw/uri_escape_utf8/;
12    
13  =head1 NAME  =head1 NAME
14    
# Line 16  WebPAC::Output::TT - use Template Toolki Line 16  WebPAC::Output::TT - use Template Toolki
16    
17  =head1 VERSION  =head1 VERSION
18    
19  Version 0.02  Version 0.03
20    
21  =cut  =cut
22    
23  our $VERSION = '0.02';  our $VERSION = '0.03';
24    
25  =head1 SYNOPSIS  =head1 SYNOPSIS
26    
# Line 196  filter to return links to search, usage Line 196  filter to return links to search, usage
196                                          } else {                                          } else {
197                                                  $s = $item->{'search'}->[0];                                                  $s = $item->{'search'}->[0];
198                                          }                                          }
199                                          $s = uri_escape( $s );                                          #$s =~ s/([^\w.-])/sprintf("%%%02X",ord($1))/eg;
200                                            $s = uri_escape_utf8( $s );
201    
202                                          my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display";                                          my $d = $item->{'display'}->[$i] || die "can't find value $i for type display in field $display";
203    

Legend:
Removed from v.199  
changed lines
  Added in v.201

  ViewVC Help
Powered by ViewVC 1.1.26