From 28f293621b35294dc7df9a98a1514c58a9a08fe1 Mon Sep 17 00:00:00 2001 From: Sjur Hernes Date: Mon, 28 May 2012 04:41:50 +0200 Subject: [PATCH] frivilligfix --- wp-content/plugins/studio-blimed.php | 10 +++------- wp-content/themes/studio12/style.css | 7 ++++++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/wp-content/plugins/studio-blimed.php b/wp-content/plugins/studio-blimed.php index edf3a8d..a0f9246 100644 --- a/wp-content/plugins/studio-blimed.php +++ b/wp-content/plugins/studio-blimed.php @@ -80,12 +80,12 @@ Template Name: blimed ); if ($settinnidb) { - $backspinn = 'Du er nå registrert'; + echo '
Du er nå registrert
'; // TODO MAILER!! - } else $backspinn = 'Beklager teknisk feil, sjekk verdiene og prøv på nytt'; - } else $backspinn = 'Du må oppgi navn, epost, tlf og minst et arbeidsområde'; + } else echo '
Beklager teknisk feil, sjekk verdiene og prøv på nytt
'; + } else echo '
Du må oppgi navn, epost, tlf og et arbeidsområde
'; } echo '
@@ -108,10 +108,6 @@ Template Name: blimed
'; - - - if ($backspinn != '') echo $backspinn; - else echo 'Bli med'; } add_shortcode('blimed_form', 'blimed_form'); diff --git a/wp-content/themes/studio12/style.css b/wp-content/themes/studio12/style.css index ea52fd7..f2a5207 100644 --- a/wp-content/themes/studio12/style.css +++ b/wp-content/themes/studio12/style.css @@ -142,7 +142,6 @@ hr { width: 60%; } } #countdown h2 { color: #FFF; - text-shadow: 1px 2px #000; margin: 0; } @@ -279,4 +278,10 @@ input#saveForm { width: 240px; } +#blimed_tilbake_ok { + background-color: rgb(111, 190, 70); +} +#blimed_tilbake_fail { + background-color: red; +} \ No newline at end of file