MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.97.229
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/softaculous/firefly/../moodle310/../pimcore/../xoops/../dada/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/softaculous/firefly/../moodle310/../pimcore/../xoops/../dada/dada_mail_config.js
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/


CKEDITOR.editorConfig = function(config) {
    
	
	config.uploadUrl      = '[[softurl]]/mail.cgi';
	config.imageUploadUrl = '[[softurl]]/mail.cgi';
	
    
   config.filebrowserBrowseUrl      = '[[wwwurl]]/dada_mail_support_files/RichFilemanager/index.html?type=files&rand_string=' + rand_string();
   config.filebrowserImageBrowseUrl = '[[wwwurl]]/dada_mail_support_files/RichFilemanager/index.html?type=images&rand_string=' + rand_string();
   config.filebrowserFlashBrowseUrl = '[[wwwurl]]/dada_mail_support_files/RichFilemanager/index.html?type=flash&rand_string=' + rand_string();
   config.filebrowserUploadUrl      = null;
   config.filebrowserImageUploadUrl = null;
   config.filebrowserFlashUploadUrl = null;
   config.removeDialogTabs = 'link:upload;image:Link;image:Upload';
                   
   
   config.height                    = '30em';

   config.fullPage                  = true;
   config.startupOutlineBlocks      = true;  



   config.allowedContent            = true;

   config.disallowedContent         = 'img{width,height}';
   config.extraAllowedContent       = 'img[alt,border,width,height,align,vspace,hspace,!src];';
   
    
   config.strinsert_button_label    = 'Tags';
   config.strinsert_button_title    = 'Tags';
   config.strinsert_button_voice    = 'Tags';
   
   config.extraPlugins              = 'strinsert,image2,uploadimage';
   config.removePlugins             = 'image,exportpdf'; 
   
   
   config.toolbar_DadaMail_Admin    =
    [
        { name: 'basicstyles',    items : [ 'strinsert', 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
        { name: 'styles',         items : [ 'Styles','Format','Font','FontSize' ] },
        { name: 'colors',         items : [ 'TextColor','BGColor' ] },
        '/',
        { name: 'paragraph',      items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
        { name: 'links',          items : [ 'Link','Unlink','Anchor' ] },
        { name: 'insert',         items : [ 'Image','Table','HorizontalRule','Smiley','SpecialChar' ] },
        '/',
        { name: 'clipboard',      items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
        { name: 'editing',        items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
        { name: 'document',       items : [ 'Source','Maximize', 'ShowBlocks'] },
    ];
};

function rand_string() { 
	return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
}


MMCT - 2023