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/list.tar
block.json000064400000003373151533331740006544 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "core/list",
	"title": "List",
	"category": "text",
	"allowedBlocks": [ "core/list-item" ],
	"description": "Create a bulleted or numbered list.",
	"keywords": [ "bullet list", "ordered list", "numbered list" ],
	"textdomain": "default",
	"attributes": {
		"ordered": {
			"type": "boolean",
			"default": false,
			"__experimentalRole": "content"
		},
		"values": {
			"type": "string",
			"source": "html",
			"selector": "ol,ul",
			"multiline": "li",
			"__unstableMultilineWrapperTags": [ "ol", "ul" ],
			"default": "",
			"__experimentalRole": "content"
		},
		"type": {
			"type": "string"
		},
		"start": {
			"type": "number"
		},
		"reversed": {
			"type": "boolean"
		},
		"placeholder": {
			"type": "string"
		}
	},
	"supports": {
		"anchor": true,
		"className": false,
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true,
			"__experimentalFontWeight": true,
			"__experimentalFontStyle": true,
			"__experimentalTextTransform": true,
			"__experimentalTextDecoration": true,
			"__experimentalLetterSpacing": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		},
		"color": {
			"gradients": true,
			"link": true,
			"__experimentalDefaultControls": {
				"background": true,
				"text": true
			}
		},
		"spacing": {
			"margin": true,
			"padding": true,
			"__experimentalDefaultControls": {
				"margin": false,
				"padding": false
			}
		},
		"__unstablePasteTextInline": true,
		"__experimentalSelector": "ol,ul",
		"__experimentalOnMerge": true,
		"__experimentalSlashInserter": true,
		"interactivity": {
			"clientNavigation": true
		}
	},
	"editorStyle": "wp-block-list-editor",
	"style": "wp-block-list"
}
style-rtl.css000064400000000142151533331740007217 0ustar00ol,ul{
  box-sizing:border-box;
}
ol.has-background,ul.has-background{
  padding:1.25em 2.375em;
}style-rtl.min.css000064400000000127151533331740010004 0ustar00ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em}style.css000064400000000142151533331740006420 0ustar00ol,ul{
  box-sizing:border-box;
}
ol.has-background,ul.has-background{
  padding:1.25em 2.375em;
}style.min.css000064400000000127151533331740007205 0ustar00ol,ul{box-sizing:border-box}ol.has-background,ul.has-background{padding:1.25em 2.375em}list.php000064400000001655151547133000006236 0ustar00<?php

class SiteOrigin_Panels_Widget_List extends SiteOrigin_Panels_Widget  {
	function __construct() {
		parent::__construct(
			__('List (PB)', 'siteorigin-panels'),
			array(
				'description' => __('Displays a bullet list of elements', 'siteorigin-panels'),
				'default_style' => 'simple',
			),
			array(),
			array(
				'title' => array(
					'type' => 'text',
					'label' => __('Title', 'siteorigin-panels'),
				),
				'text' => array(
					'type' => 'textarea',
					'label' => __('Text', 'siteorigin-panels'),
					'description' => __('Start each new point with an asterisk (*)', 'siteorigin-panels'),
				),
			)
		);
	}

	static function create_list($text){
		// Add the list items
		$text = preg_replace( "/\*+(.*)?/i", "<ul><li>$1</li></ul>", $text );
		$text = preg_replace( "/(\<\/ul\>\n(.*)\<ul\>*)+/", "", $text );
		$text = wpautop( $text );

		// Return sanitized version of the list
		return wp_kses_post($text);
	}
}presets/simple.php000064400000000703151547133000010232 0ustar00<?php

return array(
	'charcoal' => array(
		'image' => 'charcoal',
	),

	'pink' => array(
		'image' => 'pink',
	),

	'orange' => array(
		'image' => 'orange',
	),

	'green' => array(
		'image' => 'green',
	),

	'blue' => array(
		'image' => 'blue',
	),

	'purple' => array(
		'image' => 'purple',
	),

	'turquoise' => array(
		'image' => 'turquoise',
	),

	'slate' => array(
		'image' => 'slate',
	),

	'black' => array(
		'image' => 'black',
	),
);
styles/simple.less000064400000000505151547133000010247 0ustar00/*
Name: Simple
Template: simple
Author: Greg Priday
Author URI: http://siteorigin.com/
*/

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

@image: white;

ul {
	margin: 0;
	padding: 0;

	li {
		@image_url: 'checks/@{image}.png';
		list-style: url(widgetimage(@image_url));
		line-height: 2em;
		margin-left: 24px;
		padding-left: 6px;
	}
}tpl/simple.php000064400000000256151547133000007347 0ustar00<?php
if ( !empty( $instance['title'] ) ) {
	echo $args['before_title'] . esc_html( $instance['title'] ) . $args['after_title'];
}
echo $this->create_list($instance['text']);