%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 18.225.55.38
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/js/iblock/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/iblock/subelementdet.js
;(function(window) {

	if (BX.adminSubTabControl)
		return;
	
	BX.adminSubTabControl = function(name, unique_name, aTabs, url_link, post_params)
	{
		BX.adminSubTabControl.superclass.constructor.apply(this,[ name, unique_name, aTabs]);
		this.url_link = url_link;
		this.post_params = post_params;
		this.url_settings = '';
	};
	BX.extend(BX.adminSubTabControl, BX.adminTabControl);
	
	BX.adminSubTabControl.prototype.SaveSettings = function()
	{
		var sTabs='', s='';

		var oFieldsSelect;
		var oSelect = BX('selected_tabs');
		if(oSelect)
		{
			var k = oSelect.length;
			for(var i=0; i<k; i++)
			{
				s = oSelect[i].value + '--#--' + oSelect[i].text;
				oFieldsSelect = BX('selected_fields[' + oSelect[i].value + ']');
				if(oFieldsSelect)
				{
					var n = oFieldsSelect.length;
					for(var j=0; j<n; j++)
					{
						s += '--,--' + oFieldsSelect[j].value + '--#--' + jsUtils.trim(oFieldsSelect[j].text);
					}
				}
				sTabs += s + '--;--';
			}
		}

		var bCommon = (document.form_settings.set_default && document.form_settings.set_default.checked);

		var sParam = '';
		sParam += '&p[0][c]=form';
		sParam += '&p[0][n]='+BX.util.urlencode(this.name);
		if(bCommon)
			sParam += '&p[0][d]=Y';
		sParam += '&p[0][v][tabs]=' + BX.util.urlencode(sTabs);

		var options_url = '/bitrix/admin/user_options.php?lang='+BX.message('LANGUAGE_ID')+'&sessid=' + BX.bitrix_sessid();
		options_url += '&action=delete&c=form&n='+this.name+'_disabled';

		BX.showWait();
		this.CloseSettings();
		BX.ajax.post(options_url, sParam, BX.delegate(function() {
			BX.WindowManager.Get().AllowClose(); BX.WindowManager.Get().Close();
			BX.closeWait();
			(new BX.CAdminDialog({
			    'content_url': this.url_link,
			    'content_post': this.post_params,
				'draggable': true,
				'resizable': true,
				'buttons': [BX.CAdminDialog.btnSave, BX.CAdminDialog.btnCancel]
				})).Show();
		}, this));
	};
	
	BX.adminSubTabControl.prototype.DeleteSettings = function(bCommon)
	{
		BX.showWait();
		this.CloseSettings();
		BX.userOptions.del('form', this.name, bCommon, BX.delegate(function () {
			BX.WindowManager.Get().AllowClose(); BX.WindowManager.Get().Close();
			BX.closeWait();
			(new BX.CAdminDialog({
			    'content_url': this.url_link,
			    'content_post': this.post_params,
				'draggable': true,
				'resizable': true,
				'buttons': [BX.CAdminDialog.btnSave, BX.CAdminDialog.btnCancel]
				})).Show();
		}, this));
	};
	
	BX.adminSubTabControl.prototype.DisableSettings = function()
	{
		BX.showWait();
		this.CloseSettings();
		var request = new JCHttpRequest;
		request.Action = BX.delegate(function () {
			BX.closeWait();
			(new BX.CAdminDialog({
			    'content_url': this.url_link,
			    'content_post': this.post_params,
				'draggable': true,
				'resizable': true,
				'buttons': [BX.CAdminDialog.btnSave, BX.CAdminDialog.btnCancel]
				})).Show();
		}, this);
		
		var sParam = '';
		sParam += '&p[0][c]=form';
		sParam += '&p[0][n]='+encodeURIComponent(this.name+'_disabled');
		sParam += '&p[0][v][disabled]=Y';
		request.Send('/bitrix/admin/user_options.php?lang=' + phpVars.LANGUAGE_ID + sParam + '&sessid='+phpVars.bitrix_sessid);
	};

	BX.adminSubTabControl.prototype.EnableSettings = function()
	{
		BX.showWait();
		this.CloseSettings();
		var request = new JCHttpRequest;
		request.Action = BX.delegate(function () {
			BX.closeWait();
			(new BX.CAdminDialog({
			    'content_url': this.url_link,
			    'content_post': this.post_params,
				'draggable': true,
				'resizable': true,
				'buttons': [BX.CAdminDialog.btnSave, BX.CAdminDialog.btnCancel]
				})).Show();
		}, this);
		var sParam = '';
		sParam += '&c=form';
		sParam += '&n='+encodeURIComponent(this.name)+'_disabled';
		sParam += '&action=delete';
		request.Send('/bitrix/admin/user_options.php?lang=' + phpVars.LANGUAGE_ID + sParam + '&sessid='+phpVars.bitrix_sessid);
	};
	
	BX.adminSubTabControl.prototype.CloseSettings =  function()
	{
		BX.WindowManager.Get().Close();
	};
})(window);

Youez - 2016 - github.com/yon3zu
LinuXploit