Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class ffComponent_OxygenTheme_OnePageOptions extends ffOptionsHolder {
- public function getOptions() {
- $breakPoints = array();
- $breakPoints[] = array('name'=>'None', 'value'=>'none');
- $breakPoints[] = array('name'=>'1', 'value'=>'1');
- $breakPoints[] = array('name'=>'2', 'value'=>'2');
- $breakPoints[] = array('name'=>'3', 'value'=>'3');
- $breakPoints[] = array('name'=>'4', 'value'=>'4');
- $breakPoints[] = array('name'=>'5', 'value'=>'5');
- $breakPoints[] = array('name'=>'6', 'value'=>'6');
- $breakPoints[] = array('name'=>'7', 'value'=>'7');
- $breakPoints[] = array('name'=>'8', 'value'=>'8');
- $breakPoints[] = array('name'=>'9', 'value'=>'9');
- $breakPoints[] = array('name'=>'10', 'value'=>'10');
- $breakPoints[] = array('name'=>'11', 'value'=>'11');
- $breakPoints[] = array('name'=>'12', 'value'=>'12');
- $s = $this->_getOnestructurefactory()->createOneStructure( 'aaa');
- $sectionPricing = $this->_getOptionsholderfactory()->createOptionsHolder('ffComponent_OnePage_SectionPricing');
- $sectionFunFacts = $this->_getOptionsholderfactory()->createOptionsHolder('ffComponent_OnePage_SectionFunFacts');
- $s->startSection('sections', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- ################################################################################
- # HOME-MENU-ONLY START
- ################################################################################
- $s->startSection('home-menu-only', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Menu Only');
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', '');
- $s->addElement(ffOneElement::TYPE_HTML,'','<div style="display:none">');
- $s->addOption(ffOneOption::TYPE_TEXT, 'have-to-save-value');
- $s->addElement(ffOneElement::TYPE_HTML,'','</div>');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-1 START
- ################################################################################
- $s->startSection('home-1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 7 (Image Background)');
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-1.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', 'Background Image');
- $s->addOption(ffOneOption::TYPE_CHECKBOX, 'hide-pattern', 'Hide Pattern', 0);
- $s->addOption(ffOneOption::TYPE_CHECKBOX, 'background-attachment-fixed', 'Background Image Fixed', 0);
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
- $s->endSection();
- $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
- $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-1 END
- ################################################################################
- ################################################################################
- # HOME-2 START
- ################################################################################
- $s->startSection('home-2', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 6 (Parallax with typo)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-2.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Slide');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
- $s->endSection();
- $s->endSection();
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('text-line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_SELECT, 'type', 'Type', 'h1')
- ->addSelectValue('H1', 'h1')
- ->addSelectValue('H2', 'h2');
- $s->addOption(ffOneOption::TYPE_SELECT, 'color', 'Color', 'none')
- ->addSelectValue('None', 'none')
- ->addSelectValue('Colored', 'colored')
- ->addSelectValue('Gray 1', 'gray1')
- ->addSelectValue('Gray 2', 'gray2');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now!');
- $s->endSection();
- $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-2 END
- ################################################################################
- ################################################################################
- # HOME-3 START
- ################################################################################
- $s->startSection('home-3', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 4 (Video Background)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-3.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption(ffOneOption::TYPE_TEXT, 'background-video','Background video (youtube)', 'https://www.youtube.com/watch?v=V6_85cSOIcE');
- $s->addElement(ffOneElement::TYPE_NEW_LINE);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', 'Background image for mobiles (fallback)', '{"id":0,"url":"'.get_template_directory_uri().'/images/mobile-bg.jpg","width":800,"height":800}');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
- $s->endSection();
- $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
- $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-3 END
- ################################################################################
- ################################################################################
- # HOME-4 START
- ################################################################################
- $s->startSection('home-4', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 5 (Animated Background)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-4.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
- $s->endSection();
- $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
- $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-4 END
- ################################################################################
- ################################################################################
- # HOME-6 START
- ################################################################################
- $s->startSection('home-6', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 9 (Alt Parallax)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-6.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Slide');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
- $s->endSection();
- $s->endSection();
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('text-line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_SELECT, 'type', 'Type', 'h1')
- ->addSelectValue('H1', 'h1')
- ->addSelectValue('H2', 'h2');
- $s->addOption(ffOneOption::TYPE_CHECKBOX, 'is_white', 'White', false);
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now!');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-6 END
- ################################################################################
- ################################################################################
- # HOME-7 START
- ################################################################################
- $s->startSection('home-7', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 10 (Video Background 2)');
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-1.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption(ffOneOption::TYPE_TEXT, 'background-video','Background video (youtube)', 'https://www.youtube.com/watch?v=V6_85cSOIcE');
- $s->addElement(ffOneElement::TYPE_NEW_LINE);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', 'Background image for mobiles (fallback)', '{"id":0,"url":"'.get_template_directory_uri().'/images/mobile-bg.jpg","width":800,"height":800}');
- $s->addElement(ffOneElement::TYPE_NEW_LINE);
- $s->addOption( ffOneOption::TYPE_CHECKBOX, 'show-dark-shadow', 'Dark Shadow', 0);
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
- $s->endSection();
- $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
- $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-7 END
- ################################################################################
- ################################################################################
- # HOME-7 START
- ################################################################################
- $s->startSection('home-8', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 3 (Parallax Slider)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-8.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Background slide');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
- $s->endSection();
- $s->endSection();
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
- $s->endSection();
- $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
- $s->endSection();
- $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
- $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
- $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
- $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # HOME-7 END
- ################################################################################
- ################################################################################
- # HOME-9 REVSLIDER START
- ################################################################################
- if( function_exists('is_plugin_active') && is_plugin_active( 'revslider/revslider.php' ) ){
- $s->startSection('home-9', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Revolution Slider (Home 1)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/revolution-slider.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->startSection('header');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Top Header');
- $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', true);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'left_text', 'Text on left', 'Welcome to Oxygen ! Perspiciatis voluptatem unde omnis.');
- $s->startSection('right_section', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Left Section Item');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '123-123456789')->addParam('class','edit-repeatable-item-description');;
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'link', 'Link', 'tel:+123456789');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-phone')
- ->addParam('data-autofilter', 'font-awesome');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->endSection();
- $s->startSection('revslider');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Slider Revolution');
- $slider = $s->addOption(ffOneOption::TYPE_SELECT, 'id', '', '');
- $slider->addSelectValue(' - NO SLIDER SELECTED - ', '');
- global $wpdb;
- $SQL = 'SELECT `title`, `alias` FROM `'.$wpdb->prefix.'revslider_sliders`';
- $results = $wpdb->get_results( $SQL, ARRAY_A );
- if( !empty($results) ){
- foreach ($results as $row) {
- $slider->addSelectValue( $row['title'], $row['alias'] );
- }
- }
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- }
- ################################################################################
- # HOME-9 REVSLIDER END
- ################################################################################
- ################################################################################
- # HOME-10 LAYERSLIDER START
- ################################################################################
- if( function_exists('is_plugin_active') && is_plugin_active( 'LayerSlider/layerslider.php' ) ){
- $s->startSection('home-10', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Layer Slider (Home 2)')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/layer-slider.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->startSection('header');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Top Header');
- $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', true);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'left_text', 'Text on left', 'Welcome to Oxygen ! Perspiciatis voluptatem unde omnis.');
- $s->startSection('right_section', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Left Section Item');
- $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '123-123456789')->addParam('class','edit-repeatable-item-description');;
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'link', 'Link', 'tel:+123456789');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-phone')
- ->addParam('data-autofilter', 'font-awesome');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->endSection();
- $s->startSection('layerslider');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Layer Slider');
- $slider = $s->addOption(ffOneOption::TYPE_SELECT, 'id', '', '');
- $slider->addSelectValue(' - NO SLIDER SELECTED - ', '');
- global $wpdb;
- $SQL = 'SELECT `id`, `name` FROM `'.$wpdb->prefix.'layerslider`';
- $results = $wpdb->get_results( $SQL, ARRAY_A );
- if( !empty($results) ){
- foreach ($results as $row) {
- $slider->addSelectValue( $row['name'], $row['id'] );
- }
- }
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- }
- ################################################################################
- # HOME-10 LAYERSLIDER END
- ################################################################################
- ################################################################################
- # ABOUT START
- ################################################################################
- $s->startSection('about', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'About')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/about.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Retina ready professional and <span class="colored">clean</span> design.');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="colored bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Text Icon Blocks');
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Text Icon Block');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- // icon / number / description
- //TODO
- //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
- $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
- ->addParam('data-autofilter', 'font-awesome');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $descriptionDefault = 'On the other hand, we denounce with righteo us indignation and dislike men who are so asure of the moment.';
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # ABOUT END
- ################################################################################
- ################################################################################
- # BLOCKQUOTE START
- ################################################################################
- $s->startSection('blockquote', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Blockquote')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/blockquote.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Blockquote');
- $testimonialDefault = 'Oxygen is clean and professional theme for you !';
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'text','', $testimonialDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # BLOCKQUOTE END
- ################################################################################
- ################################################################################
- # CALL TO ACTION START
- ################################################################################
- $s->startSection('call-to-action', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Call to Action')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/call-to-action.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Call to Action');
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'text_right','Right text', 'Awesome Design & Clean Coding <span class="colored condiment bigger"> Oxygen</span>');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'text_left','Text before button', 'Are you ready for Oxygen ?');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'button_text','Button Text', 'get started');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'button_link','Button Text', '#');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # CALL TO ACTION END
- ################################################################################
- ################################################################################
- # CONTACT START
- ################################################################################
- $s->startSection('contact', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Contact Form')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/contact-form.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('paralax');
- //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Get In <span class="extrabold">Touch</span>');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled.';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form Translation');
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_name', 'Name', 'Name');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_email', 'Email', 'Email');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_subject', 'Subject', 'Subject');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message', 'Message', 'Message');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_button_send', 'Button Send', 'Send Message');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message_send', 'Message has been send', '<strong>Thank You !</strong> Your email has been delivered.');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message_forget', 'You forgot to enter %s', 'You forgot to eneter %s');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form Sending message info');
- $s->addOption( ffOneOption::TYPE_TEXT, 'msg_email', 'Your email', '');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'msg_subject', 'Your subject', '');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # CONTACT END
- ################################################################################
- ################################################################################
- # FEATURES START
- ################################################################################
- $s->startSection('features', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Features')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/features.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Why do you choose <span class="condiment">Oxygen ?</span>');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="colored bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Features');
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Feature');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '4')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- // icon / number / description
- //TODO
- //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
- $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
- ->addParam('data-autofilter', 'font-awesome');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $descriptionDefault = 'On the other hand, we denounce with righteous indignatin men who are so beguiled and by the charms of pleasure of the moment, so blinded by desire.';
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # FEATURES END
- ################################################################################
- ################################################################################
- # FUN FACTS START
- ################################################################################
- $s->startSection('fun-facts', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Fun Table')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/fun-table.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Retina ready professional and <span class="colored">clean</span> design.');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="colored bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Facts');
- $s->startSection('one-fact', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Fact');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- // icon / number / description
- //TODO
- $s->addOption( ffOneOption::TYPE_ICON, 'icon', 'Icon', 'fa-briefcase');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'number', 'Number', '120');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'description', 'Description', 'Project Finished');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # FUN FACTS END
- ################################################################################
- ################################################################################
- # HISTORY START
- ################################################################################
- $s->startSection('history', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'History')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/history.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('paralax');
- //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygen</span> History');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="dark bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Historical Events');
- $s->startSection('notes', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-note', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Historical Event');
- $s->addOption(ffOneOption::TYPE_DATEPICKER, 'date', 'Date', '01/01/2014');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', '');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->startSection('gallery-items', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item-image', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Gallery Image');
- $s->addOption(ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
- $s->endSection();
- $s->startSection('one-item-video', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Gallery Video')->addParam('hide-default', true);
- $s->addOption(ffOneOption::TYPE_TEXT, 'video', 'YouTube/Vimeo video URL) ', '');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();//*/
- ################################################################################
- # HISTORY END
- ################################################################################
- ################################################################################
- # HTML START
- ################################################################################
- $s->startSection('html', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'HTML')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- /*$s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/history.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );*/
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addElement(ffOneElement::TYPE_HTML, '', 'Insert your HTML here:<br/>');
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'code');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();//*/
- ################################################################################
- # HTML END
- ################################################################################
- ################################################################################
- # MAP START
- ################################################################################
- $s->startSection('map', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Map')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/map.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'where are we ? click for google map');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->startSection('map');
- $s->addOption( ffOneOption::TYPE_TEXT, 'latitude', 'Latitude', '41.862274');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'longitude', 'Longitude', '-87.661328');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'zoom', 'Zoom', '15');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->startSection('markers', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Map Marker');
- $s->addOption( ffOneOption::TYPE_TEXT, 'latitude', 'Latitude', '41.856774');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'longitude', 'Longitude', '-87.679928');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Office');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Your description is here.');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();//*/
- ################################################################################
- # MAP END
- ################################################################################
- ################################################################################
- # PORTFOLIO START
- ################################################################################
- $s->startSection('portfolio', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Portfolio')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/portfolio.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygens Portfolio</span>');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="dark bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_CHECKBOX,'show-filters', 'Show Filters', 1);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TAXONOMY, 'taxonomies', 'Taxonomies', 'all')
- ->addParam('tax_type', 'ff-portfolio-category')
- //->addSelectValue('All', 'all')
- ->addParam('type', 'multiple');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'trans-all', 'Show All', 'Show All');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();//*/
- ################################################################################
- # PORTFOLIO END
- ################################################################################
- ################################################################################
- # PRESENTATION START
- ################################################################################
- $s->startSection('why-we', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Presentation')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/presentation.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- //$s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'where are we ? click for google map');
- $s->startSection('paralax');
- //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Left');
- $s->startSection('left');
- $s->startSection('buttons', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
- $s->addOption(ffOneOption::TYPE_SELECT, 'orientation', 'Orientation', 'normal')
- ->addSelectValue('Up', 'up')
- ->addSelectValue('Normal', 'normal')
- ->addSelectValue('Down', 'down');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'width', 'Width (px)', 230);
- //$s->addOption(ffOneOption::TYPE_TEXT, 'height', 'Height (px)', 60);
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'top', 'Top (%)', 22);
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'left', 'Left (%)', 28);
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'There are many variations of passages of Lorem Ipsum available.');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Right');
- $s->startSection('right');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title','Why youll <span class="colored condiment bigger">Love it ?</span>');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="colored bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description','Description', $descriptionDefault);
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->startSection('accordion', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Accordion Item');
- $s->addOption(ffOneOption::TYPE_SELECT, 'state', 'State', 'collapsed')
- ->addSelectValue('Collapsed', 'collapsed')
- ->addSelectValue('Opened', 'opened');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title','Contrary to popular belief, Lorem Ipsum is not simply random text.');
- $s->addElement(ffOneElement::TYPE_NEW_LINE );
- $descriptionDefault = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, It has survived not only five centuries, but also the leap into electronic typesetting, Lorem Ipsum passages, and more standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.';
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description','Description', $descriptionDefault);
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();//*/
- ################################################################################
- # PRESENTATION END
- ################################################################################
- ################################################################################
- # PRICING START
- ################################################################################
- $s->startSection('pricing', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Pricing Table')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/pricing-table.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Pricing <span class="bold">Tables</span>')->addParam('class','edit-repeatable-item-description');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="colored bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Pricing Tables');
- $s->startSection('one-table', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Pricing Table');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'starter')->addParam('class','edit-repeatable-item-description');;
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'price', 'Price', '19$');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'time', 'Time', 'Monthly');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_CHECKBOX, 'active', 'Active', 0);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->startSection('one-line', ffOneSection::TYPE_REPEATABLE_VARIABLE );
- $s->startSection('line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Text Line');
- $s->addOption( ffOneOption::TYPE_TEXT, 'text', 'Text', '<span class="colored">5 bonus</span> points every month');
- $s->endSection();
- $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('hide-default', true)->addParam('section-name', 'Button');
- $s->addOption( ffOneOption::TYPE_TEXT, 'text', 'Button Caption', 'Buy Now');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'href', 'Button URL link', '#');
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # PRICING END
- ################################################################################
- ################################################################################
- # SERVICES START
- ################################################################################
- $s->startSection('services', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Services')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/services.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->startSection('paralax');
- //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Our Services');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="white bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Services');
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Service');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '2')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- // icon / number / description
- //TODO
- //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
- $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
- ->addParam('data-autofilter', 'font-awesome');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $descriptionDefault = 'On the other hand, we denounce with righteo us indignation and dislike men who are so asure of the moment.';
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # SERVICES END
- ################################################################################
- ################################################################################
- # SOCIAL START
- ################################################################################
- $s->startSection('social', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Social & Address')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/social-address.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'social-links', 'Social Links', '');
- $addressDefault = '';
- $addressDefault .= '<p>0567 - 123 - 456 & <a href="mailto:support@goldeyestheme.com" class="bold dark">support@goldeyestheme.com</a></p>'. "\n";
- $addressDefault .= '<p>1234 Street Name, <span class="bold colored">City Name</span></p>'. "\n";
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'address', 'Address', $addressDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # SOCIAL END
- ################################################################################
- ################################################################################
- # TEAM START
- ################################################################################
- $s->startSection('team', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Team')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/team.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygens </span> Creative Team');
- $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and by the <span class="dark bold">charms</span> of pleasure of the moment, so blinded by desire, that they cannot foresee the pain';
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Team Members');
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Team Member');
- $s->startSection('bs-breakpoints');
- $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
- $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '4')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
- ->addSelectValues($breakPoints);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- // icon / number / description
- //TODO
- $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Photo');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'name', 'Name', 'Julia Amanda');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'position', 'Position', 'Photographer');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'It is a long established fact that a reader will be distracted by the readable content.');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXTAREA, 'social-links', 'Social Links', '');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # TEAM END
- ################################################################################
- ################################################################################
- # TESTIMONIALS START
- ################################################################################
- $s->startSection('testimonials', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Testimonials')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/testimonials.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Testimonials');
- $s->startSection('paralax');
- //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
- $s->addOption( ffOneOption::TYPE_CHECKBOX, 'transparent', 'Keep transparent', 0);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->endSection();
- $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
- $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Testimonial');
- $testimonialDefault = 'Informed decision-making comes from a long tradition of <span class="colored"> guessing and</span> then blaming <span class="colored"> others</span> for inadequate results.';
- $s->addOption(ffOneOption::TYPE_TEXTAREA, 'testimonial','Testimonial', $testimonialDefault);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_TEXT, 'author', 'Author', 'scott adams');
- $s->endSection();
- $s->endSection();
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # TESTIMONIALS END
- ################################################################################
- ################################################################################
- # VIDEO START
- ################################################################################
- $s->startSection('video', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Video')->addParam('hide-default', true);
- $s->addElement( ffOneElement::TYPE_TABLE_START );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
- $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/video.jpg">');
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- require dirname(__FILE__).'/part-section-id.php';
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
- $s->addOption(ffOneOption::TYPE_IMAGE,'logo', '', '', 'Logo Image');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'description', 'Description', 'Keep in touch');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'url', 'URL link', '#contact');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption( ffOneOption::TYPE_CHECKBOX, 'transparent', 'Keep transparent', 0);
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addOption(ffOneOption::TYPE_TEXT, 'youtube', 'YouTube/Vimeo video URL', 'http://www.youtube.com/watch?v=K3YxqjUvu1M');
- $s->addElement( ffOneElement::TYPE_NEW_LINE );
- $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
- $s->addElement( ffOneElement::TYPE_TABLE_END );
- $s->endSection();
- ################################################################################
- # VIDEO END
- ################################################################################
- $s->endSection();
- return $s;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement