Changeset 2827934
- Timestamp:
- 12/02/2022 09:42:32 PM (3 years ago)
- Location:
- anychat-widget
- Files:
-
- 53 added
- 5 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/anychat.php (added)
-
tags/1.0.2/classes (added)
-
tags/1.0.2/classes/AnyChat.php (added)
-
tags/1.0.2/classes/AnyChatAbstract.php (added)
-
tags/1.0.2/classes/AnyChatAdmin.php (added)
-
tags/1.0.2/classes/AnyChatFormHelper.php (added)
-
tags/1.0.2/classes/AnyChatLoader.php (added)
-
tags/1.0.2/classes/AnyChatTools.php (added)
-
tags/1.0.2/functions.php (added)
-
tags/1.0.2/models (added)
-
tags/1.0.2/models/AnyChatConfigGeneral.php (added)
-
tags/1.0.2/models/AnyChatConfigModel.php (added)
-
tags/1.0.2/models/AnyChatConfigModelAbstract.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/res (added)
-
tags/1.0.2/res/css (added)
-
tags/1.0.2/res/css/admin.css (added)
-
tags/1.0.2/res/img (added)
-
tags/1.0.2/res/img/01.png (added)
-
tags/1.0.2/res/img/02.png (added)
-
tags/1.0.2/res/img/03.png (added)
-
tags/1.0.2/res/img/04.png (added)
-
tags/1.0.2/res/img/05.png (added)
-
tags/1.0.2/res/img/06.png (added)
-
tags/1.0.2/res/img/5-stars.png (added)
-
tags/1.0.2/res/img/logo-big.png (added)
-
tags/1.0.2/res/img/logo.png (added)
-
tags/1.0.2/res/js (added)
-
tags/1.0.2/res/js/admin.js (added)
-
tags/1.0.2/res/semantic-ui (added)
-
tags/1.0.2/res/semantic-ui/assets (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts/icons.eot (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts/icons.svg (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts/icons.ttf (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts/icons.woff (added)
-
tags/1.0.2/res/semantic-ui/assets/fonts/icons.woff2 (added)
-
tags/1.0.2/res/semantic-ui/semantic-combined.min.css (added)
-
tags/1.0.2/res/semantic-ui/semantic.min.css (added)
-
tags/1.0.2/res/semantic-ui/semantic.min.js (added)
-
tags/1.0.2/views (added)
-
tags/1.0.2/views/admin (added)
-
tags/1.0.2/views/admin/_about.php (added)
-
tags/1.0.2/views/admin/_button.php (added)
-
tags/1.0.2/views/admin/_general.php (added)
-
tags/1.0.2/views/admin/_integration_type.php (added)
-
tags/1.0.2/views/admin/_setup.php (added)
-
tags/1.0.2/views/admin/config.php (added)
-
tags/1.0.2/views/front (added)
-
tags/1.0.2/views/front/button.php (added)
-
tags/1.0.2/views/helper (added)
-
tags/1.0.2/views/helper/form.php (added)
-
trunk/anychat.php (modified) (2 diffs)
-
trunk/classes/AnyChat.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/res/css/admin.css (modified) (1 diff)
-
trunk/views/front/button.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anychat-widget/trunk/anychat.php
r2827746 r2827934 6 6 Plugin Name: AnyChat widget 7 7 Description: Display contact us button with menu on every page. Callback request, reCaptcha V3 protection and many customizations! 8 Version: 1.0. 08 Version: 1.0.2 9 9 Author: AnyChat 10 10 Author URI: https://anychat.one/ … … 21 21 define('ANYCHAT_PLUGIN_FILE', __FILE__); 22 22 define('ANYCHAT_PLUGIN_NAME', 'anychat'); 23 define('ANYCHAT_VERSION', '1.0. 1');23 define('ANYCHAT_VERSION', '1.0.2'); 24 24 define('ANYCHAT_PLUGIN_DIR', plugin_dir_path(__FILE__)); 25 25 define('ANYCHAT_PLUGIN_URL', plugin_dir_url(__FILE__)); -
anychat-widget/trunk/classes/AnyChat.php
r2684942 r2827934 27 27 $generalConfig = new AnyChatConfigGeneral('anychat_'); 28 28 $generalConfig->loadDefaults(); 29 $generalConfig->saveToConfig( );29 $generalConfig->saveToConfig(false); 30 30 31 31 $admin = new AnyChatAdmin(); -
anychat-widget/trunk/readme.txt
r2827746 r2827934 6 6 Tested up to: 5.9 7 7 Requires PHP: 5.6 8 Stable tag: 1.0. 08 Stable tag: 1.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 137 137 == Changelog == 138 138 139 = 1.0.2 = 140 * Pass current location to the widget param 141 * Fix default config 142 139 143 = 1.0.1 = 140 144 * API key bug fix … … 145 149 146 150 == Upgrade Notice == 151 = 1.0.2 = 152 Pass current location to the widget param 153 Fix default config 154 147 155 = 1.0.1 = 148 156 API key bug fix -
anychat-widget/trunk/res/css/admin.css
r2684942 r2827934 1 1 #anychat-menu.ui.vertical.menu .item.hidden{ 2 2 display: none; 3 } 4 .field_integration_type.has-error .integration-type-option div{ 5 color: #9f3a38; 6 } 7 .field_integration_type.has-error .integration-type-option{ 8 background: #fff6f6; 3 9 } 4 10 .arcu-icon-svg{ -
anychat-widget/trunk/views/front/button.php
r2684942 r2827934 4 4 if (d.getElementById(id)) {return;} 5 5 js = d.createElement(s); js.id = id; 6 js.src = 'https://api.anychat.one/widget/<?php echo AnyChatTools::escJsString($generalConfig->widget_id) ?> ';6 js.src = 'https://api.anychat.one/widget/<?php echo AnyChatTools::escJsString($generalConfig->widget_id) ?>?r=' + encodeURIComponent(window.location); 7 7 fjs.parentNode.insertBefore(js, fjs); 8 8 }(document, 'script', 'contactus-jssdk'));</script> … … 12 12 if (d.getElementById(id)) {return;} 13 13 js = d.createElement(s); js.id = id; 14 js.src = 'https://api.anychat.one/widget/<?php echo AnyChatTools::escJsString($generalConfig->widget_id) ?>/livechat-js ';14 js.src = 'https://api.anychat.one/widget/<?php echo AnyChatTools::escJsString($generalConfig->widget_id) ?>/livechat-js?r=' + encodeURIComponent(window.location); 15 15 fjs.parentNode.insertBefore(js, fjs); 16 16 }(document, 'script', 'contactus-jssdk'));</script>
Note: See TracChangeset
for help on using the changeset viewer.