Changeset 761892
- Timestamp:
- 08/25/2013 01:11:59 AM (13 years ago)
- Location:
- rj-quickcharts/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/rjqc-admin-new.php (modified) (7 diffs)
-
admin/rjqc-admin.php (modified) (1 diff)
-
rj_charts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rj-quickcharts/trunk/README.txt
r756990 r761892 7 7 Requires at least: 3.0 8 8 Tested up to: 3.5.2 9 Stable tag: 0.5. 79 Stable tag: 0.5.8 10 10 11 11 Build Complex, Powerful HTML5 Bar Charts, Line Charts and Pie Charts in Just Minutes. No Programming Knowledge Required! … … 77 77 == Changelog == 78 78 79 = 0.5.8 = 80 * Updated <? tags to include <?php and work on more server configurations 81 79 82 = 0.5.7 = 80 83 * You can now take screenshots of your chart right from the admin screen. Drag the chart area handle to change the width of your chart for the screenshot and just click 'Screenshot Chart'. Easy! -
rj-quickcharts/trunk/admin/rjqc-admin-new.php
r756990 r761892 1 <? 1 <?php 2 2 $type = ''; 3 3 $title = ''; … … 156 156 </script> 157 157 158 <? if (!$_GET['id']) { ?>158 <?php if (!$_GET['id']) { ?> 159 159 <script> 160 160 (function ($) { … … 200 200 })(jQuery); 201 201 </script> 202 <? } ?>203 204 <? if ($_GET['id']) { ?>202 <?php } ?> 203 204 <?php if ($_GET['id']) { ?> 205 205 <script> 206 206 (function ($) { 207 <? if ($_GET['message']) { ?>207 <?php if ($_GET['message']) { ?> 208 208 var path = window.location.pathname + window.location.search; 209 209 path = path.slice(0,-13); … … 212 212 jQuery('.updated').fadeOut(); 213 213 }, 5000); 214 <? } ?>215 216 tooltipSuffix = '<? echo $tooltip_suffix ?>',217 curChartType = '<? echo $type ?>';218 219 jQuery('#chart-type select').val('<? echo $type ?>');220 jQuery('#chart-legend select').val(<? echo $legend ?>);221 222 chartOpts.chartLegend = <? echo $legend ?>;223 chartOpts.chartTitle = '<? echo $title ?>';224 chartOpts.chartYAxis = '<? echo $y_axis_title ?>';225 chartOpts.chartType = '<? echo $type ?>';226 chartOpts.seriesColors = <? echo json_encode($series_colors) ?>;227 228 var hotSeries = <? echo $hotSeries ?>;214 <?php } ?> 215 216 tooltipSuffix = '<?php echo $tooltip_suffix ?>', 217 curChartType = '<?php echo $type ?>'; 218 219 jQuery('#chart-type select').val('<?php echo $type ?>'); 220 jQuery('#chart-legend select').val(<?php echo $legend ?>); 221 222 chartOpts.chartLegend = <?php echo $legend ?>; 223 chartOpts.chartTitle = '<?php echo $title ?>'; 224 chartOpts.chartYAxis = '<?php echo $y_axis_title ?>'; 225 chartOpts.chartType = '<?php echo $type ?>'; 226 chartOpts.seriesColors = <?php echo json_encode($series_colors) ?>; 227 228 var hotSeries = <?php echo $hotSeries ?>; 229 229 230 230 jQuery('#dataTable').handsontable({data: hotSeries}); … … 299 299 })(jQuery); 300 300 </script> 301 <? } ?>301 <?php } ?> 302 302 303 303 <script> … … 437 437 }); 438 438 439 <? if ($_GET['id']) { ?>440 if (<? echo $legend ?> === 0) {439 <?php if ($_GET['id']) { ?> 440 if (<?php echo $legend ?> === 0) { 441 441 setTimeout(function(){ 442 442 jQuery('.jqplot-table-legend').remove(); 443 443 }, 150); 444 444 } 445 <? } ?>445 <?php } ?> 446 446 447 447 // … … 492 492 } 493 493 $('#rjqc-chart-resize').resizable({ 494 minHeight: parseInt(<? =$chart_height ?>)+60,495 maxHeight: parseInt(<? =$chart_height ?>)+60,494 minHeight: parseInt(<?php echo $chart_height ?>)+60, 495 maxHeight: parseInt(<?php echo $chart_height ?>)+60, 496 496 minWidth: 400, 497 497 }); -
rj-quickcharts/trunk/admin/rjqc-admin.php
r727990 r761892 1 <? 1 <?php 2 2 wp_enqueue_style('rjqc-styles', plugins_url('/rj-quickcharts/main.css')); 3 3 wp_enqueue_script('jquery-effects-core'); -
rj-quickcharts/trunk/rj_charts.php
r756990 r761892 4 4 Plugin URI: http://www.randyjensen.com 5 5 Description: Easily create charts for your WordPress site. Line charts, bar charts and pie charts currently supported. 6 Version: 0.5. 76 Version: 0.5.8 7 7 Author: Randy Jensen 8 8 Author URI: http://www.randyjensen.com … … 15 15 global $table_name; 16 16 17 $rjqc_db_version = '0.5. 7';17 $rjqc_db_version = '0.5.8'; 18 18 $table_name = $wpdb->prefix . 'rj_quickcharts'; 19 19
Note: See TracChangeset
for help on using the changeset viewer.