Changeset 2054106
- Timestamp:
- 03/20/2019 03:50:50 PM (7 years ago)
- Location:
- aspexi-sweet-popups
- Files:
-
- 41 added
- 4 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/Sweet-Alert-LICENSE (added)
-
tags/1.1.3/aspexi-sweet-popups.php (added)
-
tags/1.1.3/css (added)
-
tags/1.1.3/css/sweet-popups.css (added)
-
tags/1.1.3/css/sweetalert-button.css (added)
-
tags/1.1.3/css/sweetalert-facebook.css (added)
-
tags/1.1.3/css/sweetalert-footer.css (added)
-
tags/1.1.3/css/sweetalert-google.css (added)
-
tags/1.1.3/css/sweetalert-modal.css (added)
-
tags/1.1.3/css/sweetalert-overlay.css (added)
-
tags/1.1.3/css/sweetalert-text.css (added)
-
tags/1.1.3/css/sweetalert-title.css (added)
-
tags/1.1.3/css/sweetalert-twitter.css (added)
-
tags/1.1.3/css/sweetalert.css (added)
-
tags/1.1.3/images (added)
-
tags/1.1.3/images/aspexi300.png (added)
-
tags/1.1.3/images/close_button_button.png (added)
-
tags/1.1.3/images/close_button_icon.png (added)
-
tags/1.1.3/images/empty.png (added)
-
tags/1.1.3/images/error.png (added)
-
tags/1.1.3/images/info.png (added)
-
tags/1.1.3/images/like_button_layout_box_count.png (added)
-
tags/1.1.3/images/like_button_layout_button.png (added)
-
tags/1.1.3/images/like_button_layout_button_count.png (added)
-
tags/1.1.3/images/like_button_layout_standard.png (added)
-
tags/1.1.3/images/success.png (added)
-
tags/1.1.3/images/theme_facebook.png (added)
-
tags/1.1.3/images/theme_google.png (added)
-
tags/1.1.3/images/theme_none.png (added)
-
tags/1.1.3/images/theme_twitter.png (added)
-
tags/1.1.3/images/warning.png (added)
-
tags/1.1.3/js (added)
-
tags/1.1.3/js/asp-admin.js (added)
-
tags/1.1.3/js/asp.js (added)
-
tags/1.1.3/js/sweetalert.min.js (added)
-
tags/1.1.3/languages (added)
-
tags/1.1.3/languages/aspexisweetpopups-pl_PL.mo (added)
-
tags/1.1.3/languages/aspexisweetpopups-pl_PL.po (added)
-
tags/1.1.3/languages/aspexisweetpopups.pot (added)
-
tags/1.1.3/readme.txt (added)
-
trunk/aspexi-sweet-popups.php (modified) (2 diffs)
-
trunk/js/asp-admin.js (modified) (3 diffs)
-
trunk/js/asp.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aspexi-sweet-popups/trunk/aspexi-sweet-popups.php
r1832129 r2054106 6 6 Author: Aspexi 7 7 Author URI: http://aspexi.com/ 8 Version: 1.1. 28 Version: 1.1.3 9 9 10 10 License: GPLv2 or later 11 11 12 © Copyright 201 5Aspexi12 © Copyright 2019 Aspexi 13 13 This program is free software; you can redistribute it and/or modify 14 14 it under the terms of the GNU General Public License, version 2, as … … 27 27 if ( ! class_exists( 'AspexiSweetPopups' ) ) { 28 28 29 define('ASPEXISWEETPOPUPS_VERSION', '1.1. 2');29 define('ASPEXISWEETPOPUPS_VERSION', '1.1.3'); 30 30 define('ASPEXISWEETPOPUPS_URL', plugin_dir_url( __FILE__ ) ); 31 31 define('ASPEXISWEETPOPUPS_ADMIN_URL', 'themes.php?page=' . basename( __FILE__ ) ); -
aspexi-sweet-popups/trunk/js/asp-admin.js
r1832129 r2054106 1 1 jQuery(document).ready(function() { 2 2 var previewButton = jQuery('.previewbutton'); 3 4 const wrapper = document.createElement('div'); 5 wrapper.innerHTML = asp_nl2br( jQuery('textarea[name="asp_content"]').val() ); 3 6 4 7 previewButton.on('click', function(event) { … … 29 32 swal({ 30 33 title: jQuery('input[name="asp_title"]').val(), 31 text: asp_nl2br( jQuery('textarea[name="asp_content"]').val() ), 32 icon: type, 33 html: true 34 content: wrapper, 35 icon: type 34 36 }); 35 37 }); … … 84 86 title: asp.nav_tab_changed_title, 85 87 text: asp.nav_tab_changed_text, 86 type: "warning",88 icon: "warning", 87 89 showCancelButton: true, 88 90 confirmButtonText: asp.nav_tab_changed_yes, -
aspexi-sweet-popups/trunk/js/asp.js
r1832129 r2054106 1 1 jQuery(document).ready(function() { 2 2 if (asp.show) { 3 4 const wrapper = document.createElement('div'); 5 wrapper.innerHTML = asp.content; 6 3 7 swal({ 4 8 title: asp.title, 5 text: asp.content, 6 icon: (asp.icon_type != 'empty') ? asp.icon_type : '', 7 html: asp.html 9 content: wrapper, 10 icon: (asp.icon_type != 'empty') ? asp.icon_type : '' 8 11 }); 9 12 } -
aspexi-sweet-popups/trunk/readme.txt
r1832129 r2054106 5 5 Tags: popup, popups, scroll popups, wordpress popup, wp popups, login popup, promotion, responsive popup, pop over, marketing, advertise, box, layout, notification, overlay, pop-up, simple popup 6 6 Requires at least: 4.0 7 Tested up to: 4.9.48 Stable tag: 1.1. 27 Tested up to: 5.1 8 Stable tag: 1.1.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 == Changelog == 56 56 57 = 1.1.3 = 58 * HTML parsing fix 59 57 60 = 1.1.2 = 58 61 * Sweet Alert library update
Note: See TracChangeset
for help on using the changeset viewer.