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"><div id="move-commons-badge"><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"></div><div property="foaf:name" content="Waveclick"></div><div rel="foaf:homepage" href="waveclick.com.sv"></div><div rel="mc:moveCommonsType" resource="[mc:NonProfit]"></div><div rel="mc:moveCommonsType" resource="[mc:Reproducible]"></div><div rel="mc:moveCommonsType" resource="[mc:ReinforcesOtherAims]"></div><div rel="mc:moveCommonsType" resource="[mc:Representative]"></div><div about="#dd" typeof="skos:Concept"></div><div about="#dd" typeof="skos:Concept"></div><a href="http://movecommons.org/en/np-rp-ro-rs/0.1/"><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" /></a><p>Move Commons Non-Profit, Reproducible, Reinforcing Other Aims, Representative</p></div></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>