git.cweiske.de
/
bdrem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add stopOnEmpty and date parameters
[bdrem.git]
/
src
/
bdrem
/
Renderer
/
Html.php
diff --git
a/src/bdrem/Renderer/Html.php
b/src/bdrem/Renderer/Html.php
index af48e0ea179da6cb5279995b525a6ab5395fa52b..637a8389d1599bfb23b68f8670589284641cbdd5 100644
(file)
--- a/
src/bdrem/Renderer/Html.php
+++ b/
src/bdrem/Renderer/Html.php
@@
-5,6
+5,11
@@
class Renderer_Html extends Renderer
{
protected $httpContentType = 'application/xhtml+xml; charset=utf-8';
+ public function handleStopOnEmpty()
+ {
+ header('HTTP/1.0 204 No Content');
+ }
+
public function render($arEvents)
{
$tr = new Renderer_HtmlTable();