Commit:    b980e41e829c414cf86d221508f76dd8a000a952
Author:    Mehdi Achour <[email protected]>         Sat, 22 Jul 2017 12:37:35 
+0100
Parents:   4251bf4155454e93bc53dcec7755817ff4416eb3
Branches:  master

Link:       
http://git.php.net/?p=web/news.git;a=commitdiff;h=b980e41e829c414cf86d221508f76dd8a000a952

Log:
Fix error message not being displayed with the new layout

Changed paths:
  M  common.php


Diff:
diff --git a/common.php b/common.php
index 2ea62fb..e9988f1 100644
--- a/common.php
+++ b/common.php
@@ -12,7 +12,7 @@ define('NNTP_HOST', $NNTP_HOST);
 
 function error($str) {
        head("PHP news : error");
-       echo "<blockquote><strong>Error:</strong> 
".to_utf8($str)."</blockquote>\n";
+       echo "<section class=\"content\"><blockquote><strong>Error:</strong> 
".to_utf8($str)."</blockquote></section>\n";
        foot();
        die();
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to