⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
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
/
imp
/
lib
/
Script
/
Package
/
View File Name :
ComposeBase.php
* @category Horde * @copyright 2012-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Script_Package_ComposeBase extends Horde_Script_Package { /** * Constructor. */ public function __construct() { global $page_output, $registry, $session; $this->_files[] = new Horde_Script_File_JsDir('compose-base.js', 'imp'); if ($session->get('imp', 'rteavail')) { switch ($registry->getView()) { case $registry::VIEW_DYNAMIC: $this->_files[] = new Horde_Script_File_JsDir('ckeditor/imageupload.js', 'imp'); $this->_files[] = new Horde_Script_File_JsDir('ckeditor/imagepoll.js', 'imp'); $page_output->addInlineJsVars(array( 'IMP_Ckeditor_Imagepoll.related_attr' => IMP_Compose::RELATED_ATTR )); $plugin = 'pasteattachment'; $upload_url = $registry->getServiceLink('ajax', 'imp')->url . 'addAttachmentCkeditor'; break; default: $plugin = 'pasteignore'; $upload_url = ''; break; } $js = new Horde_Script_File_JsDir('ckeditor/' . $plugin . '.js', 'imp'); $page_output->addInlineScript(array( 'if (window.CKEDITOR) { CKEDITOR.on("loaded", function(e) {' . 'CKEDITOR.plugins.addExternal("' . $plugin . '", "' . $js->url->url . '", "");' . 'CKEDITOR.config.filebrowserImageUploadUrl = "' . $upload_url . '";' . '}); };' ), true); } } }