com web/php: Fixed styling of error message: git-php.php
| From: | sobak@php.net | 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-19175@lists.php.net to get a copy of this message | ||
Commit: d43d88e65059d90518db4570b99914b2b1347c2a
Author: Sobak <msobaczewski@gmail.com> Wed, 4 Jun 2014 09:20:50 +0200
Parents: cb20874745b7df5f1b47a1b86b9980783c2cd57e
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d43d88e65059d90518db4570b99914b2b1347c2a
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 {
?>