[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.227.0.21: ~ $
<?php
/**
 * Add translation support for external tinyMCE button
 *
 * Containing all translate able strings
 *
 * @since 1.9.7
 */
if ( ! defined( 'ABSPATH' ) )
exit;

if ( ! class_exists( '_WP_Editors' ) )
require( ABSPATH . WPINC . '/class-wp-editor.php' );

function tutor_tinymce_plugin_translation() {
    $strings = array(
        'tutor_shortcode'               => __( 'Tutor ShortCode', 'tutor' ),
        'student_registration_form'     => __( 'Student Registration Form', 'tutor' ),
        'instructor_registration_form'  => __( 'Instructor Registration Form', 'tutor' ),
        'courses'                       => _x( 'Courses', 'tinyMCE button courses', 'tutor' ),
        'courses_shortcode'             => __( 'Courses Shortcode', 'tutor' ),
        'courses_separate_by'           => __( 'Course id, separate by (,) comma', 'tutor' ),
        'exclude_course_ids'            => __( 'Exclude Course IDS', 'tutor' ),
        'category_ids'                  => __( 'Category IDS', 'tutor' ),
        'order_by'                      => _x( 'Order By :', 'tinyMCE button order by', 'tutor' ),
        'order'                         => __( 'Order :', 'tinyMCE button order', 'tutor' ),
        'count'                         => __( 'Count', 'tutor' ),
    );

    $locale = _WP_Editors::$mce_locale;
    $translated = 'tinyMCE.addI18n("' . $locale . '.tutor_button", ' . json_encode( $strings ) . ");\n";

    return $translated;
}

$strings = tutor_tinymce_plugin_translation();


Filemanager

Name Type Size Permission Actions
theme-compatibility Folder 0755
country.php File 1 KB 0644
tinymce_translate.php File 1.46 KB 0644
translate-text.php File 6.63 KB 0644
tutor-general-functions.php File 49.6 KB 0644
tutor-template-functions.php File 40.06 KB 0644
tutor-template-hook.php File 907 B 0644