com web/news: Fix error message not being displayed with the new layout: common.php

From: Date: Sat, 22 Jul 2017 11:37:35 +0000
Subject: com web/news: Fix error message not being displayed with the new layout: common.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26199@lists.php.net to get a copy of this message
Commit: b980e41e829c414cf86d221508f76dd8a000a952 Author: Mehdi Achour <machour@gmail.com> 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(); }

« previous php.webmaster (#26199) next »