Changeset 3243804
- Timestamp:
- 02/20/2025 10:47:35 AM (12 months ago)
- Location:
- connect-wpform-to-any-api
- Files:
-
- 37 added
- 5 edited
-
tags/0.0.3 (added)
-
tags/0.0.3/LICENSE.txt (added)
-
tags/0.0.3/README.txt (added)
-
tags/0.0.3/admin (added)
-
tags/0.0.3/admin/class-wpform-to-any-api-admin.php (added)
-
tags/0.0.3/admin/css (added)
-
tags/0.0.3/admin/css/wpform-to-any-api-admin.css (added)
-
tags/0.0.3/admin/index.php (added)
-
tags/0.0.3/admin/js (added)
-
tags/0.0.3/admin/js/wpform-to-any-api-admin.js (added)
-
tags/0.0.3/admin/partials (added)
-
tags/0.0.3/admin/partials/wpform-to-any-api-admin-display.php (added)
-
tags/0.0.3/includes (added)
-
tags/0.0.3/includes/class-wpform-to-any-api-activator.php (added)
-
tags/0.0.3/includes/class-wpform-to-any-api-deactivator.php (added)
-
tags/0.0.3/includes/class-wpform-to-any-api-i18n.php (added)
-
tags/0.0.3/includes/class-wpform-to-any-api-loader.php (added)
-
tags/0.0.3/includes/class-wpform-to-any-api-log-table.php (added)
-
tags/0.0.3/includes/class-wpform-to-any-api.php (added)
-
tags/0.0.3/includes/index.php (added)
-
tags/0.0.3/index.php (added)
-
tags/0.0.3/languages (added)
-
tags/0.0.3/languages/wpform-to-any-api.pot (added)
-
tags/0.0.3/public (added)
-
tags/0.0.3/public/class-wpform-to-any-api-public.php (added)
-
tags/0.0.3/public/css (added)
-
tags/0.0.3/public/css/wpform-to-any-api-public.css (added)
-
tags/0.0.3/public/index.php (added)
-
tags/0.0.3/public/js (added)
-
tags/0.0.3/public/js/wpform-to-any-api-public.js (added)
-
tags/0.0.3/public/partials (added)
-
tags/0.0.3/public/partials/wpform-to-any-api-public-display.php (added)
-
tags/0.0.3/uninstall.php (added)
-
tags/0.0.3/wpform-to-any-api.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-wpform-to-any-api-admin.php (modified) (4 diffs)
-
trunk/admin/css/wpform-to-any-api-admin.css (modified) (4 diffs)
-
trunk/admin/images (added)
-
trunk/admin/images/logs.png (added)
-
trunk/admin/partials/wpform-to-any-api-admin-display-docs.php (added)
-
trunk/includes/class-wpform-to-any-api.php (modified) (1 diff)
-
trunk/wpform-to-any-api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
connect-wpform-to-any-api/trunk/README.txt
r3201546 r3243804 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 0.0. 37 Stable tag: 0.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 91 91 == Changelog == 92 92 93 = 0.0.4 = 94 95 *Release Date 20 February 2025* 96 97 * New - Documentation Page added 98 * Fix - Minor fixes and updates 99 * Enhancement - More API Support added 100 93 101 = 0.0.3 = 94 102 * Fixed Notice Issue -
connect-wpform-to-any-api/trunk/admin/class-wpform-to-any-api-admin.php
r3161499 r3243804 143 143 array(&$this,'wpformapi_logs_callback') 144 144 ); 145 146 add_submenu_page( 147 'edit.php?post_type=wpform_api', 148 __('Documentation', 'connect-wpform-to-any-api'), 149 __('Documentation', 'connect-wpform-to-any-api'), 150 'manage_options', 151 'wpformapi_docs', 152 array(&$this,'wpformapi_submenu_docs_callback') 153 ); 145 154 } 146 155 … … 152 161 * */ 153 162 public function wpform_to_any_api_add_settings_link( $links, $file ){ 154 155 if($file === 'wpform-to-any-api/wpform-to-any-api.php' && current_user_can('manage_options')){ 156 163 if($file === 'connect-wpform-to-any-api/wpform-to-any-api.php' && current_user_can('manage_options')){ 157 164 $settings_url = admin_url('edit.php?post_type=wpform_api'); 158 165 $documentation = admin_url('edit.php?post_type=wpform_api&page=wpformapi_docs'); 159 166 $links = (array) $links; 160 167 $links[] = sprintf('<a href="%s">%s</a>', $settings_url, __('Settings','connect-wpform-to-any-api')); 168 $links[] = sprintf('<a href="%s">%s</a>', $documentation, __('Documentation','connect-wpform-to-any-api')); 161 169 } 162 170 … … 366 374 } 367 375 376 public function wpformapi_submenu_docs_callback(){ 377 include dirname(__FILE__).'/partials/wpform-to-any-api-admin-display-docs.php'; 378 } 379 368 380 /** 369 381 * Manage Column on api list view … … 601 613 $wpdb->insert($table,$data); 602 614 } 615 616 // Function to add additional links in plugin meta area of plugin listing page 617 public function wpformanyapi_add_plugin_links($links, $file) { 618 619 if ($file == 'connect-wpform-to-any-api/wpform-to-any-api.php') { 620 $new_links = array( 621 '<a href="https://www.contactformtoapi.com/#contact_us" target="_blank">Support</a>', 622 '<a href="https://www.contactformtoapi.com/#contact_us" target="_blank">Need Customization?</a>', 623 '<a href="https://www.contactformtoapi.com/pricing/#crm" target="_blank">Supported CRM/API</a>', 624 '<a href="https://wordpress.org/plugins/contact-form-to-any-api/" target="_blank">Contact Form to Any API</a>' 625 ); 626 627 // Merge new links with existing ones 628 $links = array_merge($links, $new_links); 629 } 630 return $links; 631 } 603 632 } -
connect-wpform-to-any-api/trunk/admin/css/wpform-to-any-api-admin.css
r3161499 r3243804 208 208 margin: 12px; 209 209 } 210 .wpform_api_page_wpformapi_docs .nav-pills .nav-link.active{210 /* .wpform_api_page_wpformapi_docs .nav-pills .nav-link.active{ 211 211 background-color: #2271b1 !important; 212 } 213 .wpform_api_page_wpformapi_docs .wpformapi_doc{ 214 font-size: 17px; 212 } */ 213 .wpform_api_page_wpformapi_docs .cf7anyapi_doc, .wpform_api_page_wpformapi_docs .cf7anyapi_doc p{ 214 /* font-size: 17px;*/ 215 font-size:14px; 216 } 217 .wpform_api_page_wpformapi_docs .cf7anyapi_doc{ 215 218 padding: 40px; 216 } 219 } 217 220 .wpform_api_page_wpformapi_docs .row{ 218 221 margin-top: 25px; 219 222 border: 1px solid #ccc; 220 223 } 221 .wpform_api_page_wpformapi_docs .col -2.tab{222 border: 1px solid # ccc;224 .wpform_api_page_wpformapi_docs .column-tab-nav.tab{ 225 border: 1px solid #e0e0e0; 223 226 padding: 0px; 224 background-color: #eeebe6;225 } 226 .wpform_api_page_wpformapi_docs .nav.flex-column.nav-pills a:hover {227 /* background-color: #eeebe6; */ 228 } 229 /* .wpform_api_page_wpformapi_docs .nav.flex-column.nav-pills a:hover { 227 230 background-color: #ddd; 228 } 231 } */ 229 232 .wpform_api_page_wpformapi_docs .col-7.tab{ 230 233 border: 1px solid #ccc; … … 243 246 244 247 245 .wpform_api_page_wpformapi_docs . wpformapi_full_width pre { margin:15px 15px; }246 .wpform_api_page_wpformapi_docs . wpformapi_full_width ol li{margin-bottom:15px; }248 .wpform_api_page_wpformapi_docs .cf7anyapi_full_width pre { margin:15px 15px; } 249 .wpform_api_page_wpformapi_docs .cf7anyapi_full_width ol li{margin-bottom:15px; } 247 250 248 251 .cf7-any-api-modal { … … 284 287 height: 100px; 285 288 } 286 .cf7-any-api-modal .reason textarea{289 /* .cf7-any-api-modal .reason textarea{ 287 290 display: none; 288 } 291 } */ 289 292 .cf7-any-api-modal .cf7-any-api-modal-header h4 { 290 293 margin: 0; … … 346 349 height: 100%; 347 350 } 351 352 /* New Css */ 353 .tab-pane pre { 354 background: #eee; 355 padding: 10px; 356 border-radius: 5px; 357 overflow-x: auto; 358 } 359 .tab-pane ul { 360 margin: 20px 0; 361 padding-left: 40px; 362 } 363 .tab-pane ol ul, .tab-pane ul { 364 list-style-type: circle; 365 list-style-type: disclosure-closed; 366 } 367 .tab-pane ol li::marker { 368 font-weight: bolder; 369 } 370 .tab-pane ul li::marker { 371 color: #015e8c; 372 } 373 .tab-pane li { 374 margin-bottom: 10px; 375 } 376 .tab-pane code { 377 background: #f4f4f4; 378 padding: 2px 4px; 379 border-radius: 4px; 380 color: #c7254e; 381 } 382 .tab-pane .tab-title { 383 background: #e5f1f8; 384 border-bottom: 4px solid #007cba; 385 padding: 10px; 386 margin: 20px 0; 387 border-radius: 5px; 388 } 389 .cf7anyapi_doc .nav.nav-pills .nav-link { 390 color: #007cba; 391 background-color: transparent; 392 display: grid; 393 align-items: center; 394 grid-template-columns: 48px auto; 395 border-right: none; 396 border-bottom: 1px solid #e0e0e0; 397 border-radius: 0; 398 padding: 12px 16px; 399 font-size: 14px; 400 font-weight: 600; 401 box-shadow: inset 5px 0 0 0 transparent; 402 } 403 .cf7anyapi_doc .nav.nav-pills .nav-link:hover{ 404 background-color: #f6f7f7; 405 } 406 .cf7anyapi_doc .nav.nav-pills .nav-link:focus { 407 box-shadow: none; 408 } 409 410 .cf7anyapi_doc .nav.nav-pills .nav-link.active { 411 box-shadow: inset 5px 0 0 0 #007cba; 412 transition: box-shadow .1s linear; 413 background-color: #007ab81a; 414 } 415 .tab-index { 416 border-radius: 50%; 417 width: 32px; 418 height: 32px; 419 border: 1px solid #007cba; 420 } 421 .tab-index:after { 422 color: var(--wp-admin-theme-color); 423 font-weight: 700; 424 justify-content: center; 425 display: flex; 426 align-items: center; 427 height: 100%; 428 width: 100%; 429 } 430 .tab-index-1 .tab-index:after { 431 content: "1"; 432 } 433 .tab-index-2 .tab-index:after { 434 content: "2"; 435 } 436 .tab-index-3 .tab-index:after { 437 content: "3"; 438 } 439 .tab-index-4 .tab-index:after { 440 content: "4"; 441 } 442 .tab-index-5 .tab-index:after { 443 content: "5"; 444 } 445 .tab-index-6 .tab-index:after { 446 content: "6"; 447 } 448 .tab-index-7 .tab-index:after { 449 content: "7"; 450 } 451 .tab-index-8 .tab-index:after { 452 content: "8"; 453 } 454 .tab-pane h5 { 455 text-align: center; 456 margin-bottom: 30px; 457 font-size: 26px; 458 } 459 .tab-content a{ 460 color: #007cba; 461 } 462 .tab-content a:focus, .tab-content a:hover{ 463 color: #007cba; 464 box-shadow: none; 465 text-decoration: none; 466 } 467 .tab-pane .iframe-wrap { 468 text-align: center; 469 width: 90%; 470 margin: 40px auto; 471 } 472 .tab-pane .iframe-wrap iframe, .tab-pane img{ 473 box-shadow: 0px 6px 10px #00000033; 474 border-radius: 10px; 475 } 476 .get_pro_version-btn { 477 margin-top: 40px; 478 } 479 .get_pro_version-btn a { 480 font-size: 20px; 481 font-weight: 700; 482 background: #e5f1f8; 483 color: #212529; 484 border-bottom: 4px solid #007cba; 485 padding: 10px 30px; 486 border-radius: 5px; 487 text-decoration: none !important; 488 } 489 .get_pro_version-btn a:hover{ 490 color: #212529; 491 box-shadow: none; 492 } 493 .get_pro_version-btn a:focus{ 494 box-shadow: none; 495 } 496 ul.pro_crm_list { 497 column-count: 2; 498 } 348 499 @media screen and (max-width: 1500px){ 349 500 -
connect-wpform-to-any-api/trunk/includes/class-wpform-to-any-api.php
r3161499 r3243804 176 176 $this->loader->add_filter( 'manage_edit-wpform_api_sortable_columns', $plugin_admin, 'wpform_api_sortable_columns'); 177 177 $this->loader->add_action( 'wpforms_process_complete', $plugin_admin, 'wpformapi_send_data_to_api', 10, 4); 178 // Plugin links 179 $this->loader->add_filter('plugin_row_meta', $plugin_admin, 'wpformanyapi_add_plugin_links', 10, 2); 178 180 } 179 181 -
connect-wpform-to-any-api/trunk/wpform-to-any-api.php
r3201546 r3243804 17 17 * Plugin URI: https://wordpress.org/plugins/connect-wpform-to-any-api 18 18 * Description: Send WPForms Lead/Data to Any CRM or Third Party APIs 19 * Version: 0.0. 319 * Version: 0.0.4 20 20 * Author: IT Path Solutions 21 21 * Author URI: https://www.itpathsolutions.com/ 22 * Requires Plugins: wpforms-lite 22 23 * License: GPL-2.0+ 23 24 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 36 37 * Rename this for your plugin and update it as you release new versions. 37 38 */ 38 define( 'WPFORM_TO_ANY_API_VERSION', '0.0. 3' );39 define( 'WPFORM_TO_ANY_API_VERSION', '0.0.4' ); 39 40 40 41 /**
Note: See TracChangeset
for help on using the changeset viewer.