%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/cwd/html/water/backend/web/assets/6c279313/ |
Upload File : |
/** * Yii auth choice widget. * * This is the JavaScript widget used by the yii\authclient\widgets\AuthChoice widget. * * @link http://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license http://www.yiiframework.com/license/ * @author Paul Klimov <klimov.paul@gmail.com> * @since 2.0 */ jQuery(function($) { $.fn.authchoice = function(options) { options = $.extend({ triggerSelector: 'a.auth-link', popup: { resizable: 'yes', scrollbars: 'no', toolbar: 'no', menubar: 'no', location: 'no', directories: 'no', status: 'yes', width: 450, height: 380 } }, options); return this.each(function() { var $container = $(this); $container.find(options.triggerSelector).on('click', function(e) { e.preventDefault(); var authChoicePopup = $container.data('authChoicePopup'); if (authChoicePopup) { authChoicePopup.close(); } var url = this.href; var popupOptions = $.extend({}, options.popup); // clone var localPopupWidth = this.getAttribute('data-popup-width'); if (localPopupWidth) { popupOptions.width = localPopupWidth; } var localPopupHeight = this.getAttribute('data-popup-height'); if (localPopupWidth) { popupOptions.height = localPopupHeight; } popupOptions.left = (window.screen.width - popupOptions.width) / 2; popupOptions.top = (window.screen.height - popupOptions.height) / 2; var popupFeatureParts = []; for (var propName in popupOptions) { if (popupOptions.hasOwnProperty(propName)) { popupFeatureParts.push(propName + '=' + popupOptions[propName]); } } var popupFeature = popupFeatureParts.join(','); authChoicePopup = window.open(url, 'yii_auth_choice', popupFeature); authChoicePopup.focus(); $container.data('authChoicePopup', authChoicePopup); }); }); }; });