Author: suokko
Date: Mon Sep  1 13:48:07 2008
New Revision: 29160

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29160&view=rev
Log:
Fixed test errors not to be overwriten from same build.
Fixed image link in header to go to front page

Modified:
    branches/resources/tests.wesnoth.org/include/TestError.php
    branches/resources/tests.wesnoth.org/smarty_workdir/templates/header.tpl

Modified: branches/resources/tests.wesnoth.org/include/TestError.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/tests.wesnoth.org/include/TestError.php?rev=29160&r1=29159&r2=29160&view=diff
==============================================================================
--- branches/resources/tests.wesnoth.org/include/TestError.php (original)
+++ branches/resources/tests.wesnoth.org/include/TestError.php Mon Sep  1 
13:48:07 2008
@@ -44,11 +44,13 @@
                                        AND t.file=?
                                        AND t.error_msg=?
                                        AND t.last_id=b.id
+                                       AND b.id < ?
                                        AND b.time > ?
                                        LIMIT 1',
                                        array($this->error_type,
                                                  $this->file,
                                                  $this->error_msg,
+                                                 $build->getId(),
                                                  $this->db->DBTimeStamp(time() 
- 24*60*60)
                                                ));
                        if (!$result->EOF())

Modified: 
branches/resources/tests.wesnoth.org/smarty_workdir/templates/header.tpl
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/resources/tests.wesnoth.org/smarty_workdir/templates/header.tpl?rev=29160&r1=29159&r2=29160&view=diff
==============================================================================
--- branches/resources/tests.wesnoth.org/smarty_workdir/templates/header.tpl 
(original)
+++ branches/resources/tests.wesnoth.org/smarty_workdir/templates/header.tpl 
Mon Sep  1 13:48:07 2008
@@ -25,7 +25,7 @@
 
 <div id="header">
   <div id="logo">
-    <a href="home"><img alt="Wesnoth logo" 
src="http://www.wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg"; /></a>
+    <a href="http://www.wesnoth.org/";><img alt="Wesnoth logo" 
src="http://www.wesnoth.org/mw/skins/glamdrol/wesnoth-logo.jpg"; /></a>
   </div>
 
 </div>


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to