Sindbad~EG File Manager

Current Path : /home/sarayaglobal/sarayamystair.in/templates/yootheme/cache/
Upload File :
Current File : /home/sarayaglobal/sarayamystair.in/templates/yootheme/cache/element-07f2c2df.php

<?php // $file = /home/sarayaglobal/sarayamystair.in/plugins/system/yooessentials/modules/core/elements/social_sharing_item/element.json

return [
  '@import' => $filter->apply('path', './element.php', $file), 
  'name' => 'yooessentials_social_sharing_item', 
  'title' => 'Item', 
  'width' => 500, 
  'templates' => [
    'render' => $filter->apply('path', './templates/template.php', $file), 
    'content' => $filter->apply('path', './templates/content.php', $file)
  ], 
  'defaults' => [
    'link_target' => '_blank', 
    'link_target_width' => '', 
    'link_target_height' => ''
  ], 
  'fields' => [
    'link' => [
      'label' => 'Social Network', 
      'type' => 'select', 
      'default' => 'twitter', 
      'options' => [
        'Twitter' => 'twitter', 
        'Facebook' => 'facebook', 
        'WhatsApp' => 'whatsapp', 
        'LinkedIn' => 'linkedin', 
        'Pinterest' => 'pinterest', 
        'Custom' => 'custom'
      ]
    ], 
    'custom_link' => [
      'label' => 'Link', 
      'attrs' => [
        'placeholder' => 'http://mysharer.com/?u=%s'
      ], 
      'description' => 'Set a custom share link where <code>%s</code> is a reference to the current site url.', 
      'show' => 'link == \'custom\''
    ], 
    'link_target' => [
      'label' => 'Target', 
      'description' => 'Set the target window for the sharing links to open.', 
      'type' => 'select', 
      'options' => [
        'New Window' => '_blank', 
        'Same Window' => '_self', 
        'PopUp Window' => 'popup'
      ]
    ], 
    'link_target_width' => [
      'label' => 'Width', 
      'attrs' => [
        'placeholder' => 600
      ]
    ], 
    'link_target_height' => [
      'label' => 'Height', 
      'attrs' => [
        'placeholder' => 600
      ]
    ], 
    'title' => [
      'label' => 'Title', 
      'description' => 'An optional title for the link.'
    ], 
    'icon' => [
      'label' => 'Icon', 
      'description' => 'Instead of using a custom image, you can click on the pencil to pick an icon from the icon library.', 
      'type' => 'icon', 
      'source' => true, 
      'show' => 'link == \'custom\''
    ], 
    'status' => $config->get('builder.status'), 
    'id' => $config->get('builder.id'), 
    'class' => $config->get('builder.cls'), 
    'attributes' => $config->get('builder.attrs')
  ], 
  'fieldset' => [
    'default' => [
      'type' => 'tabs', 
      'fields' => [[
          'title' => 'Content', 
          'fields' => ['link', 'custom_link', 'link_target', [
              'description' => 'The target window specifications.', 
              'name' => '_target', 
              'type' => 'grid', 
              'width' => '1-2', 
              'fields' => ['link_target_width', 'link_target_height'], 
              'show' => 'link_target === \'popup\''
            ], 'title', 'icon']
        ], $config->get('builder.advanced')]
    ]
  ]
];

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists