Changeset 633388
- Timestamp:
- 12/03/2012 09:23:24 AM (13 years ago)
- Location:
- komper/trunk
- Files:
-
- 3 edited
-
komper.php (modified) (4 diffs)
-
output.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
komper/trunk/komper.php
r633328 r633388 4 4 Plugin URI: http://www.vnetware.com/komper/ 5 5 Description: A plugin to create side-by-side product comparison. This is free version, get the pro version with more features! 6 Version: 1.1. 16 Version: 1.1.2 7 7 Author: Miaz Akemapa 8 8 Author URI: http://www.photogrammer.net/ … … 42 42 $sql2 = "CREATE TABLE $tbl_valname (`id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY 43 43 KEY, `product_id` INT(11) NULL, `field_id` INT(11) NOT NULL, `field_values` TEXT NULL, 44 INDEX (`p ost_id`));";44 INDEX (`product_id`));"; 45 45 $wpdb->query($sql2); 46 46 } … … 469 469 function format_text($format,$text){ 470 470 $formatted = ""; 471 $text = stripslashes($text); 472 //$text = htmlentities($text); 471 473 $text_format = list_textformat(); 472 474 if(array_key_exists($format, $text_format)){ … … 474 476 $formatted = $format.$text.$close; 475 477 return $formatted; 478 }else { 479 return $text; 476 480 } 477 481 return false; -
komper/trunk/output.php
r633328 r633388 19 19 $res = ""; 20 20 $ids = array_unique(explode(",",trim($pids))); 21 print_r($ids);echo " => ";22 21 $ids = array($ids[0],$ids[1]); 23 print_r($ids);24 22 $p_jml = count($ids); 25 23 //reset $PIDS -
komper/trunk/readme.txt
r633330 r633388 5 5 Requires at least: 3.0.1 6 6 Tested up to: 3.4 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 86 86 Via widget in front-page. Enter product name, autocomplete will appear, then select product. Click Compare button, the result will be displayed in side-by-side table. 87 87 88 = Comparison page can not display, 404 Error! = 89 90 Try to change the wordpresspermalink to *Post Name* 91 88 92 89 93 == Screenshots == … … 99 103 100 104 == Changelog == 105 106 = 1.1.2 = 107 * FIX: Failed on creating field-values table on installation 108 * FIX: Empty result on displaying output 101 109 102 110 = 1.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.