[Movecommons-commits] r234 - in trunk: src wp-theme

Mario Gallegos mgallegos at ourproject.org
Fri Mar 16 01:15:52 CET 2012


Author: mgallegos
Date: 2012-03-16 01:15:52 +0100 (Fri, 16 Mar 2012)
New Revision: 234

Modified:
   trunk/src/mc-dia-form2.js
   trunk/wp-theme/mc2-form.php
Log:


Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2012-03-16 00:09:10 UTC (rev 233)
+++ trunk/src/mc-dia-form2.js	2012-03-16 00:15:52 UTC (rev 234)
@@ -22,12 +22,17 @@
     	  //$j("#mc-cat-rc-options").slideDown(function() {adjustHeights();});
     	  mc_rc="0";
     	  update_logo($id);
+    	  $j('div.blockMe3').unblock();
       } else if (cat_id == "#mc-form-nrc") {
     	  //$j("#mc-cat-rc-options").slideUp(function() {adjustHeights();});
     	  reset_areas();
     	  update_logo($id);
       } else if (cat_id == "#mc-form-np") {
-    	  $j('div.blockMe1').unblock();    	  	  
+    	  $j('div.blockMe1').unblock();
+      } else if (cat_id == "#mc-form-rp") {
+    	  $j('div.blockMe2').unblock();    	  	        	        
+      } else if (cat_id == "#mc-form-gr") {
+    	  $j('div.blockMe4').unblock();	  
       } else {
     	  update_logo($id);
     	  //$j("#mc-cat-rc-options").slideUp(function() {adjustHeights();});

Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php	2012-03-16 00:09:10 UTC (rev 233)
+++ trunk/wp-theme/mc2-form.php	2012-03-16 00:15:52 UTC (rev 234)
@@ -112,7 +112,7 @@
 		  		<div style="float: left;width: 500px;">
 			  		<img src="/mc/0.1/images/step2.png" alt="step2" class="mc-steps-number-v2" />
 			  		<div id="mc-form-optional-reproducible">
-			  			<div style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 35px;border: 1px solid #B7C4C8;margin-bottom: 20px;">
+			  			<div class="blockMe2" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 35px;border: 1px solid #B7C4C8;margin-bottom: 20px;">
 					  		<label id="mc-optional-reproducible"><?php _e("Optional", "mc"); ?></label>					  
 					    	<label class="optional-labels-fields">					     
 						    	<input type="checkbox" name="terms-of-use" value="S" id="terms-of-use"/>
@@ -178,7 +178,7 @@
 			  	<div style="float: left;width: 500px;">
 			  		<img src="/mc/0.1/images/step3.png" alt="step3" class="mc-steps-number-v2" />
 			  		<div id="mc-form-optional-reinforcing">
-			  			<div style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 35px;border: 1px solid #B7C4C8;">
+			  			<div class="blockMe3" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 35px;border: 1px solid #B7C4C8;">
 					  		<label id="mc-optional-reinforcing"><?php _e("Which area is the main focus of your initiative?", "mc"); ?></label>					  
 					    	<div class="mc-cat-rc-options" id="mc-cat-rc-options">
 					    		<!-- 
@@ -219,7 +219,7 @@
 			  	<div style="float: left;width: 500px;">
 			  		<img src="/mc/0.1/images/step4.png" alt="step4" class="mc-steps-number-v2" />
 			  		<div id="mc-form-optional-grassroots">
-			  			<div style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 105px;border: 1px solid #B7C4C8;">
+			  			<div class="blockMe4" style="position: relative;float: left;width: 440px;font-size: 16px;margin-left: 10px;margin-top: 105px;border: 1px solid #B7C4C8;">
 					  		<label id="mc-optional-grassroots"><?php _e("Optional", "mc"); ?></label>					  
 					    	<label class="optional-labels-fields">					     
 						    	<input type="checkbox" name="decisions-general-assemblies" value="S" id="decisions-general-assemblies"/>
@@ -270,6 +270,8 @@
 	$j('#infield-creative-commons-website').inFieldLabels();
 	$j('#infield-other-license-website').inFieldLabels();
 	$j('div.blockMe1').block({ message: null });
-		
+	$j('div.blockMe2').block({ message: null });
+	$j('div.blockMe3').block({ message: null });
+	$j('div.blockMe4').block({ message: null });		
 	//$( "#format" ).buttonset();	
 </script>
\ No newline at end of file




More information about the Movecommons-commits mailing list