Commit:    d43d88e65059d90518db4570b99914b2b1347c2a
Author:    Sobak <msobaczew...@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 {
 ?>


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

Reply via email to