<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/

return array(
  array(
    'title' => 'Sunshine Theme - Header',
    'description' => 'This widget displays the Feature blocks on Landing Page. Edit this widget to configure features.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.header',
  ),
  array(
    'title' => 'Sunshine Theme - Landing Page',
    'description' => 'Displays Landing Page.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.landing-page-main',
    'adminForm' => 'Sunshine_Form_Admin_Widget_LandingPageMain',
    "autoEdit"=>true
  ),
array(
    'title' => 'Sunshine Theme - Landing Page Banner',
    'description' => 'Displays the Banner on Landing Page. Requires that you have at least one banner.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.landing-page-banner',
    'adminForm' => 'Sunshine_Form_Admin_Widget_LandingPageBanner',
    "autoEdit"=>true

  ),
 array(
    'title' => 'Sunshine Theme - Landing Page Features',
    'description' => 'This widget displays the Feature blocks on Landing Page. Edit this widget to configure features.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.landing-page-features',
    'adminForm' => 'Sunshine_Form_Admin_Widget_LandingPageFeatures',
    "autoEdit"=>true
  ),

 array(
    'title' => 'Sunshine Theme - Landing Page Blogs',
    'description' => 'This widget displays the Blogs on Landing Page.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.landing-page-blogs',
    "autoEdit"=>true,
    'defaultParams' => array(
      'title' => 'Popular Blog Entries'
    ),
    'adminForm' => array(
      'elements' => array(
        array(
          'Text',
          'title',
          array(
            'label' => 'Title'
          )
        ),
        array(
          'Textarea',
          'description',
          array(
            'label'=>'Description'
          )
          ),
          array(
            'Radio',
            'popularType',
            array(
                'label' => 'Popular Type',
                'multiOptions' => array(
                    'view' => 'Views',
                    'comment' => 'Comments',
                ),
                'value' => 'comment',
            )
        ),
      ),
    )
  ),
  array(
    'title' => 'Sunshine Theme - Landing Member',
    'description' => 'This widget displays the Members on Landing Page.',
    'category' => 'Sunshine Theme',
    'type' => 'widget',
    'name' => 'sunshine.landing-page-members',
    "autoEdit"=>true,
    'adminForm' => array(
      'elements' => array(
        array(
          'Textarea',
          'description',
          array(
            'label'=>'Description'
          )
          )
        ),
      )
  ),
);

