PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 2.16.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v2.16.2
V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 2.10.1 2.10.2 All 137 releases
bit-form / views / entry-edit-page.php

entry-edit-page.php in Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder 2.16.2, at views/entry-edit-page.php

70 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH') && !defined('BITFORMS_ASSET_URI')) {
3 exit;
4 }
5 ?>
6
7 <!DOCTYPE html>
8 <html lang="en">
9
10 <head>
11 <meta charset="UTF-8">
12 <meta http-equiv="X-UA-Compatible" content="IE=edge">
13 <meta name="viewport" content="width=device-width, initial-scale=1.0">
14 <title><?php echo isset($title) ? esc_html($title) : ''; ?></title>
15 <style>
16 html,
17 body {
18 min-height: 100%;
19 }
20
21 body {
22 display: flex;
23 justify-content: center;
24 align-items: center;
25 flex-direction: column;
26 /* background-color: #f1f1f1; */
27 }
28
29 ._frm-bg-b<?php echo esc_html($formID) ?> {
30 width: 600px;
31 margin-block: 100px;
32 }
33 </style>
34 <?php
35 $formUpdateVersion = get_option('bit-form_form_update_version');
36 $bitformCssUrl = BITFORMS_UPLOAD_BASE_URL . '/form-styles/bitform-' . $formID . '.css?bfv=' . $formUpdateVersion;
37 ?>
38 <link rel="stylesheet" href="<?php echo esc_url($bitformCssUrl) ?>" />
39 <?php
40 $customCssSubPath = "/form-styles/bitform-custom-{$formID}.css";
41
42 $customJsPath = BITFORMS_UPLOAD_BASE_URL . $customCssSubPath . '?ver=' . $formUpdateVersion;
43 ?>
44 <?php if(file_exists(BITFORMS_CONTENT_DIR . $customCssSubPath)) : ?>
45 <link rel="stylesheet" href="<?php echo esc_url($customJsPath) ?>" />
46 <?php endif; ?>
47
48 <?php if (isset($font) && '' !== $font): ?>
49 <link rel="preconnect" href="https://fonts.googleapis.com">
50 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
51 <link rel="stylesheet" href="<?php echo esc_url($font)?>" />
52 <?php endif; ?>
53
54 </head>
55
56 <body>
57 <?php echo $formHTML ?>
58
59 <script>
60 <?php echo $bfGlobals?>;
61
62 <?php
63 $previewJsPath = BITFORMS_UPLOAD_BASE_URL . '/form-scripts/preview-' . $formID . '.js';
64 ?>
65 </script>
66 <script src="<?php echo esc_url($previewJsPath) ?>"></script>
67
68 </body>
69
70 </html>