[Movecommons-commits] r621 - in trunk: . src

Mario Gallegos mgallegos at ourproject.org
Thu Mar 21 00:30:07 CET 2013


Author: mgallegos
Date: 2013-03-21 00:30:05 +0100 (Thu, 21 Mar 2013)
New Revision: 621

Modified:
   trunk/DEV_GUIDE
   trunk/src/mc-dia-form2.js
Log:
FEEDBACK - Enhancement #488:Save registrations in CSV or similar

Modified: trunk/DEV_GUIDE
===================================================================
--- trunk/DEV_GUIDE	2013-03-20 22:32:36 UTC (rev 620)
+++ trunk/DEV_GUIDE	2013-03-20 23:30:05 UTC (rev 621)
@@ -32,9 +32,41 @@
 - trunk/src/mc-dia-form2.css
 - trunk/src/mc-dia-form2.js
 - trunk/wp-theme/mc2-form.php
+- trunk/wp-theme/mc2-form-controller.php
 It uses JQuery JS/CSS and images from trunk/src/images.
 
+** CVS data file
 
+The file "initiatives.txt" contains all initiatives data, you can access it through the following URL:
+
+http://movecommons.org/initiatives.txt
+
+The data is saved in the following order:
+
+0 ------> Name of the initiative (if the user typed a comma, it will be replaced by a pipe symbol) {slide 1}
+1  ------> Initiative web address {slide 1}
+2  ------> Languages (separated by pipes in case the user typed more than one) {slide 1}
+3  ------> Keywords (separated by pipes in case the user typed more than one) {slide 1}
+4  ------> Location 
+5  ------> Is your initiative Non-Profit? Possible values: Yes or No {slide 2}
+6  ------> We are officially registered. Possible values: webpage URL or empty {slide 2}
+7  ------> We have a webpage where our accounting is public (Open-accounting). Possible values: webpage URL or empty {slide 2}
+8  ------> We have a webpage to receive online donations. Possible values: webpage URL or empty {slide 2}
+9  ------> Is your initiative Reproducible? Possible values: Yes or No {slide 3}
+10 ------> We have Terms of Use of our contents. Possible values: webpage URL or empty {slide 3}
+11 ------> We use this license for sharing our contents: Creative Commons. Possible values: webpage URL or empty {slide 3}
+12 ------> We use this license for sharing our contents: Other license. Possible values: webpage URL or empty {slide 3}
+13 ------> We provide public documentation about: Our organization. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative Reproducible?") {slide 3}
+14 ------> We provide public documentation about: Our internal procedures. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative Reproducible?") {slide 3}
+15 ------> We provide public documentation about: Our list of members. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative Reproducible?") {slide 3}
+16 ------> We provide public documentation about: Our funding sources. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative Reproducible?") {slide 3}
+17 ------> Is your initiative driven by horizontal collective decisions? Possible values: Yes or No {slide 4}
+18 ------> We take decisions mainly through general assemblies. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative driven by horizontal collective decisions?") {slide 4}
+19 ------> We have representatives chosen democratically. Possible values: Yes, No or empty (it will be empty in case user chose "No" in "Is your initiative driven by horizontal collective decisions?") {slide 4}
+20 ------> We take decisions through. Possible values: Majority voting, Consensus or empty (it will be empty in case user chose "No" in "Is your initiative driven by horizontal collective decisions?" or if the user didn't chose any of the options available) {slide 4}
+21 ------> Does your initiative Reinforce the Commons? Possible values: Yes or No {slide 5}
+22 ------> Which area is the main focus of your initiative?. Possible values: NATURE COMMONS, BODY HEALTH COMMONS, TOWN COMMUNITY SOCIETY COMMONS, DIGITAL COMMONS, or empty (it will be empty in case user chose "No" in "Does your initiative Reinforce the Commons?") {slide 5}
+
 ** Deployment instructions 
 For deployment you will need fabric:
   apt-get install fabric

Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2013-03-20 22:32:36 UTC (rev 620)
+++ trunk/src/mc-dia-form2.js	2013-03-20 23:30:05 UTC (rev 621)
@@ -554,7 +554,7 @@
 			else if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rcbo60.png')
 				reinforceCommonsXml+="<MAIN_FOCUS_OF_THE_INITIATIVE>BODY HEALTH COMMONS</MAIN_FOCUS_OF_THE_INITIATIVE>";
 			else if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rcto60.png')
-				reinforceCommonsXml+="<MAIN_FOCUS_OF_THE_INITIATIVE>TOWN COMMUNITY SOCIETY_COMMONS</MAIN_FOCUS_OF_THE_INITIATIVE>";
+				reinforceCommonsXml+="<MAIN_FOCUS_OF_THE_INITIATIVE>TOWN COMMUNITY SOCIETY COMMONS</MAIN_FOCUS_OF_THE_INITIATIVE>";
 			else
 				reinforceCommonsXml+="<MAIN_FOCUS_OF_THE_INITIATIVE>DIGITAL COMMONS</MAIN_FOCUS_OF_THE_INITIATIVE>";
 		}else{




More information about the Movecommons-commits mailing list