? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/promice/components/com_linkr/assets/js/
File Upload :
Current File : /home/admin/public_html/old/promice/components/com_linkr/assets/js/auto.js

/*
 * Linkr - Automatic Links Plugin
 *
 */

/*
 * Object settings
 */
var _xo	=
{
	// Plugin title
	title : 'Extensions',
	
	// Object name
	objName : 'LinkrX',
	
	// Initialize
	initialize : function()
	{
		// Plugin title
		this.options.title	= this._('EXTENSIONS');
	}
};

/*
 * Tree elements
 */
var _xr	= [];

/*
 * SQL queries
 */
var _xs	=
{
	sql : {}
};

/*
 * Object methods
 */
var _xt	=
{
	setupTree : function(r, l)
	{
		// Checks
		if ($type(r) != 'array') return;
		
		// Tree items
		var is	= {};
		ty	= l == 0 ? 'type' : 'menu';
		r.each(function(i)
		{
			// Element title
			var t	= $pick(i.name, '??');
			t		= Linkr.urldecode(Linkr.UTF8.Decode(t));
			
			// Description
			var d	= '';
			
			// Link
			var u	= $pick(i.link, false);
			if (u && i.type != 'url') u += '&Itemid='+ i.id;
			
			// Add item
			is[i.id]	= {
				title : t,
				description : false,
				url : false,
				level : l,
				children : false
			};
		});
		
		// Return tree items
		return is;
	}
};



T1KUS90T
  root-grov@210.1.60.28:~$