Plugin Directory

Changeset 761892


Ignore:
Timestamp:
08/25/2013 01:11:59 AM (13 years ago)
Author:
randyjensen
Message:

updated php tags

Location:
rj-quickcharts/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • rj-quickcharts/trunk/README.txt

    r756990 r761892  
    77Requires at least: 3.0
    88Tested up to: 3.5.2
    9 Stable tag: 0.5.7
     9Stable tag: 0.5.8
    1010
    1111Build Complex, Powerful HTML5 Bar Charts, Line Charts and Pie Charts in Just Minutes. No Programming Knowledge Required!
     
    7777== Changelog ==
    7878
     79= 0.5.8 =
     80* Updated <? tags to include <?php and work on more server configurations
     81
    7982= 0.5.7 =
    8083* 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
    22$type           = '';
    33$title          = '';
     
    156156</script>
    157157
    158 <? if (!$_GET['id']) { ?>
     158<?php if (!$_GET['id']) { ?>
    159159<script>
    160160(function ($) {
     
    200200})(jQuery);
    201201</script>
    202 <? } ?>
    203 
    204 <? if ($_GET['id']) { ?>
     202<?php } ?>
     203
     204<?php if ($_GET['id']) { ?>
    205205<script>
    206206(function ($) {
    207     <? if ($_GET['message']) { ?>
     207    <?php if ($_GET['message']) { ?>
    208208    var path = window.location.pathname + window.location.search;
    209209    path = path.slice(0,-13);
     
    212212        jQuery('.updated').fadeOut();
    213213    }, 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 ?>;
    229229
    230230    jQuery('#dataTable').handsontable({data: hotSeries});
     
    299299})(jQuery);
    300300</script>
    301 <? } ?>
     301<?php } ?>
    302302
    303303<script>
     
    437437    });
    438438
    439     <? if ($_GET['id']) { ?>
    440     if (<? echo $legend ?> === 0) {
     439    <?php if ($_GET['id']) { ?>
     440    if (<?php echo $legend ?> === 0) {
    441441        setTimeout(function(){
    442442            jQuery('.jqplot-table-legend').remove();
    443443        }, 150);
    444444    }
    445     <? } ?>
     445    <?php } ?>
    446446
    447447    //
     
    492492    }
    493493    $('#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,
    496496        minWidth: 400,
    497497    });
  • rj-quickcharts/trunk/admin/rjqc-admin.php

    r727990 r761892  
    1 <?
     1<?php
    22wp_enqueue_style('rjqc-styles', plugins_url('/rj-quickcharts/main.css'));
    33wp_enqueue_script('jquery-effects-core');
  • rj-quickcharts/trunk/rj_charts.php

    r756990 r761892  
    44Plugin URI: http://www.randyjensen.com
    55Description: Easily create charts for your WordPress site. Line charts, bar charts and pie charts currently supported.
    6 Version: 0.5.7
     6Version: 0.5.8
    77Author: Randy Jensen
    88Author URI: http://www.randyjensen.com
     
    1515    global $table_name;
    1616
    17     $rjqc_db_version = '0.5.7';
     17    $rjqc_db_version = '0.5.8';
    1818    $table_name = $wpdb->prefix . 'rj_quickcharts';
    1919
Note: See TracChangeset for help on using the changeset viewer.