PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.3
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.3
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Render/Page/Data.php +11 -16 3.0.73.0.3 View file →
@@ -158,9 +158,9 @@
158 158 </div>
159 159 </li>
160 160 </ul>
161 161 </li>
162 - <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature' ); ?>">
162 + <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', '' ); ?> ">
163 163 <h2 class="viz-group-title viz-sub-group"
164 164 data-current="chart"><?php _e( 'Import from other chart', 'visualizer' ); ?><span
165 165 class="dashicons dashicons-lock"></span></h2>
166 166 <div class="viz-group-content edit-data-content">
@@ -215,15 +215,11 @@
215 215 </div>
216 216 </div>
217 217 </li>
218 218
219 - <?php
220 - // we will auto-open the manual data feature but only when pro is active.
221 - $pro_class = apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature' );
222 - ?>
223 - <li class="viz-group <?php echo $pro_class; ?> <?php echo empty( $pro_class ) ? 'open' : ''; ?> ">
219 + <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature' ); ?>">
224 220 <h2 class="viz-group-title viz-sub-group visualizer-editor-tab"
225 - data-current="chart"><?php _e( 'Manual Data', 'visualizer' ); ?><span
221 + data-current="chart"><?php _e( 'Add data manually', 'visualizer' ); ?><span
226 222 class="dashicons dashicons-lock"></span></h2>
227 223 <form id="editor-form" action="<?php echo $upload_link; ?>" method="post" target="thehole">
228 224 <input type="hidden" id="chart-data" name="chart_data">
229 225 <input type="hidden" id="chart-data-src" name="chart_data_src">
@@ -404,17 +400,16 @@
404 400 *
405 401 * @access protected
406 402 */
407 403 protected function _renderToolbar() {
408 - // don't show back button at all.
409 - // NOTE: We can't be selective on the post_status here because when a new chart reaches the settings screen, its status changes to publish.
410 - if ( ! VISUALIZER_SKIP_CHART_TYPE_PAGE ) {
411 - echo '<div class="toolbar-div">';
412 - echo '<a class="button button-large" href="', add_query_arg( 'tab', 'types' ), '">';
413 - esc_html_e( 'Back', 'visualizer' );
414 - echo '</a>';
415 - echo '</div>';
416 - }
404 + // changed by Ash/Upwork
405 + echo '<div class="toolbar-div">';
406 + echo '<a class="button button-large" href="', add_query_arg( 'tab', 'types' ), '">';
407 + esc_html_e( 'Back', 'visualizer' );
408 + echo '</a>';
409 + echo '</div>';
417 410 echo '<input type="submit" id="settings-button" class="button button-primary button-large push-right" value="', $this->button, '">';
411 + echo '</div>';
412 +
418 413 }
419 414
420 415 }