Changeset 1454680
- Timestamp:
- 07/14/2016 12:15:04 PM (10 years ago)
- Location:
- decision-tree
- Files:
-
- 63 added
- 1 deleted
- 6 edited
-
branches/0.1 (deleted)
-
tags/0.1 (added)
-
tags/0.1/css (added)
-
tags/0.1/css/admin.css (added)
-
tags/0.1/css/show.css (added)
-
tags/0.1/decisiontree.php (added)
-
tags/0.1/decisiontree_custompost.php (added)
-
tags/0.1/decisiontree_editor.php (added)
-
tags/0.1/decisiontree_posthandling.php (added)
-
tags/0.1/decisiontree_show.php (added)
-
tags/0.1/readme.txt (added)
-
tags/0.1/scripts (added)
-
tags/0.1/scripts/decisiontree_control.js (added)
-
tags/0.1/scripts/decisiontree_display.js (added)
-
tags/0.1/scripts/jscolor (added)
-
tags/0.1/scripts/jscolor/arrow.gif (added)
-
tags/0.1/scripts/jscolor/cross.gif (added)
-
tags/0.1/scripts/jscolor/demo.html (added)
-
tags/0.1/scripts/jscolor/hs.png (added)
-
tags/0.1/scripts/jscolor/hv.png (added)
-
tags/0.1/scripts/jscolor/jscolor.js (added)
-
tags/0.1/scripts/json-2.js (added)
-
tags/0.2 (added)
-
tags/0.2/css (added)
-
tags/0.2/css/admin.css (added)
-
tags/0.2/css/show.css (added)
-
tags/0.2/decisiontree.php (added)
-
tags/0.2/decisiontree_custompost.php (added)
-
tags/0.2/decisiontree_editor.php (added)
-
tags/0.2/decisiontree_posthandling.php (added)
-
tags/0.2/decisiontree_show.php (added)
-
tags/0.2/readme.txt (added)
-
tags/0.2/scripts (added)
-
tags/0.2/scripts/decisiontree_control.js (added)
-
tags/0.2/scripts/decisiontree_display.js (added)
-
tags/0.2/scripts/jscolor (added)
-
tags/0.2/scripts/jscolor/arrow.gif (added)
-
tags/0.2/scripts/jscolor/cross.gif (added)
-
tags/0.2/scripts/jscolor/demo.html (added)
-
tags/0.2/scripts/jscolor/hs.png (added)
-
tags/0.2/scripts/jscolor/hv.png (added)
-
tags/0.2/scripts/jscolor/jscolor.js (added)
-
tags/0.2/scripts/json-2.js (added)
-
tags/0.3 (added)
-
tags/0.3/css (added)
-
tags/0.3/css/admin.css (added)
-
tags/0.3/css/show.css (added)
-
tags/0.3/decisiontree.php (added)
-
tags/0.3/decisiontree_custompost.php (added)
-
tags/0.3/decisiontree_editor.php (added)
-
tags/0.3/decisiontree_posthandling.php (added)
-
tags/0.3/decisiontree_show.php (added)
-
tags/0.3/readme.txt (added)
-
tags/0.3/scripts (added)
-
tags/0.3/scripts/decisiontree_control.js (added)
-
tags/0.3/scripts/decisiontree_display.js (added)
-
tags/0.3/scripts/jscolor (added)
-
tags/0.3/scripts/jscolor/arrow.gif (added)
-
tags/0.3/scripts/jscolor/cross.gif (added)
-
tags/0.3/scripts/jscolor/demo.html (added)
-
tags/0.3/scripts/jscolor/hs.png (added)
-
tags/0.3/scripts/jscolor/hv.png (added)
-
tags/0.3/scripts/jscolor/jscolor.js (added)
-
tags/0.3/scripts/json-2.js (added)
-
trunk/decisiontree.php (modified) (1 diff)
-
trunk/decisiontree_editor.php (modified) (2 diffs)
-
trunk/decisiontree_posthandling.php (modified) (1 diff)
-
trunk/decisiontree_show.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/scripts/decisiontree_control.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
decision-tree/trunk/decisiontree.php
r1430106 r1454680 4 4 Plugin Name: Decision Tree 5 5 Description: Displays a decision tree on a WordPress Site 6 Version: 0. 26 Version: 0.3 7 7 Author: pgogy 8 8 Author URI: http://www.pgogy.com -
decision-tree/trunk/decisiontree_editor.php
r1430106 r1454680 141 141 <span class="expand" onclick="javascript:expand_choice(this)">+</span> 142 142 <p class="title" onclick="javascript:edit_title(this)"><?PHP echo $choice->name; ?></p> 143 <input type="text" value=" " size="100" />143 <input type="text" value="<?PHP echo $choice->name; ?>" size="100" /> 144 144 <a onclick="javascript:save_text(this)">Change</a> 145 145 <div> … … 239 239 <textarea></textarea> 240 240 <p> 241 Colour<input class="color" type="text" value="#ffffff" />241 <span>Colour</span><input class="color" type="text" value="#ffffff" /> 242 242 </p> 243 243 </div> -
decision-tree/trunk/decisiontree_posthandling.php
r1430106 r1454680 29 29 30 30 if(isset($_POST['data_save'])){ 31 31 32 file_put_contents($wp_dir['basedir'] . "/decisiontree/" . $post_id . ".inc", $_POST['data_save']); 32 33 } -
decision-tree/trunk/decisiontree_show.php
r1430106 r1454680 71 71 echo "<div class='choice'>"; 72 72 echo "<div id='" . $choice['id'] . "'>"; 73 echo "<p>" . $choice['html'] . "</p>"; 74 73 74 if(isset($choice['colour'])){ 75 $colour = $choice['colour']; 76 }else{ 77 $colour = "#fff"; 78 } 79 80 echo "<p style='background:#" . $colour . "'>" . $choice['html'] . "</p>"; 81 75 82 echo "<div>"; 76 83 … … 86 93 87 94 95 }else{ 96 return $content; 88 97 } 89 98 -
decision-tree/trunk/readme.txt
r1430106 r1454680 4 4 Requires at least: 3.0.0 5 5 Tested up to: 4.5 6 Stable tag: 0. 26 Stable tag: 0.3 7 7 8 8 Allows a user to create a decision tree which allows a series of questions and choices to be worked through. … … 24 24 == Changelog == 25 25 26 0.3 Fixed colour and display bug 27 26 28 == Screenshots == 27 29 -
decision-tree/trunk/scripts/decisiontree_control.js
r888679 r1454680 36 36 .next() 37 37 .next() 38 .next() 38 39 .children() 39 40 .last() 40 41 .children() 41 . first()42 .last() 42 43 .val(); 43 44
Note: See TracChangeset
for help on using the changeset viewer.