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

Mario Gallegos mgallegos at ourproject.org
Tue Mar 20 17:58:29 CET 2012


Author: mgallegos
Date: 2012-03-20 17:58:29 +0100 (Tue, 20 Mar 2012)
New Revision: 258

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


Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2012-03-20 15:56:47 UTC (rev 257)
+++ trunk/src/mc-dia-form2.js	2012-03-20 16:58:29 UTC (rev 258)
@@ -332,4 +332,70 @@
 // max_textsize();
 $j(window).load(function () { doadjustwithsleep(0); });
 
+$j("#registered-non-profit").click(function(){		
+  if($j("#registered-non-profit").attr("checked")){
+    $j('#non-profit-website').show();
+    $j('#infield-non-profit-website').show();
+  }  	
+  else{
+    $j('#non-profit-website').hide();
+    $j('#infield-non-profit-website').hide();
+  }  
+});
 
+$j("#open-accounting").click(function(){		
+  if($j("#open-accounting").attr("checked")){
+    $j('#open-accounting-website').show();
+    $j('#infield-open-accounting-website').show();
+  }  	
+  else{
+    $j('#open-accounting-website').hide();
+    $j('#infield-open-accounting-website').hide();
+  }  
+});
+
+$j("#accept-donations").click(function(){		
+  if($j("#accept-donations").attr("checked")){
+    $j('#donation-website').show();
+    $j('#infield-donation-website').show();
+  }  	
+  else{
+    $j('#donation-website').hide();
+    $j('#infield-donation-website').hide();
+  }  
+});
+
+$j("#terms-of-use").click(function(){		
+  if($j("#terms-of-use").attr("checked")){
+    $j('#terms-of-use-website').show();
+    $j('#infield-terms-of-use-website').show();    
+  }  	
+  else{
+    $j('#terms-of-use-website').hide();
+    $j('#infield-terms-of-use-website').hide();
+  }  
+});
+
+$j("#creative-commons").click(function(){		
+  if($j("#creative-commons").attr("checked")){
+    $j('#creative-commons-website').show();
+    $j('#infield-creative-commons-website').show();
+  }  	
+  else{
+    $j('#creative-commons-website').hide();
+    $j('#infield-creative-commons-website').hide();
+  }  
+});
+
+$j("#other-license").click(function(){		
+  if($j("#other-license").attr("checked")){
+    $j('#non-profit-website').show();
+    $j('#infield-non-profit-website').show();
+  }  	
+  else{
+    $j('#non-profit-website').hide();
+    $j('#infield-non-profit-website').hide();
+  }  
+});
+
+

Modified: trunk/src/mc.css
===================================================================
--- trunk/src/mc.css	2012-03-20 15:56:47 UTC (rev 257)
+++ trunk/src/mc.css	2012-03-20 16:58:29 UTC (rev 258)
@@ -119,7 +119,7 @@
 }
 
 .mc-form-category-group-a-v2 { 
-  /*border-bottom: 1px solid #b7c4c8;*/
+  border-bottom: 2px solid #b7c4c8;
   border-left: 2px solid #b7c4c8;
   border-top: 2px solid #b7c4c8;
   border-right: 2px solid #b7c4c8;
@@ -152,7 +152,7 @@
 }
 
 .mc-form-category-group-b-v2 { 
-  /*border-bottom: 1px solid #b7c4c8;*/
+  border-bottom: 1px solid #b7c4c8;
   border-left: 2px solid #b7c4c8;
   border-top: 2px solid #b7c4c8;
   border-right: 2px solid #b7c4c8; 
@@ -161,7 +161,7 @@
 }
 
 .mc-form-category-group-c-v2 { 
-  /*border-bottom: 2px solid #b7c4c8;*/
+  border-bottom: 2px solid #b7c4c8;
   border-left: 2px solid #b7c4c8;
   border-top: 2px solid #b7c4c8;
   border-right: 2px solid #b7c4c8;

Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php	2012-03-20 15:56:47 UTC (rev 257)
+++ trunk/wp-theme/mc2-form.php	2012-03-20 16:58:29 UTC (rev 258)
@@ -75,19 +75,19 @@
 						    	<input type="checkbox" name="registered-non-profit" value="S" id="registered-non-profit"/>
 						    	<?php _e("We are registered as Non-profit", "mc"); ?>
 					    	</label>
-					    	<label id="infield-non-profit-website" for="non-profit-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Website", "mc"); ?></label>
+					    	<label id="infield-non-profit-website" for="non-profit-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
 							<input type="text" name="non-profit-website" value="" id="non-profit-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
 					    	<label class="optional-labels-fields">					     
 						    	<input type="checkbox" name="open-accounting" value="S" id="open-accounting" />
 						    	<?php _e("We have Open-accounting", "mc"); ?>
 					    	</label>
