⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.97
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
js
/
View File Name :
open_html_helper.js
/** * Provides the javascript class insert html tags by clicking on icons. * * The helpers available: * - emoticons - for inserting emoticons strings * * @author Marko Djukic
* @copyright 2003-2015 Horde LLC * @license LGPL-2.1 (http://www.horde.org/licenses/lgpl21) */ var Horde_Html_Helper = { iconlist: [], targetElement: null, open: function(type, target) { var cell, row, table, tbody, lay = $('htmlhelper_' + target); this.targetElement = $(target); if (lay.getStyle('display') == 'block') { lay.hide(); return false; } if (lay.firstChild) { lay.removeChild(lay.firstChild); } tbody = new Element('TBODY'); table = new Element('TABLE', { border: 0, cellSpacing: 0 }).insert(tbody); if (type == 'emoticons') { row = new Element('TR'); cell = new Element('TD'); iconlist.each(function(i) { var link = new Element('A', { href: '#' }).insert( new Element('IMG', { align: 'middle', border: 0, src: i[0] }) ); cell.appendChild(link); link.observe('click', function(e) { this.targetElement.setValue($F(this.targetElement) + i[1] + ' '); e.stop(); }.bindAsEventListener(this)); }); row.insert(cell); tbody.insert(row); table.insert(tbody); } lay.insert(table).setStyle({ display: 'block' }); } };