HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/plugins/formidable/stripe/views/settings/connect.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}
?>
<div style="margin-bottom:15px;" data-test-mode="<?php echo $test ? 1 : 0; ?>">
	<span style="margin-bottom: 5px;min-width:40px;display: inline-block;">
		<b style="color: var(--medium-grey);"><?php echo esc_html( $title ); ?></b>
	</span>
	<?php if ( $account_id ) { ?>
		<?php if ( $connected ) { ?>
			<?php FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_icon frm-yes' ); ?>
			<?php esc_html_e( 'Connected', 'formidable' ); ?>
			&nbsp; &nbsp;
		<?php } else { ?>
			<strong>
				<span class="frm-nope" style="color:#F04438">&#10008;</span>
				<?php esc_html_e( 'Not connected!', 'formidable' ); ?>
			</strong>
			<br/><br/>
			<a id="frm_reauth_stripe" class="button-primary frm-button-primary" href="#">
				<?php FrmStrpLiteConnectHelper::stripe_icon(); ?> &nbsp;
				<?php esc_html_e( 'Finish Stripe Setup', 'formidable' ); ?>
			</a>
			or
		<?php } ?>
		<a id="frm_disconnect_stripe" href="#" style="font-size:13px"><?php esc_html_e( 'Disconnect', 'formidable' ); ?></a>
	<?php } else { ?>
		<br/><br/>
		<a id="frm_connect_with_oauth" class="button-primary frm-button-primary">
			<?php FrmStrpLiteConnectHelper::stripe_icon(); ?> &nbsp;
			<?php esc_html_e( 'Connect to Stripe', 'formidable' ); ?>
		</a>
		<?php
	}//end if
	?>
</div>