DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /AppServ/www/app/webroot/news/tmp/install_5320fcc93572d/media/widgets/slideshow/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /AppServ/www/app/webroot/news/tmp/install_5320fcc93572d/media/widgets/slideshow/js/edit.js
/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

jQuery(function(a){a('select[name="settings[style]"]').bind("change",function(){a("#form").trigger("submit")});a("button.action.add").bind("click",function(){a.post(widgetkitajax+"&task=item_slideshow",{id:a('input[name="id"]').val()},function(c){a(c).appendTo("#items");a("#order").trigger("update")})});0==a('input[name="id"]').val()&&a("button.action.add").trigger("click");a("#items").delegate(".box","delete",function(){a(this).fadeOut(300,function(){a(this).remove();a("#order").trigger("update")})});
a("#items").delegate("input.title","update",function(){var c=a(this).closest(".item"),b=a(this).val()?a(this).val():"untitled";c.find("h3.title").html(b);a('#order li[rel="'+c.attr("id")+'"]').html(b)});a("#order").sortable({axis:"y",start:function(c,b){a("#"+b.item.attr("rel")).addClass("sortactive")},stop:function(c,b){setTimeout(function(){a("#"+b.item.attr("rel")).removeClass("sortactive")},800)},update:function(c,b){var d=a("#"+b.item.attr("rel")),e=b.item.next(),f=b.item.prev();d.find(".html-editor").trigger("editor-action-start");
e.length?d.insertBefore(a("#"+e.attr("rel"))):d.insertAfter(a("#"+f.attr("rel")));d.find(".html-editor").trigger("editor-action-stop")}}).bind("update",function(){var c=a(this);a("li",this).each(function(){a("#"+a(this).attr("rel")).length||a(this).remove()});a("#items > .item").each(function(){var b=a(this).attr("id");c.find("[rel='"+b+"']").length||c.append('<li rel="'+b+'"></li>');a("input.title",this).trigger("update")})}).trigger("update")});

Anon7 - 2022
AnonSec Team