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

Mario Gallegos mgallegos at ourproject.org
Wed Mar 20 22:57:26 CET 2013


Author: mgallegos
Date: 2013-03-20 22:57:26 +0100 (Wed, 20 Mar 2013)
New Revision: 619

Modified:
   trunk/src/mc-dia-form2.js
   trunk/wp-theme/mc2-form.php
Log:
IN PROGRESS - Enhancement #488:Save registrations in CSV or similar

Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2013-03-20 21:45:37 UTC (rev 618)
+++ trunk/src/mc-dia-form2.js	2013-03-20 21:57:26 UTC (rev 619)
@@ -565,9 +565,9 @@
 					+"<NAME>"+xmlReplaceInvalidCharacters($j("#ininame").val())+"</NAME>"+
 					"<WEB_ADDRESS>"+xmlReplaceInvalidCharacters($j("#url").val())+"</WEB_ADDRESS>"+
 					//"<LANGUAGES>"+xmlDynamicTags('LANGUAGE',$j("#languages").val())+"</LANGUAGES>"+
-					"<LANGUAGES>"+commasToPipes('LANGUAGE',$j("#languages").val())+"</LANGUAGES>"+
+					"<LANGUAGES>"+commasToPipes($j("#languages").val())+"</LANGUAGES>"+
 					//"<KEYWORDS>"+xmlDynamicTags('KEYWORD',$j("#keywords").val())+"</KEYWORDS>"+
-					"<KEYWORDS>"+commasToPipes('KEYWORD',$j("#keywords").val())+"</KEYWORDS>"+
+					"<KEYWORDS>"+commasToPipes($j("#keywords").val())+"</KEYWORDS>"+
 					"<LOCATION>"+xmlReplaceInvalidCharacters($j("#location").val())+"</LOCATION>"+
 					nonProfitXml+
 					reproducibleXml+

Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php	2013-03-20 21:45:37 UTC (rev 618)
+++ trunk/wp-theme/mc2-form.php	2013-03-20 21:57:26 UTC (rev 619)
@@ -397,7 +397,7 @@
 			</div>			
 			<div class="label2" style="margin-left: 185px;float: left;font-size: 14px;"><?php _e("Include this code in the web of your collective:", "mc"); ?></div>
 			<textarea style="margin-left: 185px;margin-top: 20px;margin-bottom: 20px;" rows="4" cols="68" onfocus="this.select()" class="mc-icon88x31-code" id="mc-intro-textarea">&lt;div id="move-commons-badge"&gt;&lt;div xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:mc="http://movecommons.org/ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" about="waveclick.com.sv" typeof="mc:Collective"&gt;&lt;/div&gt;&lt;div property="foaf:name" content="Waveclick"&gt;&lt;/div&gt;&lt;div rel="foaf:homepage" href="waveclick.com.sv"&gt;&lt;/div&gt;&lt;div rel="mc:moveCommonsType" resource="[mc:NonProfit]"&gt;&lt;/div&gt;&lt;div rel="mc:moveCommonsType" resource="[mc:Reproducible]"&gt;&lt;/div&gt;&lt;div rel="mc:moveCommonsType" resource="[mc:ReinforcesOtherAims]"&gt;&lt;/div&gt;&lt;div rel="mc:moveCommonsType" resource="[mc:Representative]"&gt;&lt;/div&gt;&lt;div about="#dd" typeof="skos:Concept"&gt;&lt;/div&gt;&lt;div about="#dd" typeof="skos:Concept"&gt;&lt;/div&gt;&lt;a href="http://movecommons.org/en/np-rp-ro-rs/0.1/"&gt;&lt;img src="http://movecommons.org/mc/0.1/images/np-rp-ro-rs-88x31-0.1.png" alt="Move Commons Non-Profit, Reproducible, Reinforcing Other Aims, Representative" /&gt;&lt;/a&gt;&lt;p&gt;Move Commons Non-Profit, Reproducible, Reinforcing Other Aims, Representative&lt;/p&gt;&lt;/div&gt;</textarea>
-			<div class="label2" style="margin-left: 185px;float: left;font-size: 14px;"><a href="http://movecommons.org/initiatives.txt">Click here to download the CVS file.</a></div>
+			<div class="label2" style="margin-left: 185px;float: left;font-size: 14px;"><a href="/initiatives.txt" target="_blank">Click here to download the CVS file.</a></div>
 			<div class="clear"></div>
 			<div>
 				<button class="submit buttonp" style="left: 710px;" type="submit" name="p_submit_sixth" id="p_submit_sixth"><?php _e("Previous", "mc"); ?></button>




More information about the Movecommons-commits mailing list