Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > wpforms-lite > includes > functions >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
access.php | File | 10729 bytes | June 05 2025 16:54:44. | |
builder.php | File | 1410 bytes | June 17 2025 13:49:02. | |
checks.php | File | 16176 bytes | July 31 2025 14:13:36. | |
colors.php | File | 4067 bytes | November 28 2023 16:59:36. | |
data-presets.php | File | 19488 bytes | February 16 2023 18:36:38. | |
date-time.php | File | 2892 bytes | June 05 2025 16:54:44. | |
debug.php | File | 5350 bytes | July 31 2025 14:13:36. | |
education.php | File | 2963 bytes | June 17 2025 13:49:02. | |
escape-sanitize.php | File | 14233 bytes | January 28 2025 17:46:12. | |
filesystem-media.php | File | 6758 bytes | April 24 2025 14:53:30. | |
form-fields.php | File | 17322 bytes | July 31 2025 14:13:36. | |
forms.php | File | 13846 bytes | July 31 2025 14:13:36. | |
list.php | File | 7040 bytes | June 13 2024 16:24:36. | |
payments.php | File | 22279 bytes | July 31 2025 14:13:36. | |
plugins.php | File | 2432 bytes | June 05 2025 16:54:44. | |
privacy.php | File | 2576 bytes | February 27 2025 17:40:00. | |
providers.php | File | 2040 bytes | June 05 2025 16:54:44. | |
utilities.php | File | 8743 bytes | June 05 2025 16:54:44. |
<?php /** * Helpers functions for builder. * * @since 1.9.6.1 */ /** * Outputs a button element to display the connection status for a given connection. * * @since 1.9.6.1 * * @param string $connection_id The unique identifier for the connection. * @param string $name The name attribute value to be used for the status input field. * @param bool $is_active Connection status, where true represents active and false represents inactive. */ function wpforms_connection_status_button( string $connection_id, string $name, bool $is_active ) { $label = $is_active ? __( 'Active', 'wpforms-lite' ) : __( 'Inactive', 'wpforms-lite' ); $title = $is_active ? __( 'Deactivate', 'wpforms-lite' ) : __( 'Activate', 'wpforms-lite' ); printf( '<span class="wpforms-builder-settings-block-status wpforms-badge wpforms-badge-sm wpforms-badge-%1$s wpforms-status-button" title="%5$s" data-active="%2$s" data-connection-id="%6$s">%3$s<i class="wpforms-status-label">%4$s</i></span>', sanitize_html_class( $is_active ? 'green' : 'silver' ), esc_attr( $is_active ), $is_active ? '<i class="fa fa-check"></i>' : '<i class="fa fa-times"></i>', esc_html( $label ), esc_attr( $title ), esc_attr( $connection_id ) ); printf( '<input type="hidden" name="%1$s" id="wpforms-connection-status-%2$s" value="%3$d">', esc_attr( $name ), esc_attr( $connection_id ), absint( $is_active ) ); }
SILENT KILLER Tool