%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.188.180.254
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.shop.public.menu/templates/.default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.shop.public.menu/templates/.default/script.js
;(function() {
	"use strict";

	BX.namespace("BX.Sale");

	BX.Sale.ShopPublic = function()
	{
		this.init();
	};

	BX.Sale.ShopPublic.prototype.init = function()
	{
		this.selfFolderUrl = "/shop/settings/";
		if (BX.SidePanel.Instance)
		{
			BX.SidePanel.Instance.bindAnchors({
				rules: [
					{
						condition: [
							this.selfFolderUrl+"iblock_element_edit/",
							this.selfFolderUrl+"cat_product_edit/",
							this.selfFolderUrl+"cat_section_edit/",
							this.selfFolderUrl+"userfield_edit/",
							this.selfFolderUrl+"iblock_edit_property/",
							this.selfFolderUrl+"cat_catalog_edit/",
							this.selfFolderUrl+"sale_cashbox_edit/",
							this.selfFolderUrl+"sale_buyers_profile/",
							this.selfFolderUrl+"sale_buyers_profile_edit/",
							this.selfFolderUrl+"sale_account_edit/",
							this.selfFolderUrl+"sale_transact_edit/",
							this.selfFolderUrl+"cat_store_document_edit/",
							this.selfFolderUrl+"cat_contractor_edit/",
							this.selfFolderUrl+"cat_store_edit/",
							this.selfFolderUrl+"sale_discount_edit/",
							this.selfFolderUrl+"sale_discount_preset_detail/",
							this.selfFolderUrl+"sale_discount_coupon_edit/",
							this.selfFolderUrl+"sale_discount_preset_list/",
							this.selfFolderUrl+"sale_delivery_service_edit/",
							this.selfFolderUrl+"sale_delivery_eservice_edit/",
							this.selfFolderUrl+"sale_pay_system_edit/",
							this.selfFolderUrl+"sale_yandexinvoice_settings/",
							this.selfFolderUrl+"sale_person_type_edit/",
							this.selfFolderUrl+"sale_tax_edit/",
							this.selfFolderUrl+"sale_tax_rate_edit/",
							this.selfFolderUrl+"cat_vat_edit/",
							this.selfFolderUrl+"sale_tax_exempt_edit/",
							this.selfFolderUrl+"cat_measure_edit/",
							this.selfFolderUrl+"cat_group_edit/",
							this.selfFolderUrl+"cat_round_edit/",
							this.selfFolderUrl+"cat_extra_edit/",
							this.selfFolderUrl+"sale_location_node_edit/",
							this.selfFolderUrl+"sale_location_reindex/",
							this.selfFolderUrl+"sale_location_group_edit/",
							this.selfFolderUrl+"sale_location_type_edit/",
							this.selfFolderUrl+"sale_location_import/"
						],
						handler: this.adjustSidePanelOpener
					},
					{
						condition: [
							"/shop/buyer/(\\d+)/edit/"
						],
						options: {
							allowChangeHistory: false
						}
					},
					{
						condition: [
							"/shop/buyer_group/(\\d+)/edit/"
						],
						options: {
							allowChangeHistory: false,
							width: 580
						}
					},
					{
						condition: [
							"/shop/orders/details/(\\d+)/",
							"/shop/orders/payment/details/(\\d+)/",
							"/shop/orders/shipment/details/(\\d+)/",
							"/shop/orderform/",
							"/shop/buyer/",
						]
					},
					{
						condition: [
							"/crm/configs/sale/",
							"/crm/configs/ps/add/",
							"/crm/configs/ps/edit/(\\d+)/"
						]
					}
				]
			});
		}

		if (!top.window["adminSidePanel"] || !BX.is_subclass_of(top.window["adminSidePanel"], top.BX.adminSidePanel))
		{
			top.window["adminSidePanel"] = new top.BX.adminSidePanel({
				publicMode: true
			});
		}
	};

	BX.Sale.ShopPublic.prototype.adjustSidePanelOpener = function(event, link)
	{
		if (BX.SidePanel.Instance)
		{
			var isSidePanelParams = (link.url.indexOf("IFRAME=Y&IFRAME_TYPE=SIDE_SLIDER") >= 0);
			if (!isSidePanelParams || (isSidePanelParams && !BX.SidePanel.Instance.getTopSlider()))
			{
				event.preventDefault();
				link.url =	BX.util.add_url_param(link.url, {"publicSidePanel": "Y"});
				BX.SidePanel.Instance.open(link.url, {
					allowChangeHistory: false
				});
			}
		}
	};

})();

Youez - 2016 - github.com/yon3zu
LinuXploit