Файловый менеджер - Редактировать - /home/lmsyaran/public_html/components/com_sppagebuilder/addons/testimonial_carousel/admin.php
Назад
<?php /** * @package SP Page Builder * @author JoomShaper https://www.joomshaper.com * @copyright Copyright (c) 2010 - 2023 JoomShaper * @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later */ //no direct access defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Language\Text; SpAddonsConfig::addonConfig([ 'type' => 'repeatable', 'addon_name' => 'testimonial_carousel', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CAROUSEL'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CAROUSEL_DESC'), 'category' => 'Slider', 'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><circle opacity=".5" cx="10.5" cy="30.5" r="1.5" fill="currentColor"/><circle opacity=".5" cx="22.5" cy="30.5" r="1.5" fill="currentColor"/><circle cx="16.5" cy="30.5" r="1.5" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22 2H10v21h12V2zM10 0a2 2 0 00-2 2v21a2 2 0 002 2h12a2 2 0 002-2V2a2 2 0 00-2-2H10z" fill="currentColor"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" d="M6 4a1 1 0 00-1-1H1a1 1 0 000 2h3v15H1a1 1 0 100 2h4a1 1 0 001-1V4zm20 17a1 1 0 001 1h4a1 1 0 100-2h-3V5h3a1 1 0 100-2h-4a.996.996 0 00-1 1v17z" fill="currentColor"/><path d="M13 7.496c0 .381.309.69.69.69h.779v.297c0 .527-.364.975-.858 1.097-.148.037-.273.157-.273.31v.848c0 .152.124.277.275.26a2.538 2.538 0 002.256-2.515V5.69a.69.69 0 00-.69-.69h-1.49a.69.69 0 00-.689.69v1.806zM16.6 7.496c0 .381.309.69.69.69h.779v.297c0 .527-.364.975-.858 1.097-.148.037-.273.157-.273.31v.848c0 .152.124.277.275.26a2.538 2.538 0 002.256-2.515V5.69a.69.69 0 00-.69-.69h-1.49a.69.69 0 00-.689.69v1.806z" fill="currentColor"/><path opacity=".5" fill-rule="evenodd" clip-rule="evenodd" d="M12 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1zM13 19a1 1 0 011-1h4a1 1 0 110 2h-4a1 1 0 01-1-1z" fill="currentColor"/></svg>', 'settings' => [ 'general' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_CONTENT'), 'fields' => [ 'testimonial_carousel_layout' => [ 'type' => 'thumbnail', 'columns' => 3, 'values' => [ 'testi_layout1' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 152"><path opacity="0.1" d="M0 0h146v152H0V0z" fill="currentColor"/><path opacity="0.4" d="M125.782 52.328H20.218a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h105.564a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5zM125.782 62.295H20.218a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h105.564a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5zM95.833 72.262H20.218a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h75.615a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/><path d="M29.949 132.065c6.202 0 11.23-5.021 11.23-11.213 0-6.193-5.028-11.213-11.23-11.213-6.203 0-11.231 5.02-11.231 11.213 0 6.192 5.028 11.213 11.23 11.213z" fill="currentColor"/><path opacity="0.6" d="M78.11 114.623H50.42a3 3 0 00-3 3v.23a3 3 0 003 3H78.11a3 3 0 003-3v-.23a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M96.088 124.59H48.665a1.246 1.246 0 000 2.492h47.423a1.246 1.246 0 000-2.492z" fill="currentColor"/><path opacity="0.15" d="M27.209 39.87h-5.491a3 3 0 01-3-3v-5.695c0-3.201.678-5.729 2.034-7.58 1.356-1.851 3.68-3.486 6.974-4.905l2.483 4.62c-2.025.934-3.425 1.864-4.2 2.79-.775.925-1.206 2.02-1.294 3.282h2.494a3 3 0 013 3v4.486a3 3 0 01-3 3v.002zm13.259 0h-5.491a3 3 0 01-3-3v-5.695c0-3.201.678-5.729 2.034-7.58 1.356-1.851 3.68-3.486 6.974-4.905l2.483 4.62c-2.025.934-3.425 1.864-4.2 2.79-.775.925-1.206 2.02-1.294 3.282h2.494a3 3 0 013 3v4.486a3 3 0 01-3 3v.002z" fill="currentColor"/><path d="M27.988 92.237c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.478 0c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.48 0c0 .1-.073.195-.146.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.478 0c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zM74.967 94.222l1.705-1.652-2.35-.346-1.054-2.125-1.053 2.125-2.35.346 1.704 1.652-.407 2.342 2.106-1.107 2.1 1.107-.4-2.342zm2.936-1.986c0 .1-.072.194-.145.266l-2.022 1.97.48 2.78.005.111c0 .15-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.781-2.029-1.97c-.067-.072-.139-.166-.139-.266 0-.168.173-.235.312-.257l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.257z" fill="currentColor"/></svg>'], 'testi_layout2' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 152"><path opacity="0.1" d="M0 0h146v152H0V0z" fill="currentColor"/><path opacity="0.4" d="M125.782 72.262H20.218a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h105.564a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5zM125.782 82.228H20.218a1.5 1.5 0 00-1.5 1.5v.739a1.5 1.5 0 001.5 1.5h105.564a1.5 1.5 0 001.5-1.5v-.739a1.5 1.5 0 00-1.5-1.5zM95.833 92.195H20.218a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h75.615a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/><path d="M29.949 42.36c6.202 0 11.23-5.02 11.23-11.213s-5.028-11.213-11.23-11.213c-6.203 0-11.231 5.02-11.231 11.213 0 6.192 5.028 11.213 11.23 11.213z" fill="currentColor"/><path opacity="0.6" d="M78.11 24.918H50.42a3 3 0 00-3 3v.23a3 3 0 003 3H78.11a3 3 0 003-3v-.23a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M96.088 34.885H48.665a1.246 1.246 0 100 2.492h47.423a1.246 1.246 0 100-2.492z" fill="currentColor"/><path opacity="0.15" d="M27.209 108.395h-5.491a3 3 0 00-3 3v5.695c0 3.201.678 5.728 2.034 7.579 1.356 1.852 3.68 3.487 6.974 4.906l2.483-4.62c-2.025-.934-3.425-1.865-4.2-2.79-.775-.926-1.206-2.02-1.294-3.283h2.494a3 3 0 003-3v-4.486a3 3 0 00-3-3v-.001zm13.259 0h-5.491a3 3 0 00-3 3v5.695c0 3.201.678 5.728 2.034 7.579 1.356 1.852 3.68 3.487 6.974 4.906l2.483-4.62c-2.025-.934-3.425-1.865-4.2-2.79-.775-.926-1.206-2.02-1.294-3.283h2.494a3 3 0 003-3v-4.486a3 3 0 00-3-3v-.001z" fill="currentColor"/><path d="M27.988 53.614c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.478 0c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.48 0c0 .1-.073.195-.146.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zm12.478 0c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .145-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256zM74.967 55.598l1.705-1.652-2.35-.345-1.054-2.125-1.053 2.125-2.35.345 1.704 1.652-.407 2.342 2.106-1.107 2.1 1.107-.4-2.342zm2.936-1.986c0 .1-.072.195-.145.267l-2.022 1.97.48 2.78.005.111c0 .15-.067.278-.228.278a.454.454 0 01-.223-.067l-2.5-1.313-2.502 1.313a.47.47 0 01-.223.067c-.162 0-.234-.133-.234-.278l.011-.11.48-2.782-2.029-1.969c-.067-.072-.139-.167-.139-.267 0-.167.173-.234.312-.256l2.797-.406 1.253-2.53c.05-.107.145-.229.273-.229.128 0 .223.122.273.228l1.253 2.531 2.797.406c.134.022.312.09.312.256z" fill="currentColor"/></svg>'], 'testi_layout3' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 153"><path opacity="0.1" d="M146 0H0v152.239h146V0z" fill="currentColor"/><path opacity="0.2" fill-rule="evenodd" clip-rule="evenodd" d="M134.513 12.479a4 4 0 014 4v63.128a4 4 0 01-4 4H76.491l-4.115 5.157-4.126-5.157H11.487a4 4 0 01-4-4V16.478a4 4 0 014-4h123.026z" fill="currentColor"/><path d="M124.534 47.418H21.466a1.5 1.5 0 00-1.5 1.5v.744a1.5 1.5 0 001.5 1.5h103.068a1.5 1.5 0 001.5-1.5v-.744a1.5 1.5 0 00-1.5-1.5z" fill="#fff"/><path opacity="0.7" d="M124.534 57.4H21.466a1.5 1.5 0 00-1.5 1.5v.744a1.5 1.5 0 001.5 1.5h103.068a1.5 1.5 0 001.5-1.5V58.9a1.5 1.5 0 00-1.5-1.5z" fill="#fff"/><path opacity="0.5" d="M94.585 67.383h-73.12a1.5 1.5 0 00-1.5 1.5v.743a1.5 1.5 0 001.5 1.5h73.12a1.5 1.5 0 001.5-1.5v-.743a1.5 1.5 0 00-1.5-1.5z" fill="#fff"/><path d="M73.624 119.796c6.202 0 11.23-5.029 11.23-11.231 0-6.203-5.028-11.231-11.23-11.231-6.203 0-11.23 5.028-11.23 11.231 0 6.202 5.027 11.231 11.23 11.231z" fill="currentColor"/><path opacity="0.6" d="M86.846 126.035H60.402a3 3 0 00-3 3v.239a3 3 0 003 3h26.444a3 3 0 003-3v-.239a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M97.333 136.018H49.914a1.247 1.247 0 100 2.495h47.42a1.247 1.247 0 100-2.495z" fill="currentColor"/></svg>'], ], 'std' => 'testi_layout3', ], 'testimonial_carousel_separator' => [ 'type' => 'separator', ], 'sp_testimonial_carousel_item' => [ 'type' => 'repeatable', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_ITEMS'), 'std' => array_fill(0, 6, [ 'client_name' => 'John Doe', 'client_desgination' => 'Full Stack Developer', // @todo: fix the spelling 'client_message' => 'Testimonial carousel is modern and stylish addon for SP Page Builder . Instantly raise your website appearance with this stylish new addon.', 'show_rating' => 1, 'client_rating' => 4.5, 'testimonial_carousel_img' => '', ]), 'attr' => [ 'title' => [ 'type' => 'text', 'title' => Text::_('COM_SPPAGEBUILDER_ADMIN_LABEL'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADMIN_LABEL_DESC'), 'std' => 'Carousel Item Tittle', ], 'client_name' => [ 'type' => 'text', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_NAME'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_NAME_DESC'), 'std' => 'John Doe', ], 'client_desgination' => [ 'type' => 'text', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_CLIENT_DESIGNATION'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_CLIENT_DESIGNATION_DESC'), 'std' => 'Full Stack Developer', ], 'client_message' => [ 'type' => 'textarea', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CAROUSEL_MESSAGE'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CAROUSEL_MESSAGE_DESC'), 'std' => 'Testimonial carousel is modern and stylish addon for SP Page Builder . Instantly raise your website appearance with this stylish new addon.', ], 'show_rating' => [ 'type' => 'checkbox', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_RATING_ENABLE'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_RATING_ENABLE_DESC'), 'std' => 1, ], 'client_rating' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_RATING'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_CLIENT_RATING_DESC'), 'depends' => [['show_rating', '!=', 0]], 'std' => 4.5, 'min' => 1, 'max' => 5, 'step' => .5, ], 'testimonial_carousel_img' => [ 'type' => 'media', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CLIENT_IMAGE'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CLIENT_IMAGE_DESC'), 'std' => ['src' => 'https://sppagebuilder.com/addons/image_carousel/image-carousel-default.jpg'], ], ], ], 'content_alignment_separator' => [ 'type' => 'separator', ], 'content_alignment' => [ 'type' => 'alignment', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_ALIGNMENT'), 'responsive' => true, 'available_options' => ['left', 'center', 'right'], 'std' => [ 'xl' => 'center', 'lg' => '', 'md' => '', 'sm' => '', 'xs' => '', ], ], ], ], 'content' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_CONTENT'), 'depends' => [['testimonial_carousel_layout', '!=', 'testi_layout3']], 'fields' => [ 'content_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), ], 'content_padding_separator' => [ 'type' => 'separator', ], 'content_padding' => [ 'type' => 'padding', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_PADDING'), 'responsive' => true, ], 'content_border_radius' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS'), 'min' => 0, 'max' => 300, ], ], ], 'name' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_NAME'), 'fields' => [ 'name_typography' => [ 'type' => 'typography', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_TYPOGRAPHY'), 'fallbacks' => [ 'font' => 'name_font_family', 'size' => 'name_fontsize', 'line_height' => 'name_lineheight', 'letter_spacing' => 'name_letterspace', 'uppercase' => 'name_font_style.uppercase', 'italic' => 'name_font_style.italic', 'underline' => 'name_font_style.underline', 'weight' => 'name_font_style.weight', ], ], 'name_text_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#6d7175', ], 'name_separator' => [ 'type' => 'separator', ], 'name_margin' => [ 'type' => 'margin', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN'), 'responsive' => true, 'std' => ['xl' => '10px 0px 0px 0px', 'lg' => '', 'md' => '', 'sm' => '', 'xs' => ''], ], ], ], 'designation' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_DESIGNATION'), 'fields' => [ 'title_typography' => [ 'type' => 'typography', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_TYPOGRAPHY'), 'fallbacks' => [ 'font' => 'designation_font_family', 'size' => 'designation_fontsize', 'line_height' => 'designation_lineheight', 'letter_spacing' => 'designation_letterspace', 'uppercase' => 'designation_font_style.uppercase', 'italic' => 'designation_font_style.italic', 'underline' => 'designation_font_style.underline', 'weight' => 'designation_font_style.weight', ], ], 'designation_text_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#888d92', ], ], ], 'message' => [ 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_MESSAGE'), 'fields' => [ 'message_typography' => [ 'type' => 'typography', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_TYPOGRAPHY'), 'fallbacks' => [ 'font' => 'message_font_family', 'size' => 'message_fontsize', 'line_height' => 'message_lineheight', 'letter_spacing' => 'message_letterspace', 'uppercase' => 'message_font_style.uppercase', 'italic' => 'message_font_style.italic', 'underline' => 'message_font_style.underline', 'weight' => 'message_font_style.weight', ], ], 'message_text_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#888d92', ], 'message_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), 'std' => '#F8F8F8', 'depends' => [['testimonial_carousel_layout', '=', 'testi_layout3']], ], 'message_spacing_separator' => [ 'type' => 'separator', ], 'message_padding' => [ 'type' => 'padding', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_PADDING'), 'placeholder' => '10', 'responsive' => true, 'std' => ['xl' => '30px 30px 30px 30px', 'lg' => '', 'md' => '', 'sm' => '', 'xs' => ''], 'depends' => [['testimonial_carousel_layout', '=', 'testi_layout3']], ], 'message_border_radius' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS'), 'min' => 0, 'max' => 300, 'depends' => [['testimonial_carousel_layout', '=', 'testi_layout3']], ], 'message_margin_top' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN_TOP'), 'responsive' => true, 'min' => 0, 'max' => 300, ], 'message_margin_bottom' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN_BOTTOM'), 'responsive' => true, 'std' => ['xl' => 40], 'min' => 0, 'max' => 300, ], ], ], 'avatar' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_AVATAR'), 'fields' => [ 'avatar_layout' => [ 'type' => 'thumbnail', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_LAYOUT'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_AVATAR_STYLE_DESC'), 'columns' => 2, 'values' => [ 'avatar_layout1' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 76"><path opacity="0.1" d="M0 0h146v76H0V0z" fill="currentColor"/><path d="M26.205 52.328c7.58 0 13.726-6.136 13.726-13.705 0-7.57-6.145-13.705-13.726-13.705-7.58 0-13.726 6.136-13.726 13.705s6.145 13.705 13.726 13.705z" fill="currentColor"/><path opacity="0.6" d="M93.086 29.902H49.17a3 3 0 00-3 3v1.475a3 3 0 003 3h43.915a3 3 0 003-3v-1.475a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M132.021 43.607h-84.35a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h84.35a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/></svg>'], 'avatar_layout2' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 76"><path opacity="0.1" d="M0 0h146v76H0V0z" fill="currentColor"/><path d="M120.205 52.328c7.581 0 13.726-6.136 13.726-13.705 0-7.57-6.145-13.705-13.726-13.705-7.581 0-13.726 6.136-13.726 13.705s6.145 13.705 13.726 13.705z" fill="currentColor"/><path opacity="0.6" d="M96.394 29.918H52.479a3 3 0 00-3 3v1.475a3 3 0 003 3h43.915a3 3 0 003-3v-1.475a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M98.329 43.918h-84.35a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h84.35a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/></svg>'], 'avatar_layout3' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 76"><path opacity="0.1" d="M0 0h146v76H0V0z" fill="currentColor"/><path d="M26.205 39.869c7.58 0 13.726-6.136 13.726-13.705 0-7.57-6.145-13.705-13.726-13.705-7.58 0-13.726 6.136-13.726 13.705s6.145 13.705 13.726 13.705z" fill="currentColor"/><path opacity="0.6" d="M59.394 46.098H15.479a3 3 0 00-3 3v1.475a3 3 0 003 3h43.915a3 3 0 003-3v-1.475a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M98.329 59.803h-84.35a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h84.35a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/></svg>'], 'avatar_layout4' => ['svg' => '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146 76"><path opacity="0.1" d="M0 0h146v76H0V0z" fill="currentColor"/><path d="M26.205 63.869c7.58 0 13.726-6.136 13.726-13.705 0-7.57-6.145-13.705-13.726-13.705-7.58 0-13.726 6.136-13.726 13.705s6.145 13.705 13.726 13.705z" fill="currentColor"/><path opacity="0.6" d="M59.394 13.098H15.479a3 3 0 00-3 3v1.475a3 3 0 003 3h43.915a3 3 0 003-3v-1.475a3 3 0 00-3-3z" fill="currentColor"/><path opacity="0.3" d="M98.329 26.459h-84.35a1.5 1.5 0 00-1.5 1.5v.738a1.5 1.5 0 001.5 1.5h84.35a1.5 1.5 0 001.5-1.5v-.738a1.5 1.5 0 00-1.5-1.5z" fill="currentColor"/></svg>'], ], 'std' => 'avatar_layout3', 'depends' => [['testimonial_carousel_layout', '!=', 'testi_layout3']], ], 'avatar_height' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_HEIGHT'), 'std' => ['xl' => 60], 'responsive' => true, 'min' => 1, 'max' => 200, ], 'avatar_width' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_WIDTH'), 'std' => ['xl' => 60], 'responsive' => true, 'min' => 1, 'max' => 200, ], 'avatar_border_radius' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS'), 'desc' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS_DESC'), 'std' => 100, 'min' => 0, 'max' => 1000, ], 'avatar_gap' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN'), 'std' => ['xl' => 15], 'min' => 0, 'max' => 200, 'responsive' => true, 'depends' => [['testimonial_carousel_layout', '!=', 'testi_layout3']], ], ], ], 'quote' => [ 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_QUOTE'), 'fields' => [ 'show_quote_icon' => [ 'type' => 'checkbox', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_QUOTE'), 'std' => 1, 'is_header' => 1, ], 'quote_icon_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#dbdbdb', 'depends' => [['show_quote_icon', '=', 1]], ], 'quote_icon_size' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_SIZE'), 'std' => ['xl' => 50], 'min' => 10, 'max' => 200, 'responsive' => true, 'depends' => [['show_quote_icon', '=', 1]], ], 'quote_icon_gap' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN'), 'std' => ['xl' => 20], 'min' => 0, 'max' => 200, 'responsive' => true, 'depends' => [['show_quote_icon', '=', 1]], ], ], ], 'ratings' => [ 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_RATINGS'), 'fields' => [ 'rating_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#ffb527', ], 'rating_size' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_SIZE'), 'std' => ['xl' => 18], 'min' => 0, 'max' => 200, 'responsive' => true, ], 'rating_gap' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_MARGIN'), 'std' => ['xl' => 20], 'min' => 0, 'max' => 200, 'responsive' => true, ], ], ], 'options' => [ 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_OPTIONS'), 'fields' => [ 'carousel_item_number' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_ITEM_NUMBER'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_ITEM_NUMBER_DESC'), 'min' => 1, 'max' => 15, 'responsive' => true, ], 'carousel_margin' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_ITEM_MARGIN'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_ITEM_MARGIN_DESC'), 'std' => 15, ], 'carousel_autoplay_separator' => [ 'type' => 'separator', ], 'carousel_autoplay' => [ 'type' => 'checkbox', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_AUTOPLAY'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_AUTOPLAY_DESC'), 'std' => 0, ], 'carousel_interval' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_INTERVAL'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_IMAGE_CAROUSEL_INTERVAL_DESC'), 'std' => 4500, 'depends' => [['carousel_autoplay', '=', 1]], ], 'carousel_speed' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SPEED'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SPEED_DESC'), 'std' => 1500, ], // Bullets 'carousel_bullet_separator' => [ 'type' => 'separator', ], 'carousel_bullet' => [ 'type' => 'checkbox', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SHOW_CONTROLLERS'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SHOW_CONTROLLERS_DESC'), 'std' => 1, ], 'bullet_position_verti' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_VERTICAL_POSITION'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_VERTICAL_POSITION_DESC'), 'min' => -100, 'max' => 100, 'responsive' => true, 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_position_hori' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_HORI_POSITION'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_HORI_POSITION_DESC'), 'min' => -2000, 'max' => 2000, 'responsive' => true, 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_height' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_HEIGHT'), 'max' => 100, 'min' => 0, 'std' => 12, 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_width' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_WIDTH'), 'max' => 100, 'min' => 0, 'std' => 12, 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_style' => [ 'type' => 'buttons', 'values' => [ ['label' => Text::_('COM_SPPAGEBUILDER_GLOBAL_NORMAL'), 'value' => 'normal'], ['label' => Text::_('COM_SPPAGEBUILDER_GLOBAL_ACTIVE'), 'value' => 'active'], ], 'std' => 'normal', 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), 'std' => '#dbdbdb', 'depends' => [['carousel_bullet', '=', 1], ['bullet_style', '=', 'normal']], ], 'bullet_border_width' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_WIDTH'), 'max' => 20, 'depends' => [['carousel_bullet', '=', 1], ['bullet_style', '=', 'normal']], ], 'bullet_border_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_COLOR'), 'depends' => [['carousel_bullet', '=', 1], ['bullet_style', '=', 'normal']], ], 'bullet_active_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), 'std' => '#373bff', 'depends' => [['carousel_bullet', '=', 1], ['bullet_style', '=', 'active']], ], 'bullet_border_radius_separator' => [ 'type' => 'separator', 'depends' => [['carousel_bullet', '=', 1]], ], 'bullet_border_radius' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS'), 'desc' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS_DESC'), 'max' => 100, 'depends' => [['carousel_bullet', '=', 1]], ], // Arrow 'carousel_arrow_separator' => [ 'type' => 'separator', ], 'carousel_arrow' => [ 'type' => 'checkbox', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SHOW_ARROWS'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_SHOW_ARROWS_DESC'), 'std' => 1, ], 'arrow_position_verti' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_VERTICAL_POSITION'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_VERTICAL_POSITION_DESC'), 'min' => -100, 'max' => 100, 'responsive' => true, 'depends' => [['carousel_arrow', '=', 1]], ], 'arrow_position_hori' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_HORI_POSITION'), 'desc' => Text::_('COM_SPPAGEBUILDER_ADDON_CAROUSEL_CONTROLLER_HORI_POSITION_DESC'), 'min' => -200, 'max' => 200, 'responsive' => true, 'depends' => [['carousel_arrow', '=', 1]], ], 'arrow_icon' => [ 'type' => 'select', 'title' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_ARROWS_ICON'), 'values' => [ 'angle' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_ARROWS_ICON_ANGLE'), 'long_arrow' => Text::_('COM_SPPAGEBUILDER_ADDON_TESTIMONIAL_PRO_ARROWS_ICON_LONG_ARROW'), ], 'std' => 'long_arrow', 'depends' => [['carousel_arrow', '=', 1]], ], 'arrow_style' => [ 'type' => 'buttons', 'values' => [ ['label' => Text::_('COM_SPPAGEBUILDER_GLOBAL_NORMAL'), 'value' => 'normal_arrow'], ['label' => Text::_('COM_SPPAGEBUILDER_GLOBAL_HOVER'), 'value' => 'hover_arrow'], ], 'std' => 'normal_arrow', 'depends' => [['carousel_arrow', '=', 1]], ], 'arrow_height' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_HEIGHT'), 'std' => '', 'max' => 200, 'min' => 10, 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], 'std' => 50, ], 'arrow_width' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_WIDTH'), 'std' => '', 'max' => 200, 'min' => 10, 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], 'std' => 52, ], 'arrow_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '#fff', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], ], 'arrow_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), 'std' => '#373bff', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], ], 'arrow_font_size' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_FONT_SIZE'), 'min' => 0, 'max' => 100, 'std' => 24, 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], ], 'arrow_border_width' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_WIDTH'), 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], 'min' => 0, 'max' => 20, ], 'arrow_border_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_COLOR'), 'std' => '#373bff', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], ], 'arrow_border_radius' => [ 'type' => 'slider', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_RADIUS'), 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'normal_arrow'], ], 'max' => 1000, 'min' => 0, 'std' => '0', ], 'arrow_hover_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_COLOR'), 'std' => '', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'hover_arrow'], ], ], 'arrow_hover_background' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BACKGROUND'), 'std' => '', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'hover_arrow'], ], ], 'arrow_hover_border_color' => [ 'type' => 'color', 'title' => Text::_('COM_SPPAGEBUILDER_GLOBAL_BORDER_COLOR'), 'std' => '', 'depends' => [ ['carousel_arrow', '=', 1], ['arrow_style', '=', 'hover_arrow'], ], ], ], ], ], ]);
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.08 |
proxy
|
phpinfo
|
Настройка