Changeset 2971132 for modal-window
- Timestamp:
- 09/25/2023 08:10:13 AM (19 months ago)
- Location:
- modal-window
- Files:
-
- 175 added
- 22 edited
-
tags/5.3.6 (added)
-
tags/5.3.6/LICENSE.txt (added)
-
tags/5.3.6/README.txt (added)
-
tags/5.3.6/admin (added)
-
tags/5.3.6/admin/assets (added)
-
tags/5.3.6/admin/assets/css (added)
-
tags/5.3.6/admin/assets/css/admin-general.css (added)
-
tags/5.3.6/admin/assets/css/custom.css (added)
-
tags/5.3.6/admin/assets/css/custom.min.css (added)
-
tags/5.3.6/admin/assets/css/main.css (added)
-
tags/5.3.6/admin/assets/css/main.min.css (added)
-
tags/5.3.6/admin/assets/css/preview.css (added)
-
tags/5.3.6/admin/assets/css/preview.min.css (added)
-
tags/5.3.6/admin/assets/fonticonpicker (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/fonticonpicker.min.css (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/iconpicker.eot (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/iconpicker.svg (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/iconpicker.ttf (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/iconpicker.woff (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/index.php (added)
-
tags/5.3.6/admin/assets/fonticonpicker/css/jquery.fonticonpicker.css (added)
-
tags/5.3.6/admin/assets/fonticonpicker/fonticonpicker.darkgrey.min.css (added)
-
tags/5.3.6/admin/assets/fonticonpicker/fonticonpicker.min.js (added)
-
tags/5.3.6/admin/assets/fonticonpicker/index.php (added)
-
tags/5.3.6/admin/assets/img (added)
-
tags/5.3.6/admin/assets/img/animation.png (added)
-
tags/5.3.6/admin/assets/img/autoclose.png (added)
-
tags/5.3.6/admin/assets/img/control.png (added)
-
tags/5.3.6/admin/assets/img/display.png (added)
-
tags/5.3.6/admin/assets/img/flBtn.png (added)
-
tags/5.3.6/admin/assets/img/form.png (added)
-
tags/5.3.6/admin/assets/img/index.php (added)
-
tags/5.3.6/admin/assets/img/language.png (added)
-
tags/5.3.6/admin/assets/img/modal-window-logo.png (added)
-
tags/5.3.6/admin/assets/img/redirect.png (added)
-
tags/5.3.6/admin/assets/img/remove_close.png (added)
-
tags/5.3.6/admin/assets/img/schedule.png (added)
-
tags/5.3.6/admin/assets/img/style.png (added)
-
tags/5.3.6/admin/assets/img/triggers.png (added)
-
tags/5.3.6/admin/assets/img/users.png (added)
-
tags/5.3.6/admin/assets/img/video.png (added)
-
tags/5.3.6/admin/assets/js (added)
-
tags/5.3.6/admin/assets/js/admin-script.js (added)
-
tags/5.3.6/admin/assets/js/admin-script.min.js (added)
-
tags/5.3.6/admin/assets/js/preview.js (added)
-
tags/5.3.6/admin/assets/js/preview.min.js (added)
-
tags/5.3.6/admin/assets/js/shortcodes.js (added)
-
tags/5.3.6/admin/assets/js/shortcodes.min.js (added)
-
tags/5.3.6/admin/assets/js/wp-color-picker-alpha.js (added)
-
tags/5.3.6/admin/assets/js/wp-color-picker-alpha.min.js (added)
-
tags/5.3.6/admin/class-admin.php (added)
-
tags/5.3.6/admin/class-list-table.php (added)
-
tags/5.3.6/admin/fields (added)
-
tags/5.3.6/admin/fields/checkbox.php (added)
-
tags/5.3.6/admin/fields/color.php (added)
-
tags/5.3.6/admin/fields/date.php (added)
-
tags/5.3.6/admin/fields/editor.php (added)
-
tags/5.3.6/admin/fields/index.php (added)
-
tags/5.3.6/admin/fields/input.php (added)
-
tags/5.3.6/admin/fields/number.php (added)
-
tags/5.3.6/admin/fields/select.php (added)
-
tags/5.3.6/admin/fields/textarea.php (added)
-
tags/5.3.6/admin/fields/time.php (added)
-
tags/5.3.6/admin/fields/title.php (added)
-
tags/5.3.6/admin/generate (added)
-
tags/5.3.6/admin/generate/index.php (added)
-
tags/5.3.6/admin/generate/script.php (added)
-
tags/5.3.6/admin/generate/style.php (added)
-
tags/5.3.6/admin/generate/style_data.php (added)
-
tags/5.3.6/admin/index.php (added)
-
tags/5.3.6/admin/page-extension-old.php (added)
-
tags/5.3.6/admin/page-extension.php (added)
-
tags/5.3.6/admin/page-list.php (added)
-
tags/5.3.6/admin/page-main.php (added)
-
tags/5.3.6/admin/page-settings.php (added)
-
tags/5.3.6/admin/page-support.php (added)
-
tags/5.3.6/admin/page-tools.php (added)
-
tags/5.3.6/admin/settings (added)
-
tags/5.3.6/admin/settings/button (added)
-
tags/5.3.6/admin/settings/button/main.php (added)
-
tags/5.3.6/admin/settings/button/settings.php (added)
-
tags/5.3.6/admin/settings/content (added)
-
tags/5.3.6/admin/settings/content/main.php (added)
-
tags/5.3.6/admin/settings/content/popup-content.php (added)
-
tags/5.3.6/admin/settings/content/shortcodes.php (added)
-
tags/5.3.6/admin/settings/database.php (added)
-
tags/5.3.6/admin/settings/display (added)
-
tags/5.3.6/admin/settings/display/main.php (added)
-
tags/5.3.6/admin/settings/display/settings.php (added)
-
tags/5.3.6/admin/settings/main.php (added)
-
tags/5.3.6/admin/settings/preview.php (added)
-
tags/5.3.6/admin/settings/settings (added)
-
tags/5.3.6/admin/settings/settings/main.php (added)
-
tags/5.3.6/admin/settings/settings/settings.php (added)
-
tags/5.3.6/admin/settings/style (added)
-
tags/5.3.6/admin/settings/style/main.php (added)
-
tags/5.3.6/admin/settings/style/settings.php (added)
-
tags/5.3.6/includes (added)
-
tags/5.3.6/includes/about (added)
-
tags/5.3.6/includes/about/image (added)
-
tags/5.3.6/includes/about/image/icon.png (added)
-
tags/5.3.6/includes/about/image/index.php (added)
-
tags/5.3.6/includes/about/index.php (added)
-
tags/5.3.6/includes/about/main.php (added)
-
tags/5.3.6/includes/about/style.css (added)
-
tags/5.3.6/includes/class-wow-company.php (added)
-
tags/5.3.6/includes/index.php (added)
-
tags/5.3.6/includes/plugin-activation.php (added)
-
tags/5.3.6/includes/plugin-updater.php (added)
-
tags/5.3.6/index.php (added)
-
tags/5.3.6/languages (added)
-
tags/5.3.6/languages/modal-window.pot (added)
-
tags/5.3.6/modal-window.php (added)
-
tags/5.3.6/public (added)
-
tags/5.3.6/public/assets (added)
-
tags/5.3.6/public/assets/css (added)
-
tags/5.3.6/public/assets/css/animated.css (added)
-
tags/5.3.6/public/assets/css/animated.min.css (added)
-
tags/5.3.6/public/assets/css/index.php (added)
-
tags/5.3.6/public/assets/css/style.css (added)
-
tags/5.3.6/public/assets/css/style.min.css (added)
-
tags/5.3.6/public/assets/index.php (added)
-
tags/5.3.6/public/assets/js (added)
-
tags/5.3.6/public/assets/js/index.php (added)
-
tags/5.3.6/public/assets/js/jquery.effects.js (added)
-
tags/5.3.6/public/assets/js/jquery.effects.min.js (added)
-
tags/5.3.6/public/assets/js/jquery.modalWindow.js (added)
-
tags/5.3.6/public/assets/js/jquery.modalWindow.min.js (added)
-
tags/5.3.6/public/class-public.php (added)
-
tags/5.3.6/public/display.php (added)
-
tags/5.3.6/public/index.php (added)
-
tags/5.3.6/public/partials (added)
-
tags/5.3.6/public/partials/index.php (added)
-
tags/5.3.6/public/partials/public.php (added)
-
tags/5.3.6/public/shortcode.php (added)
-
tags/5.3.6/public/shortcode_icon.php (added)
-
tags/5.3.6/screenshot-1.jpg (added)
-
tags/5.3.6/screenshot-10.jpg (added)
-
tags/5.3.6/screenshot-2.jpg (added)
-
tags/5.3.6/screenshot-3.jpg (added)
-
tags/5.3.6/screenshot-4.jpg (added)
-
tags/5.3.6/screenshot-5.jpg (added)
-
tags/5.3.6/screenshot-6.jpg (added)
-
tags/5.3.6/screenshot-7.jpg (added)
-
tags/5.3.6/screenshot-8.jpg (added)
-
tags/5.3.6/screenshot-9.jpg (added)
-
tags/5.3.6/vendors (added)
-
tags/5.3.6/vendors/fontawesome (added)
-
tags/5.3.6/vendors/fontawesome/LICENSE.txt (added)
-
tags/5.3.6/vendors/fontawesome/css (added)
-
tags/5.3.6/vendors/fontawesome/css/all.css (added)
-
tags/5.3.6/vendors/fontawesome/css/all.min.css (added)
-
tags/5.3.6/vendors/fontawesome/css/fontawesome-all.css (added)
-
tags/5.3.6/vendors/fontawesome/css/fontawesome-all.min.css (added)
-
tags/5.3.6/vendors/fontawesome/css/index.php (added)
-
tags/5.3.6/vendors/fontawesome/icons.php (added)
-
tags/5.3.6/vendors/fontawesome/index.php (added)
-
tags/5.3.6/vendors/fontawesome/webfonts (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-brands-400.eot (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-brands-400.svg (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-brands-400.ttf (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-brands-400.woff (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-brands-400.woff2 (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-regular-400.eot (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-regular-400.svg (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-regular-400.ttf (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-regular-400.woff (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-regular-400.woff2 (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-solid-900.eot (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-solid-900.svg (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-solid-900.ttf (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-solid-900.woff (added)
-
tags/5.3.6/vendors/fontawesome/webfonts/fa-solid-900.woff2 (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/assets/css/admin-general.css (added)
-
trunk/admin/assets/css/custom.css (modified) (1 diff)
-
trunk/admin/class-admin.php (modified) (2 diffs)
-
trunk/admin/fields/checkbox.php (modified) (1 diff)
-
trunk/admin/fields/color.php (modified) (1 diff)
-
trunk/admin/fields/date.php (modified) (1 diff)
-
trunk/admin/fields/editor.php (modified) (1 diff)
-
trunk/admin/fields/input.php (modified) (1 diff)
-
trunk/admin/fields/number.php (modified) (1 diff)
-
trunk/admin/fields/select.php (modified) (1 diff)
-
trunk/admin/fields/textarea.php (modified) (1 diff)
-
trunk/admin/fields/time.php (modified) (1 diff)
-
trunk/admin/fields/title.php (modified) (1 diff)
-
trunk/admin/page-extension.php (modified) (8 diffs)
-
trunk/admin/page-main.php (modified) (1 diff)
-
trunk/admin/page-support.php (modified) (3 diffs)
-
trunk/admin/page-tools.php (modified) (1 diff)
-
trunk/includes/class-wow-company.php (modified) (5 diffs)
-
trunk/languages/modal-window.pot (modified) (1 diff)
-
trunk/modal-window.php (modified) (2 diffs)
-
trunk/public/class-public.php (modified) (5 diffs)
-
trunk/public/shortcode.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modal-window/trunk/README.txt
r2948366 r2971132 6 6 Tested up to: 6.3 7 7 Requires PHP: 5.6 8 Stable tag: 5.3. 58 Stable tag: 5.3.6 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 218 218 219 219 == Changelog == 220 = 5.3.6 = 221 * Fixed: issue in escaping shortcode attributes 222 220 223 = 5.3.5 = 221 224 * Fixed: minor bug in wow-plugin -
modal-window/trunk/admin/assets/css/custom.css
r2772063 r2971132 482 482 } 483 483 484 .wowp-header { 485 position: relative; 486 border-top: 5px solid #2C0242; 487 border-bottom: 1px solid #c3c4c7; 488 padding: 20px 0; 489 margin-left: -20px; 490 background: #fff; 491 margin-bottom: 32px; 492 } 493 .wowp-links { 494 position: absolute; 495 top: 0; 496 right: 20px; 497 display: flex; 498 gap: 0.75rem; 499 padding: 5px 10px; 500 border-radius: 0 0 4px 4px; 501 border: 2px solid #88C0D0; 502 border-top: none; 503 background-color: #E9F4F6; 504 } 505 .wowp-link { 506 text-decoration: none; 507 color: #222222; 508 font-size: 0.85rem; 509 } 510 .wowp-header-wrapper { 511 display: flex; 512 gap: 1.5rem; 513 align-items: center; 514 padding: 0 20px; 515 } 516 .wowp-header-wrapper .page-title-action.button { 517 margin-left: 25px; 518 } 519 .wowp-heading-inline { 520 position: relative; 521 display: flex; 522 align-items: center; 523 gap: 1rem; 524 color: #1d2327; 525 font-size: 2em; 526 } 527 .wowp-heading-inline img { 528 width: 40px; 529 } 530 .wowp-heading-inline sup { 531 position: absolute; 532 top: 0; 533 right: 0; 534 font-weight: 300; 535 font-size: 12px; 536 transform: translateX(110%); 537 538 } 539 .wowp-heading-separator { 540 position: relative; 541 } 542 .wowp-heading-separator:before { 543 content: ""; 544 height: 20px; 545 border-right: 2px solid #e7e7e7; 546 font-size: 20px; 547 } -
modal-window/trunk/admin/class-admin.php
r2772063 r2971132 108 108 $parent = 'wow-company'; 109 109 $title = $this->plugin['name'] . ' version ' . $this->plugin['version']; 110 $menu_title = $this->plugin['menu'];110 $menu_title = '<img src="' . esc_url( $this->plugin['url'] ) . 'admin/assets/img/modal-window-logo.png" alt="">' . $this->plugin['menu']; 111 111 $capability = 'manage_options'; 112 112 $slug = $this->plugin['slug']; … … 133 133 $page = 'wow-plugins_page_' . $this->plugin['slug']; 134 134 135 if ( $page != $hook ) {136 return;137 }138 139 135 $slug = $this->plugin['slug']; 140 136 $version = $this->plugin['version']; 141 137 $url_assets = plugin_dir_url( __FILE__ ) . 'assets/'; 142 138 $pre_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 139 140 wp_enqueue_style( 'wowp-admin-general', $url_assets . 'css/admin-general.css', false, $version ); 141 142 143 if ( $page != $hook ) { 144 return; 145 } 146 147 143 148 144 149 wp_enqueue_style( $slug . '-admin', $url_assets . 'css/main' . $pre_suffix . '.css', false, $version ); -
modal-window/trunk/admin/fields/checkbox.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/color.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/date.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/editor.php
r2765688 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/input.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/number.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/select.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/textarea.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/time.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/fields/title.php
r2758642 r2971132 4 4 * 5 5 * @package Wow_Plugin 6 * @copyright Wow-Company < helper@wow-company.com>6 * @copyright Wow-Company <yoda@@wow-company.com> 7 7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License 8 8 * @since 1.0 -
modal-window/trunk/admin/page-extension.php
r2772063 r2971132 65 65 <div class="fa-stack fa-2x has-text-orange-light"> 66 66 <i class="fas fa-circle fa-stack-2x"></i> 67 <i class="fa rfa-external-link-alt fa-stack-1x fa-inverse has-text-orange-dark"></i>67 <i class="fas fa-external-link-alt fa-stack-1x fa-inverse has-text-orange-dark"></i> 68 68 </div> 69 69 </div> … … 94 94 <div class="fa-stack fa-2x has-text-orange-light"> 95 95 <i class="fas fa-circle fa-stack-2x"></i> 96 <i class="fa rfa-swatchbook fa-stack-1x fa-inverse has-text-orange-dark"></i>96 <i class="fas fa-swatchbook fa-stack-1x fa-inverse has-text-orange-dark"></i> 97 97 </div> 98 98 </div> … … 136 136 <div class="fa-stack fa-2x has-text-orange-light"> 137 137 <i class="fas fa-circle fa-stack-2x"></i> 138 <i class="fa rfa-greater-than-equal fa-stack-1x fa-inverse has-text-orange-dark"></i>138 <i class="fas fa-greater-than-equal fa-stack-1x fa-inverse has-text-orange-dark"></i> 139 139 </div> 140 140 </div> … … 148 148 <div class="fa-stack fa-2x has-text-orange-light"> 149 149 <i class="fas fa-circle fa-stack-2x"></i> 150 <i class="fa rfa-toggle-on fa-stack-1x fa-inverse has-text-orange-dark"></i>150 <i class="fas fa-toggle-on fa-stack-1x fa-inverse has-text-orange-dark"></i> 151 151 </div> 152 152 </div> … … 160 160 <div class="fa-stack fa-2x has-text-orange-light"> 161 161 <i class="fas fa-circle fa-stack-2x"></i> 162 <i class="fa rfa-shapes fa-stack-1x fa-inverse has-text-orange-dark"></i>162 <i class="fas fa-shapes fa-stack-1x fa-inverse has-text-orange-dark"></i> 163 163 </div> 164 164 </div> … … 190 190 <div class="fa-stack fa-2x has-text-orange-light"> 191 191 <i class="fas fa-circle fa-stack-2x"></i> 192 <i class="fa rfa-palette fa-stack-1x fa-inverse has-text-orange-dark"></i>192 <i class="fas fa-palette fa-stack-1x fa-inverse has-text-orange-dark"></i> 193 193 </div> 194 194 </div> … … 219 219 <div class="fa-stack fa-2x has-text-orange-light"> 220 220 <i class="fas fa-circle fa-stack-2x"></i> 221 <i class="fa rfa-users fa-stack-1x fa-inverse has-text-orange-dark"></i>221 <i class="fas fa-users fa-stack-1x fa-inverse has-text-orange-dark"></i> 222 222 </div> 223 223 </div> … … 258 258 <div class="fa-stack fa-2x has-text-orange-light"> 259 259 <i class="fas fa-circle fa-stack-2x"></i> 260 <i class="fa rfa-language fa-stack-1x fa-inverse has-text-orange-dark"></i>260 <i class="fas fa-language fa-stack-1x fa-inverse has-text-orange-dark"></i> 261 261 </div> 262 262 </div> -
modal-window/trunk/admin/page-main.php
r2758642 r2971132 64 64 65 65 ?> 66 67 <div class="wowp-header"> 68 <div class="wowp-header-wrapper"> 69 <h1 class="wowp-heading-inline"> 70 <img src="<?php echo esc_url( $this->plugin['url'] ); ?>admin/assets/img/modal-window-logo.png" alt=""> 71 <span><?php echo esc_attr( $this->plugin['name'] ); ?> 72 <sup> <?php echo esc_attr( $this->plugin['version'] ); ?></sup></span> 73 </h1> 74 <a href="?page=<?php echo esc_attr( $this->plugin['slug'] ); ?>&tab=settings" class="page-title-action button "> 75 <?php esc_attr_e( 'Add New', 'modal-window' ); ?> 76 </a> 77 </div> 78 </div> 79 66 80 <div class="wrap"> 67 <h1 class="wp-heading-inline"><?php echo esc_html($this->plugin['name']); ?>68 v. <?php echo esc_html($this->plugin['version']); ?></h1>69 <a href="?page=<?php echo esc_attr($this->plugin['slug']); ?>&tab=settings" class="page-title-action">70 <?php esc_html_e( 'Add New', 'modal-window' ); ?></a>71 81 <hr class="wp-header-end"> 72 82 <?php if ( get_option( 'wow_' . $this->plugin['prefix'] . '_message' ) != 'read' ) : ?> -
modal-window/trunk/admin/page-support.php
r2758642 r2971132 27 27 <p>To get your support related question answered in the fastest timing, please send a message via the 28 28 form below 29 or write to us on email <a href="mailto: helper@wow-company.com">helper@wow-company.com</a>.</p>29 or write to us on email <a href="mailto:yoda@@wow-company.com">yoda@@wow-company.com</a>.</p> 30 30 31 31 <p>Also, you can send us your ideas and suggestions for improving the plugin.</p> … … 81 81 </html>'; 82 82 $subject = $type . ': ' . $subject; 83 wp_mail( ' helper@wow-company.com', $subject, $message, $headers );83 wp_mail( 'yoda@@wow-company.com', $subject, $message, $headers ); 84 84 echo '<div class="notice notice-success is-dismissible"><p>' 85 85 . esc_attr__( 'Your Message sent to the Support.', 'modal-window' ) . '</p></div>'; … … 87 87 } else { 88 88 echo '<div class="notice notice-warning is-dismissible"><p>' 89 . esc_attr__( 'Sorry, but message did not send. Please, contact us helper@wow-company.com',89 . esc_attr__( 'Sorry, but message did not send. Please, contact us yoda@@wow-company.com', 90 90 'modal-window' ) . ' </p></div>'; 91 91 } -
modal-window/trunk/admin/page-tools.php
r2623560 r2971132 6 6 * @package Wow_Plugin 7 7 * @subpackage Admin/Main_page 8 * @author Wow-Company < helper@wow-company.com>8 * @author Wow-Company <yoda@@wow-company.com> 9 9 * @copyright 2019 Wow-Company 10 10 * @license GNU Public License -
modal-window/trunk/includes/class-wow-company.php
r2758642 r2971132 9 9 * @license GNU Public License 10 10 * @version 1.0 11 12 11 */ 13 12 … … 24 23 */ 25 24 final class Wow_Company { 26 25 27 26 public function __construct() { 28 29 27 // Functions for Class 30 28 add_action( 'admin_menu', array( $this, 'add_menu' ) ); 31 29 add_action( 'plugins_loaded', array( $this, 'plugin_check' ) ); 32 add_action( 'admin_enqueue_scripts', array( $this, 'admin_style') );30 add_action( 'admin_enqueue_scripts', array( $this, 'admin_style' ) ); 33 31 } 34 32 35 public function admin_style($hook) { 33 public function admin_style( $hook ) { 34 wp_enqueue_style( 'wow-page', plugin_dir_url( __FILE__ ) . 'about/style.css' ); 35 } 36 36 37 wp_enqueue_style( 'wow-page', plugin_dir_url(__FILE__) .'about/style.css');38 39 }40 41 37 /** 42 38 * Register the plugin menu on sidebar menu in admin panel. … … 51 47 'main_page', 52 48 ), $icon ); 53 add_submenu_page( 'wow-company', 'Welcome to Wow-Company', 'Welcome', 'manage_options', 'wow-company' ); 49 $menu_logo = $this->menu_logo(); 50 $menu_title = $menu_logo . __( 'Welcome', 'modal-window' ); 51 52 add_submenu_page( 'wow-company', 'Welcome to Wow-Company', $menu_title, 'manage_options', 'wow-company' ); 54 53 } 55 54 55 private function menu_logo() { 56 return '<svg version="1.0" xmlns="http://www.w3.org/2000/svg" 57 width="15" height="15" viewBox="0 0 512.000000 512.000000" 58 preserveAspectRatio="xMidYMid meet" class="wowp-menu-logo"> 59 60 <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" 61 fill="currentColor" stroke="none"> 62 <path d="M2493 5105 c-18 -8 -42 -29 -53 -47 -19 -32 -20 -49 -20 -538 l0 63 -506 -772 -549 c-425 -303 -788 -563 -806 -579 -57 -50 -77 -100 -77 -192 0 64 -72 3 -86 30 -129 36 -59 101 -110 155 -125 l40 -11 0 -1214 0 -1215 205 0 65 205 0 0 1313 0 1312 183 129 c100 71 358 255 574 408 l392 279 556 -392 555 66 -393 0 -1328 0 -1328 205 0 205 0 0 1215 0 1215 33 1 c79 2 169 61 212 140 25 67 46 30 65 30 124 -1 58 -6 79 -30 124 -36 66 32 15 -903 676 l-722 510 0 88 0 68 87 480 0 c264 0 480 2 480 5 0 3 -59 94 -131 201 l-131 196 131 197 131 196 69 -480 3 c-450 2 -480 3 -480 20 0 32 -36 85 -71 104 -40 21 -82 22 -126 3z"/> 70 <path d="M2141 2831 l-411 -266 3 -475 c2 -441 3 -478 21 -513 26 -52 65 -77 71 139 -88 84 -12 1246 -11 1321 1 75 12 119 45 143 107 17 44 18 85 18 507 l0 72 460 -335 218 c-184 120 -369 240 -411 267 l-76 49 -412 -267z m624 -353 l205 73 -133 0 -227 0 -228 -415 0 -415 0 0 229 0 228 203 131 c111 73 205 132 210 74 132 4 0 100 -60 212 -132z"/> 75 <path d="M2451 1340 c-81 -12 -180 -43 -256 -83 -91 -47 -213 -174 -258 -267 76 -68 -140 -70 -152 -75 -592 l-4 -398 211 0 211 0 0 368 c0 347 2 369 21 412 77 82 182 334 219 463 68 64 -74 66 -91 66 -490 l0 -358 205 0 205 0 0 383 c0 78 434 -5 472 -77 610 -123 236 -429 385 -712 347z"/> 79 </g> 80 </svg>'; 81 } 82 56 83 /** 57 84 * Include the main file … … 59 86 public function main_page() { 60 87 require_once 'about/main.php'; 61 62 88 } 63 89 … … 71 97 } 72 98 } 73 99 74 100 // Save in the database for older fersions 75 101 public function save_data() { -
modal-window/trunk/languages/modal-window.pot
r2758642 r2971132 238 238 #: admin/page-support.php:89 239 239 msgid "" 240 "Sorry, but message did not send. Please, contact us helper@wow-company.com"240 "Sorry, but message did not send. Please, contact us yoda@@wow-company.com" 241 241 msgstr "" 242 242 -
modal-window/trunk/modal-window.php
r2915607 r2971132 4 4 * Plugin URI: https://wordpress.org/plugins/modal-window/ 5 5 * Description: Create popups. Insert any content. Trigger on anything. 6 * Version: 5.3. 56 * Version: 5.3.6 7 7 * Author: Wow-Company 8 8 * Author URI: https://wow-estore.com/ … … 50 50 'prefix' => 'mwp', // Prefix for database 51 51 'text' => 'modal-window', // Text domain for translate files 52 'version' => '5.3. 5', // Current version of the plugin52 'version' => '5.3.6', // Current version of the plugin 53 53 'file' => __FILE__, // Main file of the plugin 54 54 'slug' => dirname( plugin_basename( __FILE__ ) ), // Name of the plugin folder -
modal-window/trunk/public/class-public.php
r2758642 r2971132 21 21 22 22 public function __construct( $info ) { 23 24 23 $this->plugin = $info['plugin']; 25 24 $this->url = $info['url']; … … 41 40 42 41 add_action( 'wp_footer', array( $this, 'display' ) ); 43 44 42 } 45 43 46 44 function shortcode( $atts ) { 45 $atts = shortcode_atts( 46 [ 'id' => '' ], 47 $atts, 48 $this->plugin['shortcode'] 49 ); 50 51 $id = absint( $atts['id'] ); 52 47 53 ob_start(); 48 54 require plugin_dir_path( __FILE__ ) . 'shortcode.php'; … … 67 73 68 74 function shortcode_columns( $atts, $content = null ) { 69 extract( shortcode_atts( array( 'width' => "", 'align' => '' ), $atts ) );70 $width = ! empty( $width ) ? $width : '12';71 $align = ! empty( $align ) ? $align : 'left';72 75 73 return '<div class="wow-col-' . $width . '" style="text-align: ' . $align . '">' . do_shortcode( $content ) . '</div>'; 76 $atts = shortcode_atts( 77 [ 'width' => "12", 'align' => 'left' ], 78 $atts, 79 'w-column' 80 ); 81 82 return '<div class="wow-col-' . esc_attr($atts['width']) . '" style="text-align: ' . esc_attr($atts['align']) . '">' . do_shortcode( $content ) . '</div>'; 74 83 } 75 84 … … 134 143 $extra .= ! empty( $atts['style'] ) ? ' style="' . esc_attr( $atts['style'] ) . '"' : ''; 135 144 136 $iframe = '<iframe width="' . absint( $atts['width'] ) . '" height="' . absint( $atts['height'] ) . '" src="' . esc_url( $atts['link'] ) . '"' . wp_kses_post( $extra) . '></iframe>';145 $iframe = '<iframe width="' . absint( $atts['width'] ) . '" height="' . absint( $atts['height'] ) . '" src="' . esc_url( $atts['link'] ) . '"' . wp_kses_post( $extra ) . '></iframe>'; 137 146 138 147 return $iframe; 139 148 } 140 141 149 142 150 … … 164 172 165 173 174 private function check( $param, $id ) { 175 $check = true; 176 $cookie = $this->check_cookie( $param, $id ); 166 177 167 private function check( $param, $id ) { 168 $check = true; 169 $cookie = $this->check_cookie( $param, $id ); 170 171 if ( empty($param['test_mode']) ) { 178 if ( empty( $param['test_mode'] ) ) { 172 179 if ( $cookie === false ) { 173 180 $check = false; 174 181 } 175 176 182 } else { 177 183 if ( ! current_user_can( 'administrator' ) ) { -
modal-window/trunk/public/shortcode.php
r2339642 r2971132 14 14 } 15 15 16 extract( shortcode_atts( array( 'id' => "" ), $atts ) );17 16 global $wpdb; 18 17 $table = $wpdb->prefix . 'wow_' . $this->plugin['prefix'];
Note: See TracChangeset
for help on using the changeset viewer.