[foundation-web] Make the body in step2 more explicit



commit ddbdac895eee14fbfe76b0d99e51d1d7fe712462
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Sat Jun 6 16:35:52 2009 +0200

    Make the body in step2 more explicit
    
    Right now, the script doesn't echo <body onLoad="populateList()"> for an
    unkown reason. I assume that this change makes it more explicit und thus
    more readable.
---
 foundation.gnome.org/vote/vote.wml |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/foundation.gnome.org/vote/vote.wml b/foundation.gnome.org/vote/vote.wml
index 89a9a6f..cf875e7 100644
--- a/foundation.gnome.org/vote/vote.wml
+++ b/foundation.gnome.org/vote/vote.wml
@@ -189,23 +189,18 @@ function submitPreferences() {
 
 //]]>
     </script>
+    </head>
+    <body onLoad="populateList()">
 <?php
- }
+ } else { // Here $step!=2
 ?>
   </head>
-
-<?php
-if ($step==2){
-?>
-  <body onLoad="populateList()">
-<?php
-} else {
-?>
   <body>
 <?php
-}
+ }
 ?>
 
+
 <?php
 
 



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