403Webshell
Server IP : 192.241.186.36  /  Your IP : 216.73.216.164
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64
User : root ( 0)
PHP Version : 7.4.32
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 : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/pushyard/wp-content/plugins/th-widget-pack/languages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/pushyard/wp-content/plugins/th-widget-pack/languages/wpml-slider.php
<?php
/**
 * Class WPML_Themo_Slider
 */
class WPML_Themo_Slider extends WPML_Elementor_Module_With_Items  {

	/**
	 * @return string
	 */
	public function get_items_field() {
		return 'slides';
	}

	/**
	 * @return array
	 */
	public function get_fields() {
		return array( 
            'slide_title', 
            'slide_text', 
            'slide_button_text_1',
            'slide_button_link_1' => array( 'url' ),
            'slide_button_text_2',
            /*'slide_button_link_2' => array( 'url' ),*/
            'slide_shortcode', 
            'slide_tooltip_text'
        );
	}

	/**
	 * @param string $field
	 *
	 * @return string
	 */
	protected function get_title( $field ) {
		switch( $field ) {
			case 'slide_title':
				return esc_html__( 'Title', 'th-widget-pack' );

			case 'slide_text':
                return __( 'Content', 'th-widget-pack' );
                
            case 'slide_button_text_1':
				return esc_html__( 'Button 1 Text', 'th-widget-pack' );

            case 'url':
                return esc_html__( 'Button 1 Link', 'th-widget-pack' );

			case 'slide_button_text_2':
                return esc_html__( 'Button 2 Text', 'th-widget-pack' );

            /*case 'slide_button_link_2':
                return esc_html__( 'Button 2 Link', 'th-widget-pack' );
            */
        
            case 'slide_shortcode':
				return esc_html__( 'Shortcode', 'th-widget-pack' );

			case 'slide_tooltip_text':
                return esc_html__( 'Tooltip Text', 'th-widget-pack' );

			default:
				return '';
		}
	}

	/**
	 * @param string $field
	 *
	 * @return string
	 */
	protected function get_editor_type( $field ) {
		switch( $field ) {
            case 'slide_title':
				return 'LINE';

			case 'slide_text':
                return 'AREA';
                
            case 'slide_button_text_1':
				return 'LINE';

            case 'url':
                return 'LINK';

			case 'slide_button_text_2':
                return 'LINE';

           /*case 'slide_button_link_2':
                return 'LINK';
           */
            case 'slide_shortcode':
				return 'LINE';

			case 'slide_tooltip_text':
                return 'LINE';
        
			default:
				return '';
		}
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit