[Movecommons-commits] r618 - trunk/wp-theme

Mario Gallegos mgallegos at ourproject.org
Wed Mar 20 22:45:37 CET 2013


Author: mgallegos
Date: 2013-03-20 22:45:37 +0100 (Wed, 20 Mar 2013)
New Revision: 618

Modified:
   trunk/wp-theme/mc2-form-controller.php
   trunk/wp-theme/mc2-form.php
Log:
IN PROGRESS - Enhancement #488:Save registrations in CSV or similar

Modified: trunk/wp-theme/mc2-form-controller.php
===================================================================
--- trunk/wp-theme/mc2-form-controller.php	2013-03-20 17:29:35 UTC (rev 617)
+++ trunk/wp-theme/mc2-form-controller.php	2013-03-20 21:45:37 UTC (rev 618)
@@ -23,7 +23,7 @@
 	$data .= $SimpleXMLElement->WE_TAKE_DECISIONS_THROUGH.",";
 	$data .= $SimpleXMLElement->INITIATIVE_REINFORCE_THE_COMMONS.",";
 	$data .= $SimpleXMLElement->MAIN_FOCUS_OF_THE_INITIATIVE."\n";
-	$fp = fopen('/initiatives.txt', 'w');
+	$fp = fopen('initiatives.txt', 'w');
 	fwrite($fp, $data);
 	fclose($fp);
 ?>
\ No newline at end of file

Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php	2013-03-20 17:29:35 UTC (rev 617)
+++ trunk/wp-theme/mc2-form.php	2013-03-20 21:45:37 UTC (rev 618)
@@ -398,8 +398,10 @@
 			<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="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>
+				<div class="clear"></div>
 			</div>				
 			<div class="clear"></div>
 		</div>




More information about the Movecommons-commits mailing list