Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
Server IP : 188.114.96.2  /  Your IP : 104.23.197.231
Web Server : Apache/2.4.59 (Debian)
System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : edlftp ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nicolasj/www/blog.ecoledelangues.be/wp-content/themes/metro/tinymce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nicolasj/www/blog.ecoledelangues.be/wp-content/themes/metro/tinymce/tinymce.php
<?php

define('OM_TINYMCE_PATH', get_template_directory().'/tinymce');
define('OM_TINYMCE_URI', TEMPLATE_DIR_URI.'/tinymce');

function om_tmce_admin_head() {
	echo '<script>var OM_TEMPLATE_DIR_URI="'.TEMPLATE_DIR_URI.'";</script>';
}
add_action('admin_head', 'om_tmce_admin_head');

function om_tmce_admin_init() {

	wp_enqueue_style( 'om-tmce-shortcodes', OM_TINYMCE_URI . '/css/style.css' );
	wp_enqueue_script( 'om-tmce-shortcodes-js', OM_TINYMCE_URI . '/js/popup.js', array('jquery') );

	wp_enqueue_style('color-picker', TEMPLATE_DIR_URI.'/admin/css/colorpicker.css');
	wp_enqueue_script('color-picker', TEMPLATE_DIR_URI.'/admin/js/colorpicker.js', array('jquery'));
		
}
add_action('admin_init', 'om_tmce_admin_init');


function om_tmce_init()
{
	if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
		return;

	if ( get_user_option('rich_editing') == 'true' )
	{
		add_filter( 'mce_external_plugins', 'om_tmce_plugins'  );
		add_filter( 'mce_buttons', 'om_tmce_buttons' );
	}
}
add_action('init', 'om_tmce_init' );

function om_tmce_plugins( $plugin_array )
{
	$plugin_array['om_shortcode_plugin'] = OM_TINYMCE_URI . '/js/plugin.js';
	return $plugin_array;
}

function om_tmce_buttons( $buttons )
{
	array_push( $buttons, "|", 'om_shortcode_button' );
	return $buttons;
}


Youez - 2016 - github.com/yon3zu
LinuXploit