-					    	<label id="infield-open-accounting-website" for="open-accounting-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Website", "mc"); ?></label>
+					    	<label id="infield-open-accounting-website" for="open-accounting-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
 							<input type="text" name="open-accounting-website" value="" id="open-accounting-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
 					    	<label class="optional-labels-fields">					     
 						    	<input type="checkbox" name="accept-donations" value="S" id="accept-donations" />
 						    	<?php _e("We accept donations", "mc"); ?>
 					    	</label>
-					    	<label id="infield-donation-website" for="donation-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Website", "mc"); ?></label>
+					    	<label id="infield-donation-website" for="donation-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
 							<input type="text" name="donation-website" value="" id="donation-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
 							<div style="clear: both;"></div>				  			
 					  	</div>					  					  					  
@@ -121,23 +121,25 @@
 					  		<label id="mc-optional-reproducible" style="color: #444;background-color: #F9F9F9;"><?php _e("Optional", "mc"); ?></label>					  
 					    	<label class="optional-labels-fields">					     
 						    	<input type="checkbox" name="terms-of-use" value="S" id="terms-of-use"/>
-						    	<?php _e("We have Terms of Use of our contents in this webpage:", "mc"); ?>						    	
+						    	<?php _e("We have Terms of Use of our contents", "mc"); ?>						    	
 					    	</label>
+						<label id="infield-terms-of-use-website" for="terms-of-use-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
+						<input type="text" name="terms-of-use-website" value="" id="terms-of-use-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
 					    	<label class="optional-labels-fields">					     						    	
 						    	<?php _e("We use this license for sharing our contents:", "mc"); ?>
 					    	</label>
 					    	<label class="optional-labels-fields" style="margin-left: 30px;">					     
 						    	<input type="checkbox" name="creative-commons" value="S" id="creative-commons" />
-						    	<?php _e("Creative Commons, in this webpage:", "mc"); ?>
+						    	<?php _e("Creative Commons", "mc"); ?>
 					    	</label>
-					    	<label id="infield-creative-commons-website" for="creative-commons-website" style="position: absolute;display: block;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("something like http://example.com", "mc"); ?></label>
-							<input type="text" name="creative-commons-website" value="" id="creative-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;">
+					    	<label id="infield-creative-commons-website" for="creative-commons-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
+							<input type="text" name="creative-commons-website" value="" id="creative-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
 					    	<label class="optional-labels-fields" style="margin-left: 30px;">					     
 						    	<input type="checkbox" name="other-license" value="S" id="other-license" />
-						    	<?php _e("Other license, in this webpage:", "mc"); ?>
+						    	<?php _e("Other license", "mc"); ?>
 					    	</label>
-					    	<label id="infield-other-license-website" for="other-license-website" style="position: absolute;display: block;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("something like http://example.com", "mc"); ?></label>
-							<input type="text" name="other-license-website" value="" id="other-license-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;"> 
+					    	<label id="infield-other-license-website" for="other-license-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website", "mc"); ?></label>
+							<input type="text" name="other-license-website" value="" id="other-license-commons-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;"> 
 					    	<label class="optional-labels-fields">					     						    	
 						    	<?php _e("We share:", "mc"); ?>
 					    	</label> 
@@ -279,7 +281,9 @@
 	$j('#infield-open-accounting-website').inFieldLabels();
 	$j('#infield-creative-commons-website').inFieldLabels();
 	$j('#infield-other-license-website').inFieldLabels();
-	$j('#infield-url').inFieldLabels();	
+	$j('#infield-url').inFieldLabels();
+	$j('#terms-of-use-website').inFieldLabels();		
+
 	//$j('div.blockMe1').block({ message: null });
 	//$j('div.blockMe2').block({ message: null });
 	//$j('div.blockMe3').block({ message: null });




More information about the Movecommons-commits mailing list