Changeset 3280710
- Timestamp:
- 04/24/2025 08:49:32 AM (10 months ago)
- Location:
- driveworks-shortcode-form-embed
- Files:
-
- 5 added
- 2 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/driveworks-shortcode-form-embed.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/script.js (added)
-
tags/1.0.2/style.css (added)
-
trunk/driveworks-shortcode-form-embed.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
driveworks-shortcode-form-embed/trunk/driveworks-shortcode-form-embed.php
r2668382 r3280710 7 7 * Author: DriveWorks Ltd 8 8 * Author URI: https://driveworks.co.uk 9 * Version: 1.0. 19 * Version: 1.0.2 10 10 * License: GPL v2 or later 11 11 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 50 50 $dw_shortcode_embed_form_message_cancel = "This submission has been cancelled."; 51 51 52 $dw_shortcode_embed_project_name_attr = ""; 53 if ( $dw_shortcode_embed_project_name ) { 54 $dw_shortcode_embed_project_name_attr = ' data-project-name="' . htmlspecialchars($dw_shortcode_embed_project_name) . '"'; 55 } 56 57 $dw_shortcode_embed_drive_app_alias_attr = ""; 58 if ( isset($dw_shortcode_embed_drive_app_alias) ) { 59 $dw_shortcode_embed_drive_app_alias_attr = ' data-drive-app-alias="' . htmlspecialchars($dw_shortcode_embed_drive_app_alias) . '"'; 60 } 61 62 $dw_shortcode_embed_ping_interval_attr = ""; 63 if ( isset($dw_shortcode_embed_ping_interval) ) { 64 $dw_shortcode_embed_drive_app_alias_attr = ' data-ping-interval="' . htmlspecialchars($dw_shortcode_embed_ping_interval) . '"'; 65 } 66 67 $dw_shortcode_embed_height_attr = "auto"; 68 if ( isset($dw_shortcode_embed_height) ) { 69 $dw_shortcode_embed_height_attr = htmlspecialchars($dw_shortcode_embed_height); 70 } 71 52 72 $dw_shortcode_embed_markup = '<div data-driveworks-shortcode-embed class="dw-shortcode-embed dw-is-loading"' . (is_user_logged_in() ? ' data-debug="true"' : ''); 53 73 $dw_shortcode_embed_markup .= ' data-server-url="' . $dw_shortcode_embed_server_url . '"'; 54 74 $dw_shortcode_embed_markup .= ' data-group-alias="' . htmlspecialchars($dw_shortcode_embed_group_alias) . '"'; 55 $dw_shortcode_embed_project_name ? $dw_shortcode_embed_markup .= ' data-project-name="' . htmlspecialchars($dw_shortcode_embed_project_name) . '"' : ""; 56 $dw_shortcode_embed_drive_app_alias ? $dw_shortcode_embed_markup .= ' data-drive-app-alias="' . htmlspecialchars($dw_shortcode_embed_drive_app_alias) . '"' : ""; 57 $dw_shortcode_embed_ping_interval ? $dw_shortcode_embed_markup .= ' data-ping-interval="' . htmlspecialchars($dw_shortcode_embed_ping_interval) . '"' : ""; 75 $dw_shortcode_embed_markup .= $dw_shortcode_embed_project_name_attr; 76 $dw_shortcode_embed_markup .= $dw_shortcode_embed_drive_app_alias_attr; 77 $dw_shortcode_embed_markup .= $dw_shortcode_embed_ping_interval_attr; 78 58 79 $dw_shortcode_embed_markup .= '> 59 <div data-form-output class="dw-form-output" style="height: ' . ($dw_shortcode_embed_height ? htmlspecialchars($dw_shortcode_embed_height) : 'auto'). ';">80 <div data-form-output class="dw-form-output" style="height: ' . $dw_shortcode_embed_height_attr . ';"> 60 81 <div class="dw-embed-loading dw-embed-message">' . $dw_shortcode_embed_form_message_loading . '</div> 61 82 </div> -
driveworks-shortcode-form-embed/trunk/readme.txt
r3279871 r3280710 2 2 Contributors: driveworks 3 3 Tags: driveworks, shortcode, embed, integration, project 4 Stable tag: 1.0. 14 Stable tag: 1.0.2 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8 … … 103 103 == Changelog == 104 104 105 = 1.0.2 = 106 107 * Fixed: Undefined variable warnings with WP_DEBUG enabled. 108 105 109 = 1.0.1 = 106 110
Note: See TracChangeset
for help on using the changeset viewer.