220 |
push @search, $v; |
push @search, $v; |
221 |
|
|
222 |
my @only_input = param('only_input'); |
my @only_input = param('only_input'); |
223 |
push @search, '(' . join(') OR (', map { "input=$_" } @only_input) . ')' if @only_input; |
push @search, '((' . join(') OR (', map { "input=\"$_\"" } @only_input) . '))' if @only_input; |
224 |
} else { |
} else { |
225 |
push @search, "all=\"$search\""; |
push @search, "all=\"$search\""; |
226 |
} |
} |
278 |
warn "disable html markup for $attr: $@"; |
warn "disable html markup for $attr: $@"; |
279 |
$html_markup_skip->{$attr} = $@; |
$html_markup_skip->{$attr} = $@; |
280 |
} |
} |
281 |
|
} else { |
282 |
|
$v =~ s{(http://\S+)}{<a href="$1">$1</a>}; |
283 |
} |
} |
284 |
my $label = $attr_labels->{'-labels'}->{$attr} || $attr; |
my $label = $attr_labels->{'-labels'}->{$attr} || $attr; |
285 |
print qq|<div><label>$label</label><span class=$attr>$v</span></div>\n|; |
print qq|<div><label>$label</label><span class=$attr>$v</span></div>\n|; |