Ignore:
Timestamp:
Apr 16, 2004, 11:19:30 AM (18 years ago)
Author:
Earle Martin
Message:

remove newlines in searchbox macro output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Utils.pm

    r343 r344  
    105105    my %macros = (
    106106        '@SEARCHBOX' =>
    107             qq(<form action="$search_url" method="get">
    108                <input type="text" size="20" name="search">
    109                <input type="submit" name="Go" value="Search"></form>),
     107            qq(<form action="$search_url" method="get"><input type="text" size="20" name="search"><input type="submit" name="Go" value="Search"></form>),
    110108        qr/\@INDEX_LINK\s+\[\[(Category|Locale)\s+([^\]|]+)\|?([^\]]+)?\]\]/ =>
    111109            sub { my $link_title = $_[2] || "View all pages in $_[0] $_[1]"; return qq(<a href="$script_name?action=index;index_type=) . uri_escape(lc($_[0])) . qq(;index_value=) . uri_escape($_[1]) . qq(">$link_title</a>)
Note: See TracChangeset for help on using the changeset viewer.