1
0
Fork 0

merged r460,r613 from trunk

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.3@614 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.3
Xuefer 14 years ago
parent fb22e5f4a9
commit 3fa2b2a7fb
  1. 1
      ChangeLog
  2. 1
      coverager/coverager.css
  3. 4
      coverager/coverager.php

@ -2,6 +2,7 @@
== ChangeLog ==
* could not show module info in admin page when XCache is the last module
* wrong http auth realm
* coverager: font-size and newline fix for firefox
1.2.2 2007-12-29
== ChangeLog ==

@ -55,6 +55,7 @@ th a { color: black; font-weight: bold; display: block; width: 100%; height: 100
.lineNoCov { background-color: #ffe0e0; }
pre.code {
font-family: monospace;
font-size: 12px;
white-space: pre;
border: 1px solid gray;
}

@ -300,13 +300,13 @@ function sprint_cov($cov, $lines, $encode = true)
$line = str_replace("\n", "", htmlspecialchars($line));
}
if (isset($cov[$offs])) {
$lines[$l] = sprintf("<li class=\"line%sCov\"> %s\t%s</li>\n"
$lines[$l] = sprintf("<li class=\"line%sCov\"> %s\t%s\n</li>"
, $cov[$offs] ? '' : 'No'
, $cov[$offs]
, $line);
}
else {
$lines[$l] = "<li>\t$line</li>\n";
$lines[$l] = "<li>\t$line\n</li>";
}
}
return implode('', $lines);

Loading…
Cancel
Save