1350 |
} else { |
} else { |
1351 |
$html .= join("</p><p>", |
$html .= join("</p><p>", |
1352 |
get_from_log( |
get_from_log( |
1353 |
limit => ( $q->param('last') || $q->param('date') ) ? undef : 100, |
limit => ( $q->param('date') ? undef : $q->param('last') || 100 ), |
1354 |
search => $search || undef, |
search => $search || undef, |
1355 |
tag => $q->param('tag') || undef, |
tag => $q->param('tag') || undef, |
1356 |
date => $q->param('date') || undef, |
date => $q->param('date') || undef, |
1375 |
<p>See <a href="/history">history</a> of all messages.</p> |
<p>See <a href="/history">history</a> of all messages.</p> |
1376 |
</body></html>}; |
</body></html>}; |
1377 |
|
|
1378 |
$response->content( decode('utf-8',$html) ); |
$response->content( $html ); |
1379 |
warn "<< ", $request->method, " ", $request->uri, " created ", length($html), " bytes\n"; |
warn "<< ", $request->method, " ", $request->uri, " created ", length($html), " bytes\n"; |
1380 |
return RC_OK; |
return RC_OK; |
1381 |
} |
} |