stas        2002/07/03 11:58:21

  Modified:    src/search search.tt
  Log:
  remove the unwanted newlines and spaces around the title caused by the
  template
  
  Revision  Changes    Path
  1.19      +7 -9      modperl-docs/src/search/search.tt
  
  Index: search.tt
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/search/search.tt,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- search.tt 1 Jul 2002 07:28:47 -0000       1.18
  +++ search.tt 3 Jul 2002 18:58:21 -0000       1.19
  @@ -29,15 +29,13 @@
   [% END %]
   
   
  -[% BLOCK title %]
  -
  -    [% IF ! search.results %]
  -        [% search.errstr || search.config('title') || "Search page" %]
  -    [% ELSE %]
  -        [% search.navigation('hits') %] Results for [[% search.query_simple 
| html %]]
  -    [% END %]
  -
  -[% END %]
  +[%- BLOCK title - %]
  +    [%- IF ! search.results -%]
  +        [%- search.errstr || search.config('title') || "Search page" -%]
  +    [%- ELSE -%]
  +        [%- search.navigation('hits') %] Results for [[% search.query_simple 
| html %]]
  +    [%- END -%]
  +[%- END -%]
   
   
   [% BLOCK swish_header %]    
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to