AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/public_html/lrsys_apps/imobles/ui/lib/orders/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/imobles/ui/lib/orders/view.js
$(function() {

    var _url = $("#_url").val();


    tinymce.init({
        selector: '#activation_message',
        // language: ib_lang,
        relative_urls: false,
        remove_script_host: false,
        removed_menuitems: 'newdocument',
        forced_root_block : false,
        fontsize_formats: '8pt 10pt 12pt 14pt 18pt 24pt 36pt',
        setup: function(ed) {
            ed.on('init', function() {
                this.getDoc().body.style.fontSize = '14px';
            });
        },
        table_default_styles: {
            width: '100%'
        },
        plugins: [
            'advlist autoresize autolink lists link image charmap print preview hr anchor pagebreak codesample',
            'searchreplace wordcount visualblocks visualchars code',
            'media nonbreaking save table contextmenu directionality',
            'paste textcolor colorpicker textpattern imagetools'
        ],
        toolbar1: 'fontselect fontsizeselect  insertfile | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent',
        toolbar2: 'undo redo rtl print preview media image | forecolor backcolor link | codesample'
    });

    var $btn_activation_message_save = $("#btn_activation_message_save");
    var $btn_activation_message_send = $("#btn_activation_message_send");
    var $ib_form = $("#ib_form");

    $btn_activation_message_save.on('click', function(e) {
        e.preventDefault();

        $ib_form.block({ message: block_msg });
        $.post( _url + "orders/save_activation/", {

            oid: $('#oid').val(),
            activation_subject: $('#activation_subject').val(),
            activation_message: tinyMCE.activeEditor.getContent(),
            send_email: 'no'

        })
            .done(function( data ) {

                $ib_form.unblock();

                if ($.isNumeric(data)) {

                    toastr.success(_L['data_updated']);

                }

                else {
                    toastr.error(data);
                }

            });

    });



    $btn_activation_message_send.on('click', function(e) {
        e.preventDefault();

        $ib_form.block({ message: block_msg });
        $.post( _url + "orders/save_activation/", {

            oid: $('#oid').val(),
            activation_subject: $('#activation_subject').val(),
            activation_message: tinyMCE.activeEditor.getContent(),
            send_email: 'yes'

        })
            .done(function( data ) {

                $ib_form.unblock();

                if ($.isNumeric(data)) {

                    toastr.success(_L['email_sent']);

                }

                else {
                    toastr.error(data);
                }

            });

    });


});

Anon7 - 2022
AnonSec Team