public function getOptions() { $s = $this->_getOnestructurefactory()->createOneStructure('aaa'); $s->startSection('general'); $s->addElement(ffOneElement::TYPE_TABLE_START); ff_load_section_options('section-settings-block', $s); ff_load_section_options('section-background-block', $s); $s->startSection('page-title'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Heading Title'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show-title', 'Show Title ', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'is-custom-title', 'Use custom ', 0); $s->addOption(ffOneOption::TYPE_TEXT, 'title', '', 'Custom Page Title'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Subheading'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show-description', 'Show Description', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'description-style', 'Description style', 'lead')->addSelectValue('Smaller', '')->addSelectValue('Bigger', 'lead'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', '', 'This is a sub-title placeholder, you can put your page description here.'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->endSection(); $s->startSection('breadcrumbs'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Breadcrumbs'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'before', 'Text before', 'You are here: '); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); return $s; }
public function getOptions() { $s = $this->_getOnestructurefactory()->createOneStructure('aaa'); $s->startSection('general'); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Front Image'); $s->startSection('image'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'fullwidth', 'Front image is fulwidth (overlays sidebar)', 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Sidebar'); $s->startSection('sidebar'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show sidebar', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->startSection('items', ffOneSection::TYPE_REPEATABLE_VARIABLE); $s->startSection('about', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'About'); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'About Project'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $text = '<p>Culpa eu et pariatur tempor est aliquip qui anim enim culpa magna laboris sint aliqua ad excepteur mollit.</p>'; $s->addOption(ffOneOption::TYPE_TEXTAREA, 'text', 'Text', $text); $s->endSection(); $s->startSection('tools', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Tools'); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Tools Used'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->startSection('skills', ffOneSection::TYPE_REPEATABLE_VARIABLE); $s->startSection('one-skill', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Skill'); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Photoshop'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'percentage', 'Percentage', '75'); $s->endSection(); $s->endSection(); $s->endSection(); $s->startSection('details', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Project Details'); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Project Details'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->startSection('details', ffOneSection::TYPE_REPEATABLE_VARIABLE); $s->startSection('one-detail', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Detail'); $s->addOption(ffOneOption::TYPE_ICON, 'icon', 'Icon', ''); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'type', 'Type', 'Client'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'value', 'Value', 'Google, Inc'); $s->endSection(); $s->endSection(); ff_load_section_options('buttons-block', $s); $s->endSection(); $s->endSection(); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Related Projects'); $s->startSection('related-projects'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show Related Projects', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); return $s; }
<?php /**********************************************************************************************************************/ /* Twitter sections /**********************************************************************************************************************/ $s->startSection('twitter', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Twitter')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('twitter')); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview'); $s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('twitter') . '" width="250">'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); // ff_load_section_options('section-settings-block', $s); // // ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Twitter'); $s->startSection('fw_twitter'); $s->addOption(ffOneOption::TYPE_TEXT, 'username', 'Username', '_freshface'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'number-of-tweets', 'Number of Tweets', '5'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'caching-time-in-minutes', 'Caching time in minutes', '60'); $s->addElement(ffOneElement::TYPE_NEW_LINE); // $this->_auth['consumerKey'], $this->_auth['consumerSecret'], $this->_auth['accessToken'], $this->_auth['accessTokenSecret'] $s->addOption(ffOneOption::TYPE_TEXT, 'consumer-key', 'Consumer Key'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'consumer-secret', 'Consumer Secret'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'access-token', 'Access Token'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'access-token-secret', 'Access Token Secret'); $s->addElement(ffOneElement::TYPE_NEW_LINE);
$s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'validation-message-minlength', 'Validation Message (minlength)', 'At least {0} characters required'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'message-send-ok', 'Message has been sent', 'Your message was successfully sent!'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'message-send-wrong', 'Message has NOT been sent', 'There was an error sending the message!'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Description'); $s->startSection('description'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->startSection('description-boxes', ffOneSection::TYPE_REPEATABLE_VARIABLE); $s->startSection('one-box', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Box'); ff_load_section_options('bootstrap-columns-block', $s, array('sm' => 4)); $s->startSection('lines', ffOneSection::TYPE_REPEATABLE_VARIABLE); $s->startSection('one-heading', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Heading'); $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Address'); $s->endSection(); $s->startSection('one-line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Text Line'); $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '1713 Hide A Way Road'); $s->endSection(); $s->startSection('one-email', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Email'); $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '*****@*****.**'); $s->endSection(); $s->endSection(); $s->endSection(); $s->endSection(); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
/**********************************************************************************************************************/ $s->startSection('boxed'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Boxed Wrapper'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'apply', 'Apply settings below', 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'width-type', 'Width Value', 'from-input')->addSelectValue('Fullwidth', 'fullwidth')->addSelectValue('Set Below', 'from-input'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'maxwidth', 'Max-width in px', '1170'); $s->addElement(ffOneElement::TYPE_HTML, '', ' <span class="description">Max width of the boxed div, default is 1170</span>'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'padding-top', 'Padding top (px)', 'default')->addSelectValue('Default', 'default')->addSelectValue('0', '0')->addSelectNumberRange(5, 250, 5); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'padding-bottom', 'Padding bottom (px)', 'default')->addSelectValue('Default', 'default')->addSelectValue('0', '0')->addSelectNumberRange(5, 250, 5); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Background'); $s->startSection('background'); ff_load_section_options('section-background-block', $s); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->endSection(); $s->startSection('container'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Container Wrapper'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'apply', 'Apply settings below', 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'type', 'Type', 'not')->addSelectValue('Container', 'not')->addSelectValue('Container Fluid', 'fluid')->addSelectValue('Container Fullwidth', 'fullwidth'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'is-fulscreen', 'Is Fullscreen section', 0); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->addElement(ffOneElement::TYPE_TOGGLE_BOX_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END);
<?php /** @var $s ffOneStructure */ ################################################################################ # PRICING MODELS START ################################################################################ $s->startSection('heading', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Heading')->addParam('hide-default', false)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('heading')); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview'); $s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('heading') . '" width="250">'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); ff_load_section_options('section-settings-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General'); $s->startSection('heading'); ff_load_section_options('heading-wrapped-block', $s); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); ################################################################################ # PRICING MODELS END ################################################################################
/** @var ffOneStructure $s */ $s->startSection('blog-archive-masonry', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Blog Archive Masonry')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Blog')->addParam('advanced-picker-menu-id', 'blog')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('blog-archive-masonry')); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview'); $s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('blog-archive-masonry') . '" width="250">'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); ff_load_section_options('section-settings-block', $s); // // ff_load_section_options( '/templates/onePage/blocks/section-settings-block.php', $s); // // ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s); ff_load_section_options('blog-meta-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General'); $s->addOption(ffOneOption::TYPE_SELECT, 'number-of-columns', 'Number of columns', 3)->addSelectNumberRange(1, 5); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'number-of-posts', 'Number of posts', '0'); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'Set how many posts should be rendered. This does not influence WP loop (use our Fresh Custom Loops plugin for that)'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'readmore-show', 'Show Read More', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'readmore-trans', 'Read More', 'Read More'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Categories'); ff_load_section_options('loop-influence-post-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Pagination'); ff_load_section_options('pagination-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection();
$s->startSection('box-left'); ff_load_section_options('animation-block', $s); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_ICON, 'icon', 'Icon', ''); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Developement'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'url', 'Url', '#'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Box with icons on the right side'); $s->startSection('box-right'); ff_load_section_options('animation-block', $s); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_ICON, 'icon', 'Icon', ''); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Developement'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'url', 'Url', '#'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); ################################################################################ # BOXES WITH ICONS END
<?php /** @var $s ffOneStructure */ ################################################################################ # PRICING MODELS START ################################################################################ $s->startSection('project-box', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Project box')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Common')->addParam('advanced-picker-menu-id', 'common')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('project-box')); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview'); $s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('project-box') . '" width="250">'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); ff_load_section_options('section-settings-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General'); $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Main section image'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Content'); $s->startSection('content'); ff_load_section_options('heading-content-block', $s); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); ################################################################################ # PRICING MODELS END ################################################################################
<?php $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Icon'); $s->addOption(ffOneOption::TYPE_ICON, 'icon', '', ''); $s->addElement(ffOneElement::TYPE_NEW_LINE); ff_load_section_options('color-attr', $s, array('name' => 'icon-background', 'title' => 'Background', 'default' => 'blue')); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'icon-size', 'Size', '')->addSelectValue('Small', 'small')->addSelectValue('Default', '')->addSelectValue('Medium', 'medium')->addSelectValue('Large', 'large'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'shape', 'Shape', 'circle')->addSelectValue('No Shape, just icon', '')->addSelectValue('Circle', 'circle')->addSelectValue('Square', 'square'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Text'); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'Global Company')->addParam('class', 'edit-repeatable-item-title'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_SELECT, 'title-size', 'Title Size', '4')->addSelectValue('Small h5', '5')->addSelectValue('Default h4', '4')->addSelectValue('Medium h3', '3')->addSelectValue('Large h2', '2'); $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Lorem ipsum Eu tempor anim Excepteur consectetur cillum tempor id exercitation nostrud do consequat sunt in consectetur commodo in exercitation.'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Button'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show-button', 'Show button', 1); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); ff_load_section_options('button-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_END);
/**********************************************************************************************************************/ /** @var ffOneStructure $s */ $s->startSection('blog-single', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Blog Single')->addParam('hide-default', true)->addParam('advanced-picker-menu-title', 'Blog')->addParam('advanced-picker-menu-id', 'blog')->addParam('advanced-picker-section-image', ff_get_section_preview_image_url('blog-single')); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview'); $s->addElement(ffOneElement::TYPE_HTML, '', '<img src="' . ff_get_section_preview_image_url('blog-single') . '" width="250">'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); // // ff_load_section_options( '/templates/onePage/blocks/section-settings-block.php', $s); // // ff_load_section_options( '/templates/onePage/blocks/section-background-block.php', $s); ff_load_section_options('blog-meta-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Author Box'); $s->startSection('author-box'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show author box', 1); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'title', 'Title', 'About the Author'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Sidebar'); $s->addOption(ffOneOption::TYPE_SELECT, 'sidebar', 'Sidebar', 'right')->addSelectValue('None', 'none')->addSelectValue('Left', 'left')->addSelectValue('Right', 'right'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Comments List'); ff_load_section_options('comments-list-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Comments Form'); ff_load_section_options('comments-form-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection();
public function getOptions() { $s = $this->_getOnestructurefactory()->createOneStructure(ffThemeContainer::OPTIONS_NAME); $s->startSection(ffThemeContainer::OPTIONS_NAME, ffOneSection::TYPE_NORMAL); //////////////////////////////////////////////////////////////////////////////// // LAYOUT //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '<div class="ff-theme-mix-admin-tab-layout ff-theme-mix-admin-tab-content">'); $s->startSection('layout'); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Layout'); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->startSection('default'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Default Layout'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'header', 'Show Default header', 1); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'which could be overwritten in Layouts section'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'header-logo-use', 'Use this header logo', 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_IMAGE, 'header-logo', 'Header Logo'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'content', 'Show Default content', 1); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'which could be overwritten in Layouts section'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'footer', 'Show Default footer', 1); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'which could be overwritten in Layouts section'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Scroll to top'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'scroll-to-top', 'Show Scroll to top button', 1); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Color Accent'); $this->skinOption($s, 'accent', 'default', array('default', 'yellow', 'green', 'blue')); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'use-picker', 'Use color below', 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addOption(ffOneOption::TYPE_TEXT, 'color', 'Use this accent', '#FFFFFF')->addParam('class', 'ff-default-wp-color-picker'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Style'); $s->addOption(ffOneOption::TYPE_CHECKBOX, 'boxed-layout', 'Use boxed style'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Background'); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', 'Background is used only when you use boxed style.'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->startSection('background'); ff_load_section_options('section-background-block', $s); $s->endSection(); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '</div>'); //////////////////////////////////////////////////////////////////////////////// // TRANSLATIONS //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '<div class="ff-theme-mix-admin-tab-translation ff-theme-mix-admin-tab-content">'); $s->startSection('translation'); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Translation'); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'General Info'); $translationDescription = 'Please translate comment form for PAGE only. All other translations could be found and done via Layouts'; $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', $translationDescription); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Comment Form'); ff_load_section_options('comments-form-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Comments List'); ff_load_section_options('comments-list-block', $s); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '</div>'); //////////////////////////////////////////////////////////////////////////////// // FONTS //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '<div class="ff-theme-mix-admin-tab-fonts ff-theme-mix-admin-tab-content">'); $s->startSection('font'); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Fonts'); $s->addElement(ffOneElement::TYPE_TABLE_START); $font_types = array('body' => "'Open Sans'", 'headers' => "'Open Sans'", 'inputs' => "'Open Sans'", 'code' => "'Courier New', Courier, monospace"); foreach ($font_types as $title => $default) { $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', ucfirst($title)); $s->addOption(ffOneOption::TYPE_FONT, $title, 'Family ', $default); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); } $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '</div>'); //////////////////////////////////////////////////////////////////////////////// // ICON FONTS //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '<div class="ff-theme-mix-admin-tab-iconfonts ff-theme-mix-admin-tab-content">'); $s->startSection('iconfont'); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Fonts'); $s->addElement(ffOneElement::TYPE_TABLE_START); $iconfont_examples = array('brandico' => '<i class="ff-font-brandico icon-facebook"></i><i class="ff-font-brandico icon-facebook-rect"></i><i class="ff-font-brandico icon-twitter"></i><i class="ff-font-brandico icon-twitter-bird"></i><i class="ff-font-brandico icon-vimeo"></i><i class="ff-font-brandico icon-vimeo-rect"></i><i class="ff-font-brandico icon-tumblr"></i><i class="ff-font-brandico icon-tumblr-rect"></i><i class="ff-font-brandico icon-googleplus-rect"></i><i class="ff-font-brandico icon-github-text"></i><i class="ff-font-brandico icon-github"></i><i class="ff-font-brandico icon-skype"></i><i class="ff-font-brandico icon-icq"></i><i class="ff-font-brandico icon-yandex"></i><i class="ff-font-brandico icon-yandex-rect"></i><i class="ff-font-brandico icon-vkontakte-rect"></i><i class="ff-font-brandico icon-odnoklassniki"></i><i class="ff-font-brandico icon-odnoklassniki-rect"></i><i class="ff-font-brandico icon-friendfeed"></i><i class="ff-font-brandico icon-friendfeed-rect"></i>', 'elusive' => '<i class="ff-font-elusive icon-glass"></i><i class="ff-font-elusive icon-music"></i><i class="ff-font-elusive icon-search"></i><i class="ff-font-elusive icon-search-circled"></i><i class="ff-font-elusive icon-mail"></i><i class="ff-font-elusive icon-mail-circled"></i><i class="ff-font-elusive icon-heart"></i><i class="ff-font-elusive icon-heart-circled"></i><i class="ff-font-elusive icon-heart-empty"></i><i class="ff-font-elusive icon-star"></i><i class="ff-font-elusive icon-star-circled"></i><i class="ff-font-elusive icon-star-empty"></i><i class="ff-font-elusive icon-user"></i><i class="ff-font-elusive icon-group"></i><i class="ff-font-elusive icon-group-circled"></i><i class="ff-font-elusive icon-torso"></i><i class="ff-font-elusive icon-video"></i><i class="ff-font-elusive icon-video-circled"></i><i class="ff-font-elusive icon-video-alt"></i><i class="ff-font-elusive icon-videocam"></i>', 'entypo' => '<i class="ff-font-entypo icon-note"></i><i class="ff-font-entypo icon-note-beamed"></i><i class="ff-font-entypo icon-music"></i><i class="ff-font-entypo icon-search"></i><i class="ff-font-entypo icon-flashlight"></i><i class="ff-font-entypo icon-mail"></i><i class="ff-font-entypo icon-heart"></i><i class="ff-font-entypo icon-heart-empty"></i><i class="ff-font-entypo icon-star"></i><i class="ff-font-entypo icon-star-empty"></i><i class="ff-font-entypo icon-user"></i><i class="ff-font-entypo icon-users"></i><i class="ff-font-entypo icon-user-add"></i><i class="ff-font-entypo icon-video"></i><i class="ff-font-entypo icon-picture"></i><i class="ff-font-entypo icon-camera"></i><i class="ff-font-entypo icon-layout"></i><i class="ff-font-entypo icon-menu"></i><i class="ff-font-entypo icon-check"></i><i class="ff-font-entypo icon-cancel"></i>', 'fontelico' => '<i class="ff-font-fontelico icon-emo-happy"></i><i class="ff-font-fontelico icon-emo-wink"></i><i class="ff-font-fontelico icon-emo-wink2"></i><i class="ff-font-fontelico icon-emo-unhappy"></i><i class="ff-font-fontelico icon-emo-sleep"></i><i class="ff-font-fontelico icon-emo-thumbsup"></i><i class="ff-font-fontelico icon-emo-devil"></i><i class="ff-font-fontelico icon-emo-surprised"></i><i class="ff-font-fontelico icon-emo-tongue"></i><i class="ff-font-fontelico icon-emo-coffee"></i><i class="ff-font-fontelico icon-emo-sunglasses"></i><i class="ff-font-fontelico icon-emo-displeased"></i><i class="ff-font-fontelico icon-emo-beer"></i><i class="ff-font-fontelico icon-emo-grin"></i><i class="ff-font-fontelico icon-emo-angry"></i><i class="ff-font-fontelico icon-emo-saint"></i><i class="ff-font-fontelico icon-emo-cry"></i><i class="ff-font-fontelico icon-emo-shoot"></i><i class="ff-font-fontelico icon-emo-squint"></i><i class="ff-font-fontelico icon-emo-laugh"></i>', 'iconic' => '<i class="ff-font-iconic icon-search"></i><i class="ff-font-iconic icon-mail"></i><i class="ff-font-iconic icon-heart"></i><i class="ff-font-iconic icon-heart-empty"></i><i class="ff-font-iconic icon-star"></i><i class="ff-font-iconic icon-user"></i><i class="ff-font-iconic icon-video"></i><i class="ff-font-iconic icon-picture"></i><i class="ff-font-iconic icon-camera"></i><i class="ff-font-iconic icon-ok"></i><i class="ff-font-iconic icon-ok-circle"></i><i class="ff-font-iconic icon-cancel"></i><i class="ff-font-iconic icon-cancel-circle"></i><i class="ff-font-iconic icon-plus"></i><i class="ff-font-iconic icon-plus-circle"></i><i class="ff-font-iconic icon-minus"></i><i class="ff-font-iconic icon-minus-circle"></i><i class="ff-font-iconic icon-help"></i><i class="ff-font-iconic icon-info"></i><i class="ff-font-iconic icon-home"></i>', 'linecons' => '<i class="ff-font-linecons icon-music"></i><i class="ff-font-linecons icon-search"></i><i class="ff-font-linecons icon-mail"></i><i class="ff-font-linecons icon-heart"></i><i class="ff-font-linecons icon-star"></i><i class="ff-font-linecons icon-user"></i><i class="ff-font-linecons icon-videocam"></i><i class="ff-font-linecons icon-camera"></i><i class="ff-font-linecons icon-photo"></i><i class="ff-font-linecons icon-attach"></i><i class="ff-font-linecons icon-lock"></i><i class="ff-font-linecons icon-eye"></i><i class="ff-font-linecons icon-tag"></i><i class="ff-font-linecons icon-thumbs-up"></i><i class="ff-font-linecons icon-pencil"></i><i class="ff-font-linecons icon-comment"></i><i class="ff-font-linecons icon-location"></i><i class="ff-font-linecons icon-cup"></i><i class="ff-font-linecons icon-trash"></i><i class="ff-font-linecons icon-doc"></i>', 'maki' => '<i class="ff-font-maki icon-aboveground-rail"></i><i class="ff-font-maki icon-airfield"></i><i class="ff-font-maki icon-airport"></i><i class="ff-font-maki icon-art-gallery"></i><i class="ff-font-maki icon-bar"></i><i class="ff-font-maki icon-baseball"></i><i class="ff-font-maki icon-basketball"></i><i class="ff-font-maki icon-beer"></i><i class="ff-font-maki icon-belowground-rail"></i><i class="ff-font-maki icon-bicycle"></i><i class="ff-font-maki icon-bus"></i><i class="ff-font-maki icon-cafe"></i><i class="ff-font-maki icon-campsite"></i><i class="ff-font-maki icon-cemetery"></i><i class="ff-font-maki icon-cinema"></i><i class="ff-font-maki icon-college"></i><i class="ff-font-maki icon-commerical-building"></i><i class="ff-font-maki icon-credit-card"></i><i class="ff-font-maki icon-cricket"></i><i class="ff-font-maki icon-embassy"></i>', 'meteocons' => '<i class="ff-font-meteocons icon-windy-rain-inv"></i><i class="ff-font-meteocons icon-snow-inv"></i><i class="ff-font-meteocons icon-snow-heavy-inv"></i><i class="ff-font-meteocons icon-hail-inv"></i><i class="ff-font-meteocons icon-clouds-inv"></i><i class="ff-font-meteocons icon-clouds-flash-inv"></i><i class="ff-font-meteocons icon-temperature"></i><i class="ff-font-meteocons icon-compass"></i><i class="ff-font-meteocons icon-na"></i><i class="ff-font-meteocons icon-celcius"></i><i class="ff-font-meteocons icon-fahrenheit"></i><i class="ff-font-meteocons icon-clouds-flash-alt"></i><i class="ff-font-meteocons icon-sun-inv"></i><i class="ff-font-meteocons icon-moon-inv"></i><i class="ff-font-meteocons icon-cloud-sun-inv"></i><i class="ff-font-meteocons icon-cloud-moon-inv"></i><i class="ff-font-meteocons icon-cloud-inv"></i><i class="ff-font-meteocons icon-cloud-flash-inv"></i><i class="ff-font-meteocons icon-drizzle-inv"></i><i class="ff-font-meteocons icon-rain-inv"></i>', 'mfglabs' => '<i class="ff-font-mfglabs icon-search"></i><i class="ff-font-mfglabs icon-mail"></i><i class="ff-font-mfglabs icon-heart"></i><i class="ff-font-mfglabs icon-heart-broken"></i><i class="ff-font-mfglabs icon-star"></i><i class="ff-font-mfglabs icon-star-empty"></i><i class="ff-font-mfglabs icon-star-half"></i><i class="ff-font-mfglabs icon-star-half_empty"></i><i class="ff-font-mfglabs icon-user"></i><i class="ff-font-mfglabs icon-user-male"></i><i class="ff-font-mfglabs icon-user-female"></i><i class="ff-font-mfglabs icon-users"></i><i class="ff-font-mfglabs icon-movie"></i><i class="ff-font-mfglabs icon-videocam"></i><i class="ff-font-mfglabs icon-isight"></i><i class="ff-font-mfglabs icon-camera"></i><i class="ff-font-mfglabs icon-menu"></i><i class="ff-font-mfglabs icon-th-thumb"></i><i class="ff-font-mfglabs icon-th-thumb-empty"></i><i class="ff-font-mfglabs icon-th-list"></i>', 'modernpics' => '<i class="ff-font-modernpics icon-search"></i><i class="ff-font-modernpics icon-mail"></i><i class="ff-font-modernpics icon-heart"></i><i class="ff-font-modernpics icon-star"></i><i class="ff-font-modernpics icon-user"></i><i class="ff-font-modernpics icon-user-woman"></i><i class="ff-font-modernpics icon-user-pair"></i><i class="ff-font-modernpics icon-video-alt"></i><i class="ff-font-modernpics icon-videocam"></i><i class="ff-font-modernpics icon-videocam-alt"></i><i class="ff-font-modernpics icon-camera"></i><i class="ff-font-modernpics icon-th"></i><i class="ff-font-modernpics icon-th-list"></i><i class="ff-font-modernpics icon-ok"></i><i class="ff-font-modernpics icon-cancel"></i><i class="ff-font-modernpics icon-cancel-circle"></i><i class="ff-font-modernpics icon-plus"></i><i class="ff-font-modernpics icon-home"></i><i class="ff-font-modernpics icon-lock"></i><i class="ff-font-modernpics icon-lock-open"></i>', 'typicons' => '<i class="ff-font-typicons icon-music-outline"></i><i class="ff-font-typicons icon-music"></i><i class="ff-font-typicons icon-search-outline"></i><i class="ff-font-typicons icon-search"></i><i class="ff-font-typicons icon-mail"></i><i class="ff-font-typicons icon-heart"></i><i class="ff-font-typicons icon-heart-filled"></i><i class="ff-font-typicons icon-star"></i><i class="ff-font-typicons icon-star-filled"></i><i class="ff-font-typicons icon-user-outline"></i><i class="ff-font-typicons icon-user"></i><i class="ff-font-typicons icon-users-outline"></i><i class="ff-font-typicons icon-users"></i><i class="ff-font-typicons icon-user-add-outline"></i><i class="ff-font-typicons icon-user-add"></i><i class="ff-font-typicons icon-user-delete-outline"></i><i class="ff-font-typicons icon-user-delete"></i><i class="ff-font-typicons icon-video"></i><i class="ff-font-typicons icon-videocam-outline"></i><i class="ff-font-typicons icon-videocam"></i>', 'simple line icons' => '<i class="ff-font-simple-line-icons icon-user-female"></i><i class="ff-font-simple-line-icons icon-user-follow"></i><i class="ff-font-simple-line-icons icon-user-following"></i><i class="ff-font-simple-line-icons icon-user-unfollow"></i><i class="ff-font-simple-line-icons icon-trophy"></i><i class="ff-font-simple-line-icons icon-screen-smartphone"></i><i class="ff-font-simple-line-icons icon-screen-desktop"></i><i class="ff-font-simple-line-icons icon-plane"></i><i class="ff-font-simple-line-icons icon-notebook"></i><i class="ff-font-simple-line-icons icon-moustache"></i><i class="ff-font-simple-line-icons icon-mouse"></i><i class="ff-font-simple-line-icons icon-magnet"></i><i class="ff-font-simple-line-icons icon-energy"></i><i class="ff-font-simple-line-icons icon-emoticon-smile active"></i><i class="ff-font-simple-line-icons icon-disc"></i><i class="ff-font-simple-line-icons icon-cursor-move"></i><i class="ff-font-simple-line-icons icon-crop"></i><i class="ff-font-simple-line-icons icon-credit-card"></i><i class="ff-font-simple-line-icons icon-chemistry"></i><i class="ff-font-simple-line-icons icon-user"></i>', 'weathercons' => '<i class="ff-font-weathercons icon-day-cloudy-gusts"></i><i class="ff-font-weathercons icon-day-cloudy-windy"></i><i class="ff-font-weathercons icon-day-cloudy"></i><i class="ff-font-weathercons icon-day-fog"></i><i class="ff-font-weathercons icon-day-hail"></i><i class="ff-font-weathercons icon-day-lightning"></i><i class="ff-font-weathercons icon-day-rain-mix"></i><i class="ff-font-weathercons icon-day-rain-wind"></i><i class="ff-font-weathercons icon-day-rain"></i><i class="ff-font-weathercons icon-day-showers"></i><i class="ff-font-weathercons icon-day-snow"></i><i class="ff-font-weathercons icon-day-sprinkle"></i><i class="ff-font-weathercons icon-day-sunny-overcast"></i><i class="ff-font-weathercons icon-day-sunny"></i><i class="ff-font-weathercons icon-day-storm-showers"></i><i class="ff-font-weathercons icon-day-thunderstorm"></i><i class="ff-font-weathercons icon-cloudy-gusts"></i><i class="ff-font-weathercons icon-cloudy-windy"></i><i class="ff-font-weathercons icon-cloudy"></i><i class="ff-font-weathercons icon-fog"></i>', 'websymbols' => '<i class="ff-font-websymbols icon-search"></i><i class="ff-font-websymbols icon-mail"></i><i class="ff-font-websymbols icon-heart"></i><i class="ff-font-websymbols icon-heart-empty"></i><i class="ff-font-websymbols icon-star"></i><i class="ff-font-websymbols icon-user"></i><i class="ff-font-websymbols icon-video"></i><i class="ff-font-websymbols icon-picture"></i><i class="ff-font-websymbols icon-th-large"></i><i class="ff-font-websymbols icon-th"></i><i class="ff-font-websymbols icon-th-list"></i><i class="ff-font-websymbols icon-ok"></i><i class="ff-font-websymbols icon-ok-circle"></i><i class="ff-font-websymbols icon-cancel"></i><i class="ff-font-websymbols icon-cancel-circle"></i><i class="ff-font-websymbols icon-plus-circle"></i><i class="ff-font-websymbols icon-minus-circle"></i><i class="ff-font-websymbols icon-link"></i><i class="ff-font-websymbols icon-attach"></i><i class="ff-font-websymbols icon-lock"></i>', 'zocial' => '<i class="ff-font-zocial icon-duckduckgo"></i><i class="ff-font-zocial icon-aim"></i><i class="ff-font-zocial icon-delicious"></i><i class="ff-font-zocial icon-paypal"></i><i class="ff-font-zocial icon-flattr"></i><i class="ff-font-zocial icon-android"></i><i class="ff-font-zocial icon-eventful"></i><i class="ff-font-zocial icon-smashmag"></i><i class="ff-font-zocial icon-gplus"></i><i class="ff-font-zocial icon-wikipedia"></i><i class="ff-font-zocial icon-lanyrd"></i><i class="ff-font-zocial icon-calendar"></i><i class="ff-font-zocial icon-stumbleupon"></i><i class="ff-font-zocial icon-fivehundredpx"></i><i class="ff-font-zocial icon-pinterest"></i><i class="ff-font-zocial icon-bitcoin"></i><i class="ff-font-zocial icon-w3c"></i><i class="ff-font-zocial icon-foursquare"></i><i class="ff-font-zocial icon-html5"></i><i class="ff-font-zocial icon-ie"></i>'); // Options foreach ($iconfont_examples as $name => $path) { $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', ucfirst($name)); $s->addOption(ffOneOption::TYPE_CHECKBOX, str_replace(' ', '_', $name), 'Enable font ' . ucfirst($name), 0); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_DESCRIPTION, '', $iconfont_examples[$name]); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); } $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '</div>'); //////////////////////////////////////////////////////////////////////////////// // PORTFOLIO //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '<div class="ff-theme-mix-admin-tab-portfolio ff-theme-mix-admin-tab-content">'); $s->startSection('portfolio'); $s->addElement(ffOneElement::TYPE_HEADING, '', 'Portfolio Slugs'); $s->addElement(ffOneElement::TYPE_TABLE_START); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Portfolio post'); $s->addOption(ffOneOption::TYPE_TEXT, 'portfolio_slug', 'Slug', 'ff-portfolio'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Portfolio Category'); $s->addOption(ffOneOption::TYPE_TEXT, 'portfolio_category_slug', 'Slug', 'ff-portfolio-category'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_DATA_START, '', 'Portfolio Tag'); $s->addOption(ffOneOption::TYPE_TEXT, 'portfolio_tag_slug', 'Slug', 'ff-portfolio-tag'); $s->addElement(ffOneElement::TYPE_TABLE_DATA_END); $s->addElement(ffOneElement::TYPE_TABLE_END); $s->endSection(); //////////////////////////////////////////////////////////////////////////////// // SAVE //////////////////////////////////////////////////////////////////////////////// $s->addElement(ffOneElement::TYPE_HTML, 'TYPE_HTML', '</div>'); $s->addElement(ffOneElement::TYPE_NEW_LINE); $s->addElement(ffOneElement::TYPE_BUTTON_PRIMARY, 'Save', 'Save Changes'); $s->endSection(); return $s; }
//////////////////////////////////////////////////////////////////////////////////////////////// ff_load_section_options('navigation-section', $s); ff_load_section_options('revslider-section', $s); ff_load_section_options('title-and-breadcrumbs-section', $s); //////////////////////////////////////////////////////////////////////////////////////////////// // Blog //////////////////////////////////////////////////////////////////////////////////////////////// ff_load_section_options('blog-archive-classic-section', $s); ff_load_section_options('blog-archive-masonry-section', $s); ff_load_section_options('blog-single-section', $s); ff_load_section_options('blog-archive-columns-section', $s); //////////////////////////////////////////////////////////////////////////////////////////////// // Portfolio //////////////////////////////////////////////////////////////////////////////////////////////// ff_load_section_options('portfolio-archive-classic-section', $s); ff_load_section_options('portfolio-archive-filterable-1-section', $s); ff_load_section_options('portfolio-archive-filterable-2-section', $s); ff_load_section_options('portfolio-archive-parallax-section', $s); //////////////////////////////////////////////////////////////////////////////////////////////// // Footer //////////////////////////////////////////////////////////////////////////////////////////////// ff_load_section_options('footer-social-section', $s); ff_load_section_options('footer-widgets-section', $s); ff_load_section_options('footer-bottom-section', $s); //////////////////////////////////////////////////////////////////////////////////////////////// // Special //////////////////////////////////////////////////////////////////////////////////////////////// ff_load_section_options('page-not-found-section', $s); ff_load_section_options('page-section', $s); ff_load_section_options('html-section', $s);