]> git.pld-linux.org Git - projects/buildlogs.git/commitdiff
- match "error:" and "errors:" for less FP
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 8 Feb 2012 21:03:01 +0000 (21:03 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 8 Feb 2012 21:03:01 +0000 (21:03 +0000)
index.php

index 7de6fb8c7be4f05f6f2261d9ffbaac2d9bb355d2..8a688a2d9184a192190494499d76b0506850c189 100644 (file)
--- a/index.php
+++ b/index.php
@@ -355,7 +355,7 @@ function dump_log($tail)
                }
                $s = htmlspecialchars($s);
                // highlight errors
-               if (strstr($s, "error")) {
+               if (preg_match("/errors?:/i", $s)) {
                        $s = "<span class=error>$s</span>";
                }
                echo $s;
@@ -441,7 +441,7 @@ function list_archs()
                "alt=\""._("Powered by PLD Linux")."\" border=\"0\" /></a><br />\n" .
             "<small>(c) 2002 ".
             "<a href=\"mailto:feedback@pld-linux.org\">PLD&nbsp;Team</a><br />\n".
-            '$Revision: 1.14 $'.
+            '$Revision: 1.15 $'.
             "</small></div>\n";
 
        # smile ;)
@@ -814,7 +814,7 @@ function welcome()
 <!-- ech... niech strace... -->
 <a href="mailto:feedback@pld-linux.org"><?=_("to us")?></a>. <?=_("Positive opinions are also")?>
 <a href="mailto:feedback@pld-linux.org"><?=_("welcome")?></a> ;)</p>
-<p>Version: $Id: index.php,v 1.14 2010/05/24 07:09:49 adamg Exp $</p>
+<p>Version: $Id: index.php,v 1.15 2012/02/08 13:25:08 glen Exp $</p>
 </td><td width="20%">&nbsp;</td></tr>
 </table>
 <?php
This page took 0.088269 seconds and 4 git commands to generate.