[guadec-web] registration: More style fixes



commit ac8dc2b94ec3418fcb117ad7537600a50ee65638
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Jul 4 19:13:25 2013 +0200

    registration: More style fixes

 wordcamp-base/template-registration.php |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/wordcamp-base/template-registration.php b/wordcamp-base/template-registration.php
index 4c6ea6c..6f8e50b 100644
--- a/wordcamp-base/template-registration.php
+++ b/wordcamp-base/template-registration.php
@@ -77,13 +77,15 @@ function put_registration_form($reg, $info)
     echo "<input type=submit name=update value='Update'/>";
     echo "<span style='margin: 0 3em'>Amount to pay: <strong>$amount CZK</strong></span>";
     echo "<input type=submit name=finish value='Finish'/>";
-    echo "<div style='font-size: 80%; line-height: 130%; margin: 1em 0 1em' >" .
-         "• You'll be taken to gopay.cz, a Czech on-line payments service " .
-         "whose terms of contract, protection principles of personal data " .
-         "privacy and AML rules are available in Czech only. If you are not " .
-         "confortable with this and don't want to rely on an on-line " .
-         "translation service please contact us at the above mentioned address." .
-         "</div>";
+    if ($amount > 0) {
+      echo "<div style='font-size: 80%; line-height: 130%; margin: 1em 0 1em; width: 55%' >" .
+        "• You'll be taken to gopay.cz, a Czech on-line payments service " .
+        "whose terms of contract, protection principles of personal data " .
+        "privacy and AML rules are available in Czech only. If you are not " .
+        "confortable with this and don't want to rely on an on-line " .
+        "translation service please contact us at the above mentioned address." .
+        "</div>";
+    }
   } else {
     echo "<input type=submit name=submit value='Submit'/>";
   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]