com web/php: Fixed styling of error message: git-php.php
| From: | Paul Dragoonis | Date: | Wed, 04 Jun 2014 07:20:50 +0000 |
| Subject: | com web/php: Fixed styling of error message: git-php.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22009@lists.php.net to get a copy of this message | ||
Commit: 528a75ddfa0a10865f4cd54a714bc00e32b9b6b6
Author: Sobak <msobaczewski@gmail.com> Wed, 4 Jun 2014 09:20:50 +0200
Parents: e3fa4717dc9f9b4b02d7823c4a35c7068bbd4bcf
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=528a75ddfa0a10865f4cd54a714bc00e32b9b6b6
Log:
Fixed styling of error message
Changed paths:
M git-php.php
Diff:
diff --git a/git-php.php b/git-php.php
index f193ece..63475e6 100644
--- a/git-php.php
+++ b/git-php.php
@@ -1,5 +1,4 @@
<?php
-// $Id$
$_SERVER['BASE_PAGE'] = 'git-php.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend..inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/email-validation.inc';
@@ -107,7 +106,7 @@ if (count($_POST) && (!isset($_POST['purpose']) ||
!is_array($_POST['purpose'])
// Some error was found, while checking or submitting the data
if ($error) {
- echo "<p class=\"formerror\">$error</p>";
+ echo "<div
class=\"warning\"><p>$error</p></div>";
}
else {
?>