1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fixed styling of error message

This commit is contained in:
Sobak
2014-06-04 09:20:50 +02:00
parent cb20874745
commit d43d88e650

View File

@@ -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 {
?>