| @@ -77,8 +77,9 @@ | ||
| 77 | 77 | if ( isset( $_GET['s'] ) && strlen( $_GET['s'] ) > 0 ) { |
| 78 | 78 | $filterBy = filter_input( INPUT_GET, 's', FILTER_SANITIZE_STRING ); |
| 79 | 79 | } |
| 80 | 80 | // Added by Ash/Upwork |
| 81 | + echo $this->custom_css; | |
| 81 | 82 | echo '<div id="visualizer-types" class="visualizer-clearfix">'; |
| 82 | 83 | echo '<ul class="subsubsub">'; |
| 83 | 84 | foreach ( $this->types as $type => $array ) { |
| 84 | 85 | if ( ! is_array( $array ) ) { |
| @@ -173,9 +174,10 @@ | ||
| 173 | 174 | array( |
| 174 | 175 | 'action' => Visualizer_Plugin::ACTION_DELETE_CHART, |
| 175 | 176 | 'nonce' => wp_create_nonce(), |
| 176 | 177 | 'chart' => $chart_id, |
| 177 | - ), $ajax_url | |
| 178 | + ), | |
| 179 | + $ajax_url | |
| 178 | 180 | ); |
| 179 | 181 | $clone_url = add_query_arg( |
| 180 | 182 | array( |
| 181 | 183 | 'action' => Visualizer_Plugin::ACTION_CLONE_CHART, |
| @@ -181,9 +183,10 @@ | ||
| 181 | 183 | 'action' => Visualizer_Plugin::ACTION_CLONE_CHART, |
| 182 | 184 | 'nonce' => wp_create_nonce( Visualizer_Plugin::ACTION_CLONE_CHART ), |
| 183 | 185 | 'chart' => $chart_id, |
| 184 | 186 | 'type' => $this->type, |
| 185 | - ), $ajax_url | |
| 187 | + ), | |
| 188 | + $ajax_url | |
| 186 | 189 | ); |
| 187 | 190 | $export_link = add_query_arg( |
| 188 | 191 | array( |
| 189 | 192 | 'action' => Visualizer_Plugin::ACTION_EXPORT_DATA, |
| @@ -188,9 +191,10 @@ | ||
| 188 | 191 | array( |
| 189 | 192 | 'action' => Visualizer_Plugin::ACTION_EXPORT_DATA, |
| 190 | 193 | 'chart' => $chart_id, |
| 191 | 194 | 'security' => wp_create_nonce( Visualizer_Plugin::ACTION_EXPORT_DATA . Visualizer_Plugin::VERSION ), |
| 192 | - ), admin_url( 'admin-ajax.php' ) | |
| 195 | + ), | |
| 196 | + admin_url( 'admin-ajax.php' ) | |
| 193 | 197 | ); |
| 194 | 198 | echo '<div class="visualizer-chart"><div class="visualizer-chart-title">', esc_html( $title ), '</div>'; |
| 195 | 199 | echo '<div id="', $placeholder_id, '" class="visualizer-chart-canvas">'; |
| 196 | 200 | echo '<img src="', VISUALIZER_ABSURL, 'images/ajax-loader.gif" class="loader">'; |