[gnome-web-www] Move endif above



commit 15bed57d6b2937ecc362519edcc4c23520fd0b3e
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Jun 5 13:48:39 2019 +0200

    Move endif above

 theme/page-apply.php | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/theme/page-apply.php b/theme/page-apply.php
index 37f27ac..51c9827 100644
--- a/theme/page-apply.php
+++ b/theme/page-apply.php
@@ -81,13 +81,12 @@ if (array_key_exists('submit', $_POST)) {
     <div class="content without_sidebar">
 
         <?php if ($application_submitted == true && $application_sent == true): ?>
-        
-        <h1 style="text-align: center">Thank you.</h1>
-        <p class="main_feature" style="text-align: center;">Your application has been submitted and it'll be 
reviewed by the <br /> GNOME Foundation Membership Committee within two weeks.</p>
-        <p style="text-align: center"> You can check the status of your application at the following <a 
href="http://www.gnome.org/rt3-stats/membership.html";>page</a>.</p>
-        
-    <?php else: ?>
-        <p class="main_feature" style="text-align: center;">Some of required fields in the form are missing. 
Please fill them and submit it again.</p>
+            <h1 style="text-align: center">Thank you.</h1>
+            <p class="main_feature" style="text-align: center;">Your application has been submitted and 
it'll be reviewed by the <br /> GNOME Foundation Membership Committee within two weeks.</p>
+            <p style="text-align: center"> You can check the status of your application at the following <a 
href="http://www.gnome.org/rt3-stats/membership.html";>page</a>.</p>
+        <?php else: ?>
+            <p class="main_feature" style="text-align: center;">Some of required fields in the form are 
missing. Please fill them and submit it again.</p>
+        <?php endif; ?>
     
 <hr class="top_shadow" />
 
@@ -183,7 +182,6 @@ if (array_key_exists('submit', $_POST)) {
 </div>
 
 </form>
-<?php endif; ?>
 
 <br />
 <div class="clear"></div>


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