Changeset 567987
- Timestamp:
- 07/05/2012 08:50:13 PM (14 years ago)
- Location:
- jazzy-forms/trunk
- Files:
-
- 4 edited
-
core/Graph.php (modified) (1 diff)
-
front/jazzy-forms.js (modified) (2 diffs)
-
jazzy-forms.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jazzy-forms/trunk/core/Graph.php
r566668 r567987 112 112 function get_dependencies($formula) { 113 113 $deps = array(); 114 foreach($formula as $token) {114 if(is_array($formula)) foreach($formula as $token) { 115 115 if($token[0] == 'v') { 116 116 $id = $token[1]; -
jazzy-forms/trunk/front/jazzy-forms.js
r566668 r567987 154 154 break; 155 155 case 'm': 156 element(id).html(value); 156 if(value!==false) { 157 element(id).html(value); 158 } 157 159 break; 158 160 case 't': 159 161 case 'h': 160 element(id).text(value); 162 if(value!==false) { 163 element(id).text(value); 164 } 161 165 break; 162 166 } … … 187 191 var result = ''; 188 192 var chunks = graph.templates[id]; 189 for(var i=0; i<chunks.length; i++) { 190 var chunk = chunks[i]; 191 if(typeof chunk == 'object') { 192 if(is_formatted_variable(chunk)) { 193 result += evaluate_formatted_variable(chunk); 193 if(chunks) { 194 for(var i=0; i<chunks.length; i++) { 195 var chunk = chunks[i]; 196 if(typeof chunk == 'object') { 197 if(is_formatted_variable(chunk)) { 198 result += evaluate_formatted_variable(chunk); 199 } else { 200 result += evaluate_formula(chunk); 201 } 194 202 } else { 195 result += evaluate_formula(chunk); 196 } 197 } else { 198 result += chunk; 199 } 200 } 201 return result; 203 result += chunk; 204 } 205 } 206 return result; 207 } 208 return false; 202 209 } 203 210 -
jazzy-forms/trunk/jazzy-forms.php
r567456 r567987 4 4 Plugin URI: http://www.jazzyforms.com/ 5 5 Description: Online form builder with an emphasis on calculation 6 Version: 0.9. 96 Version: 0.9.10 7 7 Author: Igor Prochazka 8 8 Author URI: http://www.l90r.com/ … … 28 28 */ 29 29 30 define(JZZF_VERSION, 0.09 09);31 define(JZZF_VERSION_STRING, "0.09 09");30 define(JZZF_VERSION, 0.0910); 31 define(JZZF_VERSION_STRING, "0.0910"); 32 32 define(JZZF_OPTION_VERSION, 'jzzf_version'); 33 33 -
jazzy-forms/trunk/readme.txt
r567456 r567987 5 5 Requires at least: 3.2.1 6 6 Tested up to: 3.4.1 7 Stable tag: 0.9. 97 Stable tag: 0.9.10 8 8 9 9 Jazzy Forms is an online form generator that performs instant calculations. It's ideal for inter-active price calculators. … … 119 119 == Changelog == 120 120 121 = 0.9.10 = 122 * Take into account text elements without placeholders (urgent fix) 123 121 124 = 0.9.9 = 122 125 * Real-time templating (evaluate placeholders in text/heading/html elements)
Note: See TracChangeset
for help on using the changeset viewer.