| Server IP : 52.211.252.20 / Your IP : 172.31.22.179 Web Server : Apache/2.4.68 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2 System : Linux ip-172-31-10-208.eu-west-1.compute.internal 6.8.0-1044-aws #46~22.04.1-Ubuntu SMP Tue Dec 2 12:52:18 UTC 2025 x86_64 User : kazang ( 1006) PHP Version : 8.2.31 Disable Function : 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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/kazang/web/kazang.com/public_html/wp-content/plugins/formidable/classes/views/styles/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( 'You are not allowed to call this page directly.' );
}
// This is the main view file used in the visual styler. It is used for both the "list" and "edit" view types.
// It is accessed from /wp-admin/admin.php?page=formidable-styles&frm_action=edit&form=782
?>
<div class="frm_page_container">
<?php
// The embed button expects that the form ID is available as a #form_id field.
?>
<input type="hidden" id="form_id" value="<?php echo absint( $form->id ); ?>" />
<?php
// Wrap the header in a .frm_wrap element so the h1 tag gets styled properly.
// We want to avoid putting .frm_wrap on the whole page container to avoid back end styling in the visual styler preview.
?>
<div class="frm_wrap">
<?php
FrmAppHelper::get_admin_header(
array(
'form' => $form,
'hide_title' => true,
'publish' => array(
'FrmFormsController::form_publish_button',
array(
'values' => array(
// Pass this so that the Preview dropdown works.
'form_key' => $form->form_key,
),
),
),
)
);
?>
</div>
<div id="frm_styler_wrapper" class="columns-2">
<?php
$view_file = 'list' === $view ? 'list' : 'edit';
// Render view based on type (either _styles-list.php or _styles-edit.php).
require $style_views_path . '_styles-' . $view_file . '.php';
// Render preview container.
require $style_views_path . '_style-preview-container.php';
?>
</div>
</div>