PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.9
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.9
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Views / frameless / frameless_page_view.php

frameless_page_view.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.9, at app/Views/frameless/frameless_page_view.php

81 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined('ABSPATH') or die;
4
5 ?>
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
8 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
9 <head>
10 <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
11 <meta http-equiv="Imagetoolbar" content="No"/>
12 <meta name="viewport" content="width=device-width, initial-scale=1">
13
14 <?php if(!empty($data['result']) && !empty($data['result']['redirectUrl'])): ?>
15 <!-- Fallback for jquery error for redirect -->
16 <meta http-equiv="refresh" content="5;url=<?php echo esc_url($data['result']['redirectUrl']); ?>" />
17 <?php endif; ?>
18
19 <?php
20 wp_head();
21 ?>
22 </head>
23 <body class="ff_frameless_page_body ff_frameless_page_<?php echo esc_attr($form->id); ?> ff_frameless_status_<?php echo esc_attr($status); ?>">
24
25 <div class="ff_frameless_wrapper">
26 <div class="ff_frameless_item">
27 <div class="ff_frameless_header">
28 <?php echo esc_html($title); ?>
29 </div>
30 <div class="ff_frameless_body">
31 <?php
32 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- $message is sanitized via fluentform_sanitize_html() in SubmissionHandlerService::getReturnData() before being passed to this view
33 echo $message;
34 ?>
35
36 <?php if (isset($data['loader']) && $data['loader']): ?>
37 <div class="ff_paypal_loader_svg" style="text-align: center">
38 <svg version="1.1"
39 id="L4"
40 xmlns="http://www.w3.org/2000/svg"
41 xmlns:xlink="http://www.w3.org/1999/xlink"
42 x="0px"
43 y="0px"
44 viewBox="0 0 100 100"
45 enable-background="new 0 0 0 0"
46 xml:space="preserve"
47 width="50px"
48 height="50px"
49 style="margin: 0px auto;"
50 >
51 <circle fill="#000" stroke="none" cx="6" cy="50" r="6">
52 <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1" />
53 </circle>
54 <circle fill="#000" stroke="none" cx="26" cy="50" r="6">
55 <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2" />
56 </circle>
57 <circle fill="#000" stroke="none" cx="46" cy="50" r="6">
58 <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3" />
59 </circle>
60 </svg>
61 </div>
62 <?php endif;?>
63 </div>
64 </div>
65 </div>
66 <?php
67 wp_footer();
68 ?>
69
70 <?php if(!empty($data['result']) && !empty($data['result']['redirectUrl'])): ?>
71 <script type="text/javascript">
72 jQuery(document).ready(function ($) {
73 window.location.href = "<?php echo esc_url($data['result']['redirectUrl']); ?>";
74 });
75 </script>
76 <?php endif; ?>
77
78 </body>
79 </html>
80
81