From: Platonides Date: Tue, 22 May 2018 18:08:44 +0000 (+0200) Subject: Movido estilo de los errores al fichero css X-Git-Url: http://gitweb.wikimedia.es/?a=commitdiff_plain;h=621a5614438439b0d510e45cadaf67260edb3ab6;p=inscripciones%2Finscribirse Movido estilo de los errores al fichero css --- diff --git a/html/eventos.css b/html/eventos.css index 2c648cb..02f288f 100644 --- a/html/eventos.css +++ b/html/eventos.css @@ -10,4 +10,6 @@ select { font-family: liberation sans, trebuchet ms, sans-serif; } table { border-spacing: 0px; border-collapse: separate; } td { padding: 12px; } th { padding: 12px; } -.lopd { font-size: 80% } \ No newline at end of file +.lopd { font-size: 80% } + +.error { color: red; font-weight: bold } diff --git a/html/inscripcion.php b/html/inscripcion.php index 4e92c6a..544bc2c 100644 --- a/html/inscripcion.php +++ b/html/inscripcion.php @@ -288,11 +288,11 @@ EOT; file_put_contents ("inscripcion.log", gmdate ("Y-m-d H:i:s") . " {$Marca} Alta de {$Cod} - {$U} - {$E} - " . implode (",", $GruposI) . $Extra . "\n", FILE_APPEND); unset ($_POST); } else { - $Mensaje = "

" . (count ($Error) == 1 ? "Error" : "Errores") . ": "; + $Mensaje = "

" . (count ($Error) == 1 ? "Error" : "Errores") . ": "; if (count ($Error) == 1) { $Mensaje .= htmlspecialchars (implode (" ", $Error)) . "

"; } else { - $Mensaje .= "

\n