HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/call-to-action.tar
call-to-action.php000064400000002032151546214550010070 0ustar00<?php

class SiteOrigin_Panels_Widget_Call_To_Action extends SiteOrigin_Panels_Widget  {
	function __construct() {
		parent::__construct(
			__('Call To Action (PB)', 'siteorigin-panels'),
			array(
				'description' => __('A Call to Action block', 'siteorigin-panels'),
				'default_style' => 'simple',
			),
			array(),
			array(
				'title' => array(
					'type' => 'text',
					'label' => __('Title', 'siteorigin-panels'),
				),
				'subtitle' => array(
					'type' => 'text',
					'label' => __('Sub Title', 'siteorigin-panels'),
				),
				'button_text' => array(
					'type' => 'text',
					'label' => __('Button Text', 'siteorigin-panels'),
				),
				'button_url' => array(
					'type' => 'text',
					'label' => __('Button URL', 'siteorigin-panels'),
				),
				'button_new_window' => array(
					'type' => 'checkbox',
					'label' => __('Open In New Window', 'siteorigin-panels'),
				),
			)
		);

		// We need the button style
		$this->add_sub_widget('button', __('Button', 'siteorigin-panels'), 'SiteOrigin_Panels_Widget_Button');
	}
}presets/simple.php000064400000000771151546214550010250 0ustar00<?php

return array(
	'light_dashed' => array(
		'texture' => 'light-dashed',
		'title_text_color' => '#333333',
		'subtitle_text_color' => '#555555',
	),

	'dark_dashed' => array(
		'texture' => 'dark-dashed',
		'title_text_color' => '#FFFFFF',
		'subtitle_text_color' => '#CCCCCC',
	),

	'clean' => array(
		'background_color' => '#FCFCFC',
		'texture' => 'none',
		'title_text_color' => '#333333',
		'subtitle_text_color' => '#555555',
		'rounding' => '0px',
		'borders' => '1px solid #D0D0D0',
	),
);
styles/simple.less000064400000002145151546214550010262 0ustar00/*
Name: Simple
Template: simple
Author: Greg Priday
Author URI: http://siteorigin.com/
*/

@import "../../../less/mixins";

/* Everything for the background */

@background_color: #F6F6F6;
@padding: 2em;
@rounding: 4px;
@shadow: 0.1;
@borders: 1px solid #E0E0E0;

/* Everything for the Title */

@title_text_color: #EFEFEF;
@title_font_weight: auto;
@subtitle_text_color: #CCCCCC;
@subtitle_font_weight: auto;
@texture: dark-dashed;

& {
	.clearfix();
	padding: @padding;
	position: relative;
	.rounded(@rounding);

	background: texture(@texture, @background_color);
	.box-shadow(0 1px 2px rgba(0,0,0,@shadow));
	border: @borders;

	.title {
		line-height: 1.6em;
		margin: 0;
		color: @title_text_color;
		font-weight: @title_font_weight;
	}

	.subtitle {
		line-height: 1.25em;
		margin: 0;
		color: @subtitle_text_color;
		font-weight: @subtitle_font_weight;
	}

	.origin-widget-button {
		position: absolute;
		display: block;
		top: 50%;
		right: 2em;
		margin-top: -22px;
	}
}

@media (max-width:680px) {
	& {
		.origin-widget-button {
			position: static;
			margin-top: 2em;

			a {
				display: block;
			}
		}
	}
}tpl/simple.php000064400000000537151546214550007362 0ustar00<h2 class="title"><?php echo esc_html($instance['title']) ?></h2>
<h5 class="subtitle"><?php echo esc_html($instance['subtitle']) ?></h5>
<?php $this->sub_widget('button', array('text' => $instance['button_text'], 'url' => $instance['button_url'], 'new_window' => $instance['button_new_window'], 'origin_style' => $instance['origin_style_button'])) ?>