One Hat Cyber Team
Your IP:
216.73.216.75
Server IP:
213.186.33.17
Server:
Linux webm007.cluster106.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Create File
|
Create Folder
Execute
Dir :
~
/
home
/
tcherkas
/
balalaika.pro
/
libraries
/
gantry
/
js
/
Edit File:
gantry-morearticles.js
/* * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ var GantryMoreArticles=new Class({Implements:[Options],options:{leadings:2,moreText:"more articles",url:""},initialize:function(b){this.setOptions(b);this.wrapper=document.getElements(".rt-blog .items-row")||document.getElement(".rt-teaser-articles")||document.getElement(".rt-leading-articles"); if(!this.wrapper||!this.wrapper.length){return;}if(this.wrapper.length){this.wrapper=this.wrapper.getLast();}this.start=this.options.leadings;this.buildButton(); this.ajax=new Request({url:this.options.url,method:"get",onRequest:function(){this.button.addClass("spinner");}.bind(this),onSuccess:this.handle.bind(this)}); },buildButton:function(){this.button=new Element("a",{id:"more-articles",href:"#"}).adopt(new Element("span").set("text",this.options.moreText));var b=new Element("div",{"class":"rt-more-articles"}).inject(this.wrapper,"after"); this.button.inject(b).addEvent("click",function(a){a.stop();if(this.button.hasClass("disabled")){return;}this.ajax.get({limitstart:this.start});}.bind(this)); },handle:function(f){this.start+=this.options.leadings;this.button.removeClass("spinner");var i=new Element("div").set("html",f);var g=i.getElements(".rt-article"); if(!g.length){this.button.removeEvent("click");this.button.addClass("disabled");}else{if(g.length<this.options.leadings){this.button.removeEvent("click"); this.button.addClass("disabled");}g.inject(this.wrapper,this.wrapper.hasClass("rt-leading-articles")?"inside":"after");if(typeof GantryBuildSpans=="function"){var j=["rt-block"]; var h=["h3","h2","h1"];GantryBuildSpans(j,h);}if(typeof GantryArticleDetails!="undefined"){GantryArticleDetails.init();}}if(typeof rokbox!="undefined"&&rokbox.refresh){rokbox.refresh(); }}});
Simpan