$58 GRAYBYTE WORDPRESS FILE MANAGER $36

SERVER : premium134.web-hosting.com #1 SMP Thu Mar 13 14:29:12 UTC 2025
SERVER IP : 162.0.232.104 | ADMIN IP 216.73.216.173
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/raydofqv/public_html/wp-content/plugins/google-language-translator/

HOME
Current File : /home/raydofqv/public_html/wp-content/plugins/google-language-translator//widget.php
<?php
class glt_widget extends WP_Widget {
    function __construct() {
        parent::__construct(
            'glt_widget', __('Google Language Translator', 'text_domain'), array( 'description' => __( 'Add the Google Language Translator website tool.', 'text_domain' ), )
        );
    }

    public function widget( $args, $instance ) {
        $title = apply_filters( 'widget_title', $instance['title'] );
        echo $args['before_widget'];
        if ( ! empty( $title ) )
            echo $args['before_title'] . $title . $args['after_title'];
        echo do_shortcode('[google-translator]');
        echo $args['after_widget'];
    }

    public function form( $instance ) {
        if ( isset( $instance[ 'title' ] ) ) {
            $title = $instance[ 'title' ];
        } else {
            $title = __( 'Translate:', 'text_domain' );
        } ?>

        <p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label><input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>"></p>
        <?php
    }

    public function update( $new_instance, $old_instance ) {
        $instance = array();
        $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
        return $instance;
    }
} // class glt_widget

function register_glt_widget() {
    register_widget( 'glt_widget' );
}

add_action( 'widgets_init', 'register_glt_widget' );


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
14 Jun 2026 2.02 PM
raydofqv / raydofqv
0755
css
--
2 Jun 2026 7.04 AM
raydofqv / raydofqv
0755
images
--
2 Jun 2026 7.04 AM
raydofqv / raydofqv
0755
js
--
2 Jun 2026 7.04 AM
raydofqv / raydofqv
0755
url_addon
--
2 Jun 2026 7.04 AM
raydofqv / raydofqv
0755
.htaccess
0.124 KB
5 Jun 2026 6.28 AM
raydofqv / raydofqv
0644
google-language-translator.php
129.907 KB
7 Dec 2023 11.22 PM
raydofqv / raydofqv
0644
readme.txt
35.033 KB
21 May 2026 7.41 PM
raydofqv / raydofqv
0644
widget.php
1.521 KB
15 Jul 2019 10.40 PM
raydofqv / raydofqv
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF