Advertisement
Guest User

Untitled

a guest
May 25th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.70 KB | None | 0 0
  1. <?php
  2.  
  3. class ffComponent_OxygenTheme_OnePageOptions extends ffOptionsHolder {
  4. public function getOptions() {
  5.  
  6. $breakPoints = array();
  7. $breakPoints[] = array('name'=>'None', 'value'=>'none');
  8. $breakPoints[] = array('name'=>'1', 'value'=>'1');
  9. $breakPoints[] = array('name'=>'2', 'value'=>'2');
  10. $breakPoints[] = array('name'=>'3', 'value'=>'3');
  11. $breakPoints[] = array('name'=>'4', 'value'=>'4');
  12. $breakPoints[] = array('name'=>'5', 'value'=>'5');
  13. $breakPoints[] = array('name'=>'6', 'value'=>'6');
  14. $breakPoints[] = array('name'=>'7', 'value'=>'7');
  15. $breakPoints[] = array('name'=>'8', 'value'=>'8');
  16. $breakPoints[] = array('name'=>'9', 'value'=>'9');
  17. $breakPoints[] = array('name'=>'10', 'value'=>'10');
  18. $breakPoints[] = array('name'=>'11', 'value'=>'11');
  19. $breakPoints[] = array('name'=>'12', 'value'=>'12');
  20.  
  21. $s = $this->_getOnestructurefactory()->createOneStructure( 'aaa');
  22.  
  23. $sectionPricing = $this->_getOptionsholderfactory()->createOptionsHolder('ffComponent_OnePage_SectionPricing');
  24. $sectionFunFacts = $this->_getOptionsholderfactory()->createOptionsHolder('ffComponent_OnePage_SectionFunFacts');
  25.  
  26. $s->startSection('sections', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  27.  
  28. ################################################################################
  29. # HOME-MENU-ONLY START
  30. ################################################################################
  31. $s->startSection('home-menu-only', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Menu Only');
  32. $s->addElement( ffOneElement::TYPE_TABLE_START );
  33. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', '');
  34. $s->addElement(ffOneElement::TYPE_HTML,'','<div style="display:none">');
  35. $s->addOption(ffOneOption::TYPE_TEXT, 'have-to-save-value');
  36. $s->addElement(ffOneElement::TYPE_HTML,'','</div>');
  37. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  38. $s->addElement( ffOneElement::TYPE_TABLE_END );
  39. $s->endSection();
  40.  
  41. ################################################################################
  42. # HOME-1 START
  43. ################################################################################
  44. $s->startSection('home-1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 7 (Image Background)');
  45. $s->addElement( ffOneElement::TYPE_TABLE_START );
  46.  
  47. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  48. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-1.jpg">');
  49. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  50.  
  51. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  52.  
  53. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', 'Background Image');
  54. $s->addOption(ffOneOption::TYPE_CHECKBOX, 'hide-pattern', 'Hide Pattern', 0);
  55. $s->addOption(ffOneOption::TYPE_CHECKBOX, 'background-attachment-fixed', 'Background Image Fixed', 0);
  56.  
  57. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  58. $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
  59. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
  60. $s->endSection();
  61.  
  62.  
  63. $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  64. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
  65. $s->endSection();
  66.  
  67. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  68.  
  69. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  70. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  71. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  72. $s->endSection();
  73. $s->endSection();
  74.  
  75. $s->endSection();
  76.  
  77. $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
  78.  
  79. $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  80. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  81. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
  82. $s->endSection();
  83. $s->endSection();
  84.  
  85. $s->endSection();
  86.  
  87. $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
  88. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
  89. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  90. $s->endSection();
  91.  
  92. $s->endSection();
  93. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  94. $s->addElement( ffOneElement::TYPE_TABLE_END );
  95. $s->endSection();
  96. ################################################################################
  97. # HOME-1 END
  98. ################################################################################
  99.  
  100. ################################################################################
  101. # HOME-2 START
  102. ################################################################################
  103. $s->startSection('home-2', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 6 (Parallax with typo)')->addParam('hide-default', true);
  104. $s->addElement( ffOneElement::TYPE_TABLE_START );
  105.  
  106. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  107. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-2.jpg">');
  108. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  109.  
  110. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  111.  
  112. $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  113. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Slide');
  114. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
  115. $s->endSection();
  116. $s->endSection();
  117.  
  118. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  119.  
  120.  
  121. $s->startSection('text-line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  122. $s->addOption(ffOneOption::TYPE_SELECT, 'type', 'Type', 'h1')
  123. ->addSelectValue('H1', 'h1')
  124. ->addSelectValue('H2', 'h2');
  125.  
  126. $s->addOption(ffOneOption::TYPE_SELECT, 'color', 'Color', 'none')
  127. ->addSelectValue('None', 'none')
  128. ->addSelectValue('Colored', 'colored')
  129. ->addSelectValue('Gray 1', 'gray1')
  130. ->addSelectValue('Gray 2', 'gray2');
  131.  
  132. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now!');
  133. $s->endSection();
  134.  
  135.  
  136.  
  137.  
  138. $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
  139. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
  140. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  141. $s->endSection();
  142.  
  143. $s->endSection();
  144. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  145. $s->addElement( ffOneElement::TYPE_TABLE_END );
  146. $s->endSection();
  147. ################################################################################
  148. # HOME-2 END
  149. ################################################################################
  150.  
  151. ################################################################################
  152. # HOME-3 START
  153. ################################################################################
  154. $s->startSection('home-3', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 4 (Video Background)')->addParam('hide-default', true);
  155. $s->addElement( ffOneElement::TYPE_TABLE_START );
  156.  
  157. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  158. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-3.jpg">');
  159. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  160.  
  161. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  162.  
  163. $s->addOption(ffOneOption::TYPE_TEXT, 'background-video','Background video (youtube)', 'https://www.youtube.com/watch?v=V6_85cSOIcE');
  164. $s->addElement(ffOneElement::TYPE_NEW_LINE);
  165. $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}');
  166.  
  167. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  168. $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
  169. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
  170. $s->endSection();
  171.  
  172.  
  173. $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  174. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
  175. $s->endSection();
  176.  
  177. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  178.  
  179. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  180. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  181. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  182. $s->endSection();
  183. $s->endSection();
  184.  
  185. $s->endSection();
  186.  
  187. $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
  188.  
  189. $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  190. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  191. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
  192. $s->endSection();
  193. $s->endSection();
  194.  
  195. $s->endSection();
  196.  
  197. $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
  198. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
  199. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  200. $s->endSection();
  201.  
  202. $s->endSection();
  203. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  204. $s->addElement( ffOneElement::TYPE_TABLE_END );
  205. $s->endSection();
  206. ################################################################################
  207. # HOME-3 END
  208. ################################################################################
  209.  
  210.  
  211.  
  212. ################################################################################
  213. # HOME-4 START
  214. ################################################################################
  215. $s->startSection('home-4', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 5 (Animated Background)')->addParam('hide-default', true);
  216. $s->addElement( ffOneElement::TYPE_TABLE_START );
  217.  
  218. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  219. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-4.jpg">');
  220. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  221.  
  222. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  223.  
  224. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '');
  225.  
  226. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  227. $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
  228. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
  229. $s->endSection();
  230.  
  231.  
  232. $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  233. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
  234. $s->endSection();
  235.  
  236. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  237.  
  238. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  239. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  240. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  241. $s->endSection();
  242. $s->endSection();
  243.  
  244. $s->endSection();
  245.  
  246. $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
  247.  
  248. $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  249. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  250. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
  251. $s->endSection();
  252. $s->endSection();
  253.  
  254. $s->endSection();
  255.  
  256. $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
  257. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
  258. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  259. $s->endSection();
  260.  
  261. $s->endSection();
  262. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  263. $s->addElement( ffOneElement::TYPE_TABLE_END );
  264. $s->endSection();
  265. ################################################################################
  266. # HOME-4 END
  267. ################################################################################
  268.  
  269. ################################################################################
  270. # HOME-6 START
  271. ################################################################################
  272. $s->startSection('home-6', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 9 (Alt Parallax)')->addParam('hide-default', true);
  273. $s->addElement( ffOneElement::TYPE_TABLE_START );
  274.  
  275. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  276. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-6.jpg">');
  277. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  278.  
  279. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  280.  
  281. $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  282. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Slide');
  283. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
  284. $s->endSection();
  285. $s->endSection();
  286.  
  287. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  288.  
  289.  
  290. $s->startSection('text-line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  291. $s->addOption(ffOneOption::TYPE_SELECT, 'type', 'Type', 'h1')
  292. ->addSelectValue('H1', 'h1')
  293. ->addSelectValue('H2', 'h2');
  294.  
  295. $s->addOption(ffOneOption::TYPE_CHECKBOX, 'is_white', 'White', false);
  296.  
  297. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now!');
  298. $s->endSection();
  299.  
  300. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  301.  
  302. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  303. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  304. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  305. $s->endSection();
  306. $s->endSection();
  307.  
  308. $s->endSection();
  309.  
  310.  
  311. $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
  312. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'Read More');
  313. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  314. $s->endSection();
  315.  
  316. $s->endSection();
  317. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  318. $s->addElement( ffOneElement::TYPE_TABLE_END );
  319. $s->endSection();
  320. ################################################################################
  321. # HOME-6 END
  322. ################################################################################
  323.  
  324.  
  325. ################################################################################
  326. # HOME-7 START
  327. ################################################################################
  328. $s->startSection('home-7', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 10 (Video Background 2)');
  329. $s->addElement( ffOneElement::TYPE_TABLE_START );
  330.  
  331. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  332. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-1.jpg">');
  333. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  334.  
  335. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  336.  
  337. $s->addOption(ffOneOption::TYPE_TEXT, 'background-video','Background video (youtube)', 'https://www.youtube.com/watch?v=V6_85cSOIcE');
  338. $s->addElement(ffOneElement::TYPE_NEW_LINE);
  339. $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}');
  340. $s->addElement(ffOneElement::TYPE_NEW_LINE);
  341. $s->addOption( ffOneOption::TYPE_CHECKBOX, 'show-dark-shadow', 'Dark Shadow', 0);
  342.  
  343. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  344. $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
  345. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
  346. $s->endSection();
  347.  
  348.  
  349. $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  350. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
  351. $s->endSection();
  352.  
  353. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  354.  
  355. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  356. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  357. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  358. $s->endSection();
  359. $s->endSection();
  360.  
  361. $s->endSection();
  362.  
  363. $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
  364.  
  365. $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  366. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  367. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
  368. $s->endSection();
  369. $s->endSection();
  370.  
  371. $s->endSection();
  372.  
  373. $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
  374. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
  375. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  376. $s->endSection();
  377.  
  378. $s->endSection();
  379. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  380. $s->addElement( ffOneElement::TYPE_TABLE_END );
  381. $s->endSection();
  382. ################################################################################
  383. # HOME-7 END
  384. ################################################################################
  385. ################################################################################
  386. # HOME-7 START
  387. ################################################################################
  388. $s->startSection('home-8', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Home Slider 3 (Parallax Slider)')->addParam('hide-default', true);
  389. $s->addElement( ffOneElement::TYPE_TABLE_START );
  390.  
  391. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  392. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/home-slider-8.jpg">');
  393. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  394.  
  395. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  396.  
  397. $s->startSection('background-slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  398. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One Background slide');
  399. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Slide');
  400. $s->endSection();
  401. $s->endSection();
  402.  
  403. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  404. $s->startSection('logo', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Logo');
  405. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', 'Logo');
  406. $s->endSection();
  407.  
  408.  
  409. $s->startSection('h1', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'H1');
  410. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Heading', 'the goods you need now !');
  411. $s->endSection();
  412.  
  413. $s->startSection('text-slides', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Slides');
  414.  
  415. $s->startSection('slides', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  416. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  417. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Slide', 'Welcome to <span class="colored"> oxygen</span>');
  418. $s->endSection();
  419. $s->endSection();
  420.  
  421. $s->endSection();
  422.  
  423. $s->startSection('text-list', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'List');
  424.  
  425. $s->startSection('list', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  426. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'One List');
  427. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'List', 'web design');
  428. $s->endSection();
  429. $s->endSection();
  430.  
  431. $s->endSection();
  432.  
  433. $s->startSection('arrow', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Arrow');
  434. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', 'what we do ?');
  435. $s->addOption(ffOneOption::TYPE_TEXT, 'href', 'Link Href', '#about');
  436. $s->endSection();
  437.  
  438. $s->endSection();
  439. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  440. $s->addElement( ffOneElement::TYPE_TABLE_END );
  441. $s->endSection();
  442. ################################################################################
  443. # HOME-7 END
  444. ################################################################################
  445.  
  446. ################################################################################
  447. # HOME-9 REVSLIDER START
  448. ################################################################################
  449.  
  450. if( function_exists('is_plugin_active') && is_plugin_active( 'revslider/revslider.php' ) ){
  451.  
  452. $s->startSection('home-9', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Revolution Slider (Home 1)')->addParam('hide-default', true);
  453. $s->addElement( ffOneElement::TYPE_TABLE_START );
  454.  
  455. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  456. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/revolution-slider.jpg">');
  457. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  458.  
  459. $s->startSection('header');
  460. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Top Header');
  461. $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', true);
  462. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  463. $s->addOption(ffOneOption::TYPE_TEXT, 'left_text', 'Text on left', 'Welcome to Oxygen ! Perspiciatis voluptatem unde omnis.');
  464. $s->startSection('right_section', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  465. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Left Section Item');
  466. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '123-123456789')->addParam('class','edit-repeatable-item-description');;
  467. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  468. $s->addOption(ffOneOption::TYPE_TEXT, 'link', 'Link', 'tel:+123456789');
  469. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  470. $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-phone')
  471. ->addParam('data-autofilter', 'font-awesome');
  472. $s->endSection();
  473. $s->endSection();
  474. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  475. $s->endSection();
  476.  
  477. $s->startSection('revslider');
  478. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Slider Revolution');
  479.  
  480. $slider = $s->addOption(ffOneOption::TYPE_SELECT, 'id', '', '');
  481.  
  482. $slider->addSelectValue(' - NO SLIDER SELECTED - ', '');
  483.  
  484. global $wpdb;
  485. $SQL = 'SELECT `title`, `alias` FROM `'.$wpdb->prefix.'revslider_sliders`';
  486. $results = $wpdb->get_results( $SQL, ARRAY_A );
  487.  
  488. if( !empty($results) ){
  489. foreach ($results as $row) {
  490. $slider->addSelectValue( $row['title'], $row['alias'] );
  491. }
  492. }
  493.  
  494. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  495. $s->endSection();
  496.  
  497. $s->addElement( ffOneElement::TYPE_TABLE_END );
  498. $s->endSection();
  499.  
  500. }
  501.  
  502. ################################################################################
  503. # HOME-9 REVSLIDER END
  504. ################################################################################
  505.  
  506. ################################################################################
  507. # HOME-10 LAYERSLIDER START
  508. ################################################################################
  509.  
  510. if( function_exists('is_plugin_active') && is_plugin_active( 'LayerSlider/layerslider.php' ) ){
  511.  
  512. $s->startSection('home-10', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Layer Slider (Home 2)')->addParam('hide-default', true);
  513. $s->addElement( ffOneElement::TYPE_TABLE_START );
  514.  
  515. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  516. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/layer-slider.jpg">');
  517. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  518.  
  519. $s->startSection('header');
  520. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Top Header');
  521. $s->addOption(ffOneOption::TYPE_CHECKBOX, 'show', 'Show', true);
  522. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  523. $s->addOption(ffOneOption::TYPE_TEXT, 'left_text', 'Text on left', 'Welcome to Oxygen ! Perspiciatis voluptatem unde omnis.');
  524. $s->startSection('right_section', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  525. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Left Section Item');
  526. $s->addOption(ffOneOption::TYPE_TEXT, 'text', 'Text', '123-123456789')->addParam('class','edit-repeatable-item-description');;
  527. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  528. $s->addOption(ffOneOption::TYPE_TEXT, 'link', 'Link', 'tel:+123456789');
  529. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  530. $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-phone')
  531. ->addParam('data-autofilter', 'font-awesome');
  532. $s->endSection();
  533. $s->endSection();
  534. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  535. $s->endSection();
  536.  
  537. $s->startSection('layerslider');
  538. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Layer Slider');
  539.  
  540. $slider = $s->addOption(ffOneOption::TYPE_SELECT, 'id', '', '');
  541.  
  542. $slider->addSelectValue(' - NO SLIDER SELECTED - ', '');
  543.  
  544. global $wpdb;
  545. $SQL = 'SELECT `id`, `name` FROM `'.$wpdb->prefix.'layerslider`';
  546. $results = $wpdb->get_results( $SQL, ARRAY_A );
  547.  
  548. if( !empty($results) ){
  549. foreach ($results as $row) {
  550. $slider->addSelectValue( $row['name'], $row['id'] );
  551. }
  552. }
  553.  
  554. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  555. $s->endSection();
  556. $s->addElement( ffOneElement::TYPE_TABLE_END );
  557. $s->endSection();
  558.  
  559. }
  560.  
  561. ################################################################################
  562. # HOME-10 LAYERSLIDER END
  563. ################################################################################
  564.  
  565. ################################################################################
  566. # ABOUT START
  567. ################################################################################
  568. $s->startSection('about', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'About')->addParam('hide-default', true);
  569. $s->addElement( ffOneElement::TYPE_TABLE_START );
  570.  
  571. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  572. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/about.jpg">');
  573. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  574.  
  575. require dirname(__FILE__).'/part-section-id.php';
  576.  
  577.  
  578. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  579.  
  580.  
  581. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Retina ready professional and <span class="colored">clean</span> design.');
  582.  
  583. $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';
  584. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  585. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  586.  
  587.  
  588. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  589. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Text Icon Blocks');
  590.  
  591. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  592. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Text Icon Block');
  593.  
  594. $s->startSection('bs-breakpoints');
  595.  
  596.  
  597. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  598. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
  599. ->addSelectValues($breakPoints);
  600.  
  601. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  602. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  603. ->addSelectValues($breakPoints);
  604.  
  605. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  606. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  607. ->addSelectValues($breakPoints);
  608.  
  609. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  610. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  611. ->addSelectValues($breakPoints);
  612.  
  613. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  614. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  615. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  616. $s->endSection();
  617.  
  618. // icon / number / description
  619. //TODO
  620. //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
  621. $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
  622. ->addParam('data-autofilter', 'font-awesome');
  623. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  624. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
  625. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  626. $descriptionDefault = 'On the other hand, we denounce with righteo us indignation and dislike men who are so asure of the moment.';
  627. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  628.  
  629.  
  630. $s->endSection();
  631. $s->endSection();
  632. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  633. $s->addElement( ffOneElement::TYPE_TABLE_END );
  634. $s->endSection();
  635. ################################################################################
  636. # ABOUT END
  637. ################################################################################
  638.  
  639. ################################################################################
  640. # BLOCKQUOTE START
  641. ################################################################################
  642. $s->startSection('blockquote', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Blockquote')->addParam('hide-default', true);
  643. $s->addElement( ffOneElement::TYPE_TABLE_START );
  644.  
  645. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  646. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/blockquote.jpg">');
  647. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  648.  
  649. require dirname(__FILE__).'/part-section-id.php';
  650.  
  651. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Blockquote');
  652.  
  653.  
  654. $testimonialDefault = 'Oxygen is clean and professional theme for you !';
  655. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'text','', $testimonialDefault);
  656.  
  657.  
  658. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  659. $s->addElement( ffOneElement::TYPE_TABLE_END );
  660. $s->endSection();
  661. ################################################################################
  662. # BLOCKQUOTE END
  663. ################################################################################
  664.  
  665. ################################################################################
  666. # CALL TO ACTION START
  667. ################################################################################
  668. $s->startSection('call-to-action', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Call to Action')->addParam('hide-default', true);
  669. $s->addElement( ffOneElement::TYPE_TABLE_START );
  670.  
  671. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  672. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/call-to-action.jpg">');
  673. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  674.  
  675. require dirname(__FILE__).'/part-section-id.php';
  676.  
  677. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Call to Action');
  678. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'text_right','Right text', 'Awesome Design &amp; Clean Coding <span class="colored condiment bigger"> Oxygen</span>');
  679. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  680. $s->addOption(ffOneOption::TYPE_TEXT, 'text_left','Text before button', 'Are you ready for Oxygen ?');
  681. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  682. $s->addOption(ffOneOption::TYPE_TEXT, 'button_text','Button Text', 'get started');
  683. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  684. $s->addOption(ffOneOption::TYPE_TEXT, 'button_link','Button Text', '#');
  685. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  686. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  687. $s->addElement( ffOneElement::TYPE_TABLE_END );
  688. $s->endSection();
  689. ################################################################################
  690. # CALL TO ACTION END
  691. ################################################################################
  692.  
  693. ################################################################################
  694. # CONTACT START
  695. ################################################################################
  696. $s->startSection('contact', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Contact Form')->addParam('hide-default', true);
  697. $s->addElement( ffOneElement::TYPE_TABLE_START );
  698.  
  699. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  700. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/contact-form.jpg">');
  701. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  702.  
  703. require dirname(__FILE__).'/part-section-id.php';
  704.  
  705. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  706.  
  707.  
  708. $s->startSection('paralax');
  709. //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
  710. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
  711. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  712. $s->endSection();
  713.  
  714.  
  715. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Get In <span class="extrabold">Touch</span>');
  716.  
  717. $descriptionDefault = 'On the other hand, we denounce with righteous indignation and dislike men who are so beguiled.';
  718. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  719. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  720.  
  721.  
  722. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  723.  
  724. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form Translation');
  725.  
  726. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_name', 'Name', 'Name');
  727. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  728. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_email', 'Email', 'Email');
  729. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  730. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_subject', 'Subject', 'Subject');
  731. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  732. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message', 'Message', 'Message');
  733. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  734. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_button_send', 'Button Send', 'Send Message');
  735. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  736. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message_send', 'Message has been send', '<strong>Thank You !</strong> Your email has been delivered.');
  737. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  738.  
  739. $s->addOption( ffOneOption::TYPE_TEXT, 'trans_message_forget', 'You forgot to enter %s', 'You forgot to eneter %s');
  740. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  741.  
  742. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  743.  
  744.  
  745. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Contact Form Sending message info');
  746.  
  747. $s->addOption( ffOneOption::TYPE_TEXT, 'msg_email', 'Your email', '');
  748. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  749. $s->addOption( ffOneOption::TYPE_TEXT, 'msg_subject', 'Your subject', '');
  750. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  751.  
  752. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  753.  
  754. $s->addElement( ffOneElement::TYPE_TABLE_END );
  755. $s->endSection();
  756. ################################################################################
  757. # CONTACT END
  758. ################################################################################
  759.  
  760. ################################################################################
  761. # FEATURES START
  762. ################################################################################
  763. $s->startSection('features', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Features')->addParam('hide-default', true);
  764. $s->addElement( ffOneElement::TYPE_TABLE_START );
  765.  
  766. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  767. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/features.jpg">');
  768. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  769.  
  770. require dirname(__FILE__).'/part-section-id.php';
  771.  
  772. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  773.  
  774.  
  775. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Why do you choose <span class="condiment">Oxygen ?</span>');
  776.  
  777. $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';
  778. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  779. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  780.  
  781.  
  782. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  783. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Features');
  784.  
  785. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  786. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Feature');
  787.  
  788.  
  789. $s->startSection('bs-breakpoints');
  790.  
  791. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  792. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '4')
  793. ->addSelectValues($breakPoints);
  794.  
  795. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  796. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  797. ->addSelectValues($breakPoints);
  798.  
  799. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  800. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  801. ->addSelectValues($breakPoints);
  802.  
  803. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  804. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  805. ->addSelectValues($breakPoints);
  806.  
  807. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  808. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  809. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  810. $s->endSection();
  811. // icon / number / description
  812. //TODO
  813. //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
  814. $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
  815. ->addParam('data-autofilter', 'font-awesome');
  816. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  817. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
  818. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  819. $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.';
  820. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  821.  
  822.  
  823. $s->endSection();
  824. $s->endSection();
  825. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  826. $s->addElement( ffOneElement::TYPE_TABLE_END );
  827. $s->endSection();
  828. ################################################################################
  829. # FEATURES END
  830. ################################################################################
  831.  
  832. ################################################################################
  833. # FUN FACTS START
  834. ################################################################################
  835. $s->startSection('fun-facts', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Fun Table')->addParam('hide-default', true);
  836. $s->addElement( ffOneElement::TYPE_TABLE_START );
  837.  
  838. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  839. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/fun-table.jpg">');
  840. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  841.  
  842. require dirname(__FILE__).'/part-section-id.php';
  843.  
  844. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  845.  
  846.  
  847. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Retina ready professional and <span class="colored">clean</span> design.');
  848.  
  849. $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';
  850. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  851. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  852. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  853. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  854.  
  855. $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
  856.  
  857.  
  858. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  859.  
  860. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Facts');
  861.  
  862. $s->startSection('one-fact', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  863. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Fact');
  864.  
  865. $s->startSection('bs-breakpoints');
  866.  
  867. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  868. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
  869. ->addSelectValues($breakPoints);
  870.  
  871. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  872. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  873. ->addSelectValues($breakPoints);
  874.  
  875. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  876. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  877. ->addSelectValues($breakPoints);
  878.  
  879. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  880. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  881. ->addSelectValues($breakPoints);
  882.  
  883. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  884. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  885. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  886. $s->endSection();
  887.  
  888.  
  889. // icon / number / description
  890. //TODO
  891. $s->addOption( ffOneOption::TYPE_ICON, 'icon', 'Icon', 'fa-briefcase');
  892. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  893. $s->addOption( ffOneOption::TYPE_TEXT, 'number', 'Number', '120');
  894. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  895. $s->addOption( ffOneOption::TYPE_TEXT, 'description', 'Description', 'Project Finished');
  896.  
  897.  
  898. $s->endSection();
  899. $s->endSection();
  900. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  901. $s->addElement( ffOneElement::TYPE_TABLE_END );
  902. $s->endSection();
  903. ################################################################################
  904. # FUN FACTS END
  905. ################################################################################
  906.  
  907. ################################################################################
  908. # HISTORY START
  909. ################################################################################
  910. $s->startSection('history', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'History')->addParam('hide-default', true);
  911. $s->addElement( ffOneElement::TYPE_TABLE_START );
  912.  
  913. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  914. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/history.jpg">');
  915. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  916.  
  917. require dirname(__FILE__).'/part-section-id.php';
  918.  
  919. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  920.  
  921.  
  922. $s->startSection('paralax');
  923. //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
  924. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
  925. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  926. $s->endSection();
  927.  
  928.  
  929. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygen</span> History');
  930.  
  931. $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';
  932. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  933. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  934. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  935.  
  936.  
  937. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  938. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Historical Events');
  939.  
  940.  
  941. $s->startSection('notes', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  942. $s->startSection('one-note', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Historical Event');
  943. $s->addOption(ffOneOption::TYPE_DATEPICKER, 'date', 'Date', '01/01/2014');
  944. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  945. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '');
  946.  
  947. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  948. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', '');
  949. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  950.  
  951. $s->startSection('gallery-items', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  952. $s->startSection('one-item-image', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Gallery Image');
  953. $s->addOption(ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
  954. $s->endSection();
  955.  
  956. $s->startSection('one-item-video', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Gallery Video')->addParam('hide-default', true);
  957. $s->addOption(ffOneOption::TYPE_TEXT, 'video', 'YouTube/Vimeo video URL) ', '');
  958. $s->endSection();
  959. $s->endSection();
  960. $s->endSection();
  961. $s->endSection();
  962.  
  963. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  964. $s->addElement( ffOneElement::TYPE_TABLE_END );
  965. $s->endSection();//*/
  966. ################################################################################
  967. # HISTORY END
  968. ################################################################################
  969.  
  970. ################################################################################
  971. # HTML START
  972. ################################################################################
  973. $s->startSection('html', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'HTML')->addParam('hide-default', true);
  974. $s->addElement( ffOneElement::TYPE_TABLE_START );
  975.  
  976. /*$s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  977. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/history.jpg">');
  978. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );*/
  979.  
  980. require dirname(__FILE__).'/part-section-id.php';
  981.  
  982. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  983. $s->addElement(ffOneElement::TYPE_HTML, '', 'Insert your HTML here:<br/>');
  984. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'code');
  985.  
  986.  
  987.  
  988. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  989.  
  990. $s->addElement( ffOneElement::TYPE_TABLE_END );
  991. $s->endSection();//*/
  992. ################################################################################
  993. # HTML END
  994. ################################################################################
  995.  
  996. ################################################################################
  997. # MAP START
  998. ################################################################################
  999. $s->startSection('map', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Map')->addParam('hide-default', true);
  1000. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1001.  
  1002. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1003. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/map.jpg">');
  1004. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1005.  
  1006. require dirname(__FILE__).'/part-section-id.php';
  1007.  
  1008. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1009.  
  1010.  
  1011. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'where are we ? click for google map');
  1012. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1013.  
  1014. $s->startSection('map');
  1015. $s->addOption( ffOneOption::TYPE_TEXT, 'latitude', 'Latitude', '41.862274');
  1016. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1017. $s->addOption( ffOneOption::TYPE_TEXT, 'longitude', 'Longitude', '-87.661328');
  1018. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1019. $s->addOption( ffOneOption::TYPE_TEXT, 'zoom', 'Zoom', '15');
  1020. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1021. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1022. $s->endSection();
  1023.  
  1024. $s->startSection('markers', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1025. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Map Marker');
  1026. $s->addOption( ffOneOption::TYPE_TEXT, 'latitude', 'Latitude', '41.856774');
  1027. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1028. $s->addOption( ffOneOption::TYPE_TEXT, 'longitude', 'Longitude', '-87.679928');
  1029. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1030. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Office');
  1031. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1032. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'Your description is here.');
  1033. $s->endSection();
  1034. $s->endSection();
  1035.  
  1036.  
  1037. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1038. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1039. $s->endSection();//*/
  1040. ################################################################################
  1041. # MAP END
  1042. ################################################################################
  1043.  
  1044. ################################################################################
  1045. # PORTFOLIO START
  1046. ################################################################################
  1047. $s->startSection('portfolio', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Portfolio')->addParam('hide-default', true);
  1048. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1049.  
  1050. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1051. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/portfolio.jpg">');
  1052. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1053.  
  1054. require dirname(__FILE__).'/part-section-id.php';
  1055.  
  1056. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1057.  
  1058.  
  1059. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygens Portfolio</span>');
  1060.  
  1061. $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';
  1062. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1063. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  1064.  
  1065. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1066. $s->addOption(ffOneOption::TYPE_CHECKBOX,'show-filters', 'Show Filters', 1);
  1067. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1068. $s->addOption( ffOneOption::TYPE_TAXONOMY, 'taxonomies', 'Taxonomies', 'all')
  1069. ->addParam('tax_type', 'ff-portfolio-category')
  1070. //->addSelectValue('All', 'all')
  1071. ->addParam('type', 'multiple');
  1072.  
  1073. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1074. $s->addOption( ffOneOption::TYPE_TEXT, 'trans-all', 'Show All', 'Show All');
  1075.  
  1076. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1077. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1078. $s->endSection();//*/
  1079. ################################################################################
  1080. # PORTFOLIO END
  1081. ################################################################################
  1082.  
  1083.  
  1084. ################################################################################
  1085. # PRESENTATION START
  1086. ################################################################################
  1087. $s->startSection('why-we', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Presentation')->addParam('hide-default', true);
  1088. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1089.  
  1090. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1091. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/presentation.jpg">');
  1092. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1093.  
  1094. require dirname(__FILE__).'/part-section-id.php';
  1095.  
  1096. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1097.  
  1098.  
  1099. //$s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'where are we ? click for google map');
  1100.  
  1101. $s->startSection('paralax');
  1102. //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
  1103. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
  1104. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1105.  
  1106. $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
  1107. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1108. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1109. $s->endSection();
  1110.  
  1111. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1112. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Left');
  1113.  
  1114. $s->startSection('left');
  1115.  
  1116. $s->startSection('buttons', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1117. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Button');
  1118. $s->addOption(ffOneOption::TYPE_SELECT, 'orientation', 'Orientation', 'normal')
  1119. ->addSelectValue('Up', 'up')
  1120. ->addSelectValue('Normal', 'normal')
  1121. ->addSelectValue('Down', 'down');
  1122. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1123.  
  1124.  
  1125.  
  1126. $s->addOption(ffOneOption::TYPE_TEXT, 'width', 'Width (px)', 230);
  1127. //$s->addOption(ffOneOption::TYPE_TEXT, 'height', 'Height (px)', 60);
  1128. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1129.  
  1130.  
  1131. $s->addOption(ffOneOption::TYPE_TEXT, 'top', 'Top (%)', 22);
  1132. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1133. $s->addOption(ffOneOption::TYPE_TEXT, 'left', 'Left (%)', 28);
  1134. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1135.  
  1136. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'There are many variations of passages of Lorem Ipsum available.');
  1137. $s->endSection();
  1138. $s->endSection();
  1139. $s->endSection();
  1140.  
  1141. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1142. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Right');
  1143.  
  1144. $s->startSection('right');
  1145. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title','Why youll <span class="colored condiment bigger">Love it ?</span>');
  1146. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1147.  
  1148. $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';
  1149. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description','Description', $descriptionDefault);
  1150. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1151. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1152.  
  1153. $s->startSection('accordion', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1154. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Accordion Item');
  1155.  
  1156. $s->addOption(ffOneOption::TYPE_SELECT, 'state', 'State', 'collapsed')
  1157. ->addSelectValue('Collapsed', 'collapsed')
  1158. ->addSelectValue('Opened', 'opened');
  1159. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1160.  
  1161. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title','Contrary to popular belief, Lorem Ipsum is not simply random text.');
  1162. $s->addElement(ffOneElement::TYPE_NEW_LINE );
  1163.  
  1164. $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.';
  1165. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description','Description', $descriptionDefault);
  1166.  
  1167. $s->endSection();
  1168. $s->endSection();
  1169. $s->endSection();
  1170. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1171. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1172. $s->endSection();//*/
  1173. ################################################################################
  1174. # PRESENTATION END
  1175. ################################################################################
  1176.  
  1177. ################################################################################
  1178. # PRICING START
  1179. ################################################################################
  1180. $s->startSection('pricing', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Pricing Table')->addParam('hide-default', true);
  1181. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1182.  
  1183. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1184. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/pricing-table.jpg">');
  1185. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1186.  
  1187. require dirname(__FILE__).'/part-section-id.php';
  1188.  
  1189. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1190.  
  1191.  
  1192. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Pricing <span class="bold">Tables</span>')->addParam('class','edit-repeatable-item-description');
  1193.  
  1194. $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';
  1195. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1196. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  1197.  
  1198. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1199.  
  1200. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Pricing Tables');
  1201.  
  1202. $s->startSection('one-table', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1203. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Pricing Table');
  1204.  
  1205. $s->startSection('bs-breakpoints');
  1206.  
  1207. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  1208. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '3')
  1209. ->addSelectValues($breakPoints);
  1210.  
  1211. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1212. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  1213. ->addSelectValues($breakPoints);
  1214.  
  1215. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1216. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  1217. ->addSelectValues($breakPoints);
  1218.  
  1219. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1220. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  1221. ->addSelectValues($breakPoints);
  1222.  
  1223. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1224. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1225. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1226. $s->endSection();
  1227.  
  1228.  
  1229. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'starter')->addParam('class','edit-repeatable-item-description');;
  1230. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1231. $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Image');
  1232. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1233. $s->addOption( ffOneOption::TYPE_TEXT, 'price', 'Price', '19$');
  1234. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1235. $s->addOption( ffOneOption::TYPE_TEXT, 'time', 'Time', 'Monthly');
  1236. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1237. $s->addOption( ffOneOption::TYPE_CHECKBOX, 'active', 'Active', 0);
  1238.  
  1239. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1240. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1241. $s->startSection('one-line', ffOneSection::TYPE_REPEATABLE_VARIABLE );
  1242. $s->startSection('line', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Text Line');
  1243. $s->addOption( ffOneOption::TYPE_TEXT, 'text', 'Text', '<span class="colored">5 bonus</span> points every month');
  1244. $s->endSection();
  1245.  
  1246. $s->startSection('button', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('hide-default', true)->addParam('section-name', 'Button');
  1247. $s->addOption( ffOneOption::TYPE_TEXT, 'text', 'Button Caption', 'Buy Now');
  1248. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1249. $s->addOption( ffOneOption::TYPE_TEXT, 'href', 'Button URL link', '#');
  1250. $s->endSection();
  1251. $s->endSection();
  1252.  
  1253. $s->endSection();
  1254. $s->endSection();
  1255. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1256. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1257. $s->endSection();
  1258. ################################################################################
  1259. # PRICING END
  1260. ################################################################################
  1261.  
  1262. ################################################################################
  1263. # SERVICES START
  1264. ################################################################################
  1265. $s->startSection('services', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Services')->addParam('hide-default', true);
  1266. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1267.  
  1268. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1269. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/services.jpg">');
  1270. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1271.  
  1272. require dirname(__FILE__).'/part-section-id.php';
  1273.  
  1274. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1275.  
  1276.  
  1277. $s->startSection('paralax');
  1278. //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
  1279. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
  1280. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1281. $s->endSection();
  1282. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', 'Our Services');
  1283.  
  1284. $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';
  1285. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1286. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  1287.  
  1288.  
  1289. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1290. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Services');
  1291.  
  1292. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1293. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Service');
  1294.  
  1295. $s->startSection('bs-breakpoints');
  1296.  
  1297. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  1298. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '2')
  1299. ->addSelectValues($breakPoints);
  1300.  
  1301. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1302. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  1303. ->addSelectValues($breakPoints);
  1304.  
  1305. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1306. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  1307. ->addSelectValues($breakPoints);
  1308.  
  1309. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1310. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  1311. ->addSelectValues($breakPoints);
  1312.  
  1313. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1314. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1315. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1316. $s->endSection();
  1317.  
  1318. // icon / number / description
  1319. //TODO
  1320. //$s->addOption( ffOneOption::TYPE_TEXT, 'icon', 'Icon', 'fa-briefcase');
  1321. $s->addOption(ffOneOption::TYPE_ICON, 'icon','','ff-font-awesome icon-help')
  1322. ->addParam('data-autofilter', 'font-awesome');
  1323. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1324. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '100% Responsive Design');
  1325. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1326. $descriptionDefault = 'On the other hand, we denounce with righteo us indignation and dislike men who are so asure of the moment.';
  1327. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  1328.  
  1329.  
  1330. $s->endSection();
  1331. $s->endSection();
  1332. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1333. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1334. $s->endSection();
  1335. ################################################################################
  1336. # SERVICES END
  1337. ################################################################################
  1338.  
  1339. ################################################################################
  1340. # SOCIAL START
  1341. ################################################################################
  1342. $s->startSection('social', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Social & Address')->addParam('hide-default', true);
  1343. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1344.  
  1345. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1346. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/social-address.jpg">');
  1347. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1348.  
  1349. require dirname(__FILE__).'/part-section-id.php';
  1350.  
  1351. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1352.  
  1353.  
  1354. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'social-links', 'Social Links', '');
  1355.  
  1356. $addressDefault = '';
  1357. $addressDefault .= '<p>0567 - 123 - 456 & <a href="mailto:support@goldeyestheme.com" class="bold dark">support@goldeyestheme.com</a></p>'. "\n";
  1358. $addressDefault .= '<p>1234 Street Name, <span class="bold colored">City Name</span></p>'. "\n";
  1359. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1360.  
  1361. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'address', 'Address', $addressDefault);
  1362.  
  1363. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1364. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1365. $s->endSection();
  1366. ################################################################################
  1367. # SOCIAL END
  1368. ################################################################################
  1369.  
  1370. ################################################################################
  1371. # TEAM START
  1372. ################################################################################
  1373. $s->startSection('team', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Team')->addParam('hide-default', true);
  1374. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1375.  
  1376. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1377. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/team.jpg">');
  1378. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1379.  
  1380. require dirname(__FILE__).'/part-section-id.php';
  1381.  
  1382. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1383.  
  1384.  
  1385. $s->addOption( ffOneOption::TYPE_TEXT, 'title', 'Title', '<span class="condiment">Oxygens </span> Creative Team');
  1386.  
  1387. $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';
  1388. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1389. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'description', 'Description', $descriptionDefault);
  1390.  
  1391.  
  1392. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1393.  
  1394. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Team Members');
  1395.  
  1396. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1397. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Team Member');
  1398.  
  1399.  
  1400. $s->startSection('bs-breakpoints');
  1401.  
  1402. $s->addElement( ffOneElement::TYPE_HTML,'', '<h3>Bootstrap Settings - breakpoints</h3>');
  1403. $s->addOption(ffOneOption::TYPE_SELECT, 'xs', 'Extra Small', '4')
  1404. ->addSelectValues($breakPoints);
  1405.  
  1406. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1407. $s->addOption(ffOneOption::TYPE_SELECT, 'sm', 'Small', 'none')
  1408. ->addSelectValues($breakPoints);
  1409.  
  1410. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1411. $s->addOption(ffOneOption::TYPE_SELECT, 'md', 'Medium', 'none')
  1412. ->addSelectValues($breakPoints);
  1413.  
  1414. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1415. $s->addOption(ffOneOption::TYPE_SELECT, 'lg', 'Large', 'none')
  1416. ->addSelectValues($breakPoints);
  1417.  
  1418. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1419. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1420. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1421. $s->endSection();
  1422. // icon / number / description
  1423. //TODO
  1424. $s->addOption( ffOneOption::TYPE_IMAGE, 'image', '', '', 'Photo');
  1425. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1426. $s->addOption( ffOneOption::TYPE_TEXT, 'name', 'Name', 'Julia Amanda');
  1427. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1428. $s->addOption( ffOneOption::TYPE_TEXT, 'position', 'Position', 'Photographer');
  1429. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1430. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'description', 'Description', 'It is a long established fact that a reader will be distracted by the readable content.');
  1431. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1432. $s->addOption( ffOneOption::TYPE_TEXTAREA, 'social-links', 'Social Links', '');
  1433.  
  1434.  
  1435. $s->endSection();
  1436. $s->endSection();
  1437. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1438. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1439. $s->endSection();
  1440. ################################################################################
  1441. # TEAM END
  1442. ################################################################################
  1443.  
  1444. ################################################################################
  1445. # TESTIMONIALS START
  1446. ################################################################################
  1447. $s->startSection('testimonials', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Testimonials')->addParam('hide-default', true);
  1448. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1449.  
  1450. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1451. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/testimonials.jpg">');
  1452. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1453.  
  1454. require dirname(__FILE__).'/part-section-id.php';
  1455.  
  1456. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Testimonials');
  1457.  
  1458.  
  1459.  
  1460. $s->startSection('paralax');
  1461. //$s->addOption(ffOneOption::TYPE_CHECKBOX,'show', 'Show Paralax', true);
  1462. $s->addOption( ffOneOption::TYPE_CHECKBOX, 'transparent', 'Keep transparent', 0);
  1463. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1464. $s->addOption(ffOneOption::TYPE_IMAGE, 'background-image', '', '', 'Background');
  1465. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1466. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1467. $s->endSection();
  1468.  
  1469.  
  1470. $s->startSection('one-item', ffOneSection::TYPE_REPEATABLE_VARIABLE);
  1471. $s->startSection('item', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Testimonial');
  1472.  
  1473. $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.';
  1474. $s->addOption(ffOneOption::TYPE_TEXTAREA, 'testimonial','Testimonial', $testimonialDefault);
  1475. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1476. $s->addOption( ffOneOption::TYPE_TEXT, 'author', 'Author', 'scott adams');
  1477.  
  1478.  
  1479.  
  1480. $s->endSection();
  1481. $s->endSection();
  1482.  
  1483.  
  1484. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1485. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1486. $s->endSection();
  1487. ################################################################################
  1488. # TESTIMONIALS END
  1489. ################################################################################
  1490.  
  1491. ################################################################################
  1492. # VIDEO START
  1493. ################################################################################
  1494. $s->startSection('video', ffOneSection::TYPE_REPEATABLE_VARIATION)->addParam('section-name', 'Video')->addParam('hide-default', true);
  1495. $s->addElement( ffOneElement::TYPE_TABLE_START );
  1496.  
  1497. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'Preview');
  1498. $s->addElement(ffOneElement::TYPE_HTML,'','<img src="'.get_template_directory_uri().'/framework/adminScreens/sectionsPreview/video.jpg">');
  1499. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1500.  
  1501. require dirname(__FILE__).'/part-section-id.php';
  1502.  
  1503. $s->addElement( ffOneElement::TYPE_TABLE_DATA_START, '', 'General');
  1504.  
  1505. $s->addOption(ffOneOption::TYPE_IMAGE,'logo', '', '', 'Logo Image');
  1506. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1507.  
  1508. $s->addOption(ffOneOption::TYPE_TEXT, 'description', 'Description', 'Keep in touch');
  1509. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1510.  
  1511. $s->addOption(ffOneOption::TYPE_TEXT, 'url', 'URL link', '#contact');
  1512. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1513.  
  1514. $s->addOption( ffOneOption::TYPE_CHECKBOX, 'transparent', 'Keep transparent', 0);
  1515. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1516.  
  1517. $s->addOption(ffOneOption::TYPE_TEXT, 'youtube', 'YouTube/Vimeo video URL', 'http://www.youtube.com/watch?v=K3YxqjUvu1M');
  1518. $s->addElement( ffOneElement::TYPE_NEW_LINE );
  1519.  
  1520.  
  1521.  
  1522. $s->addElement( ffOneElement::TYPE_TABLE_DATA_END );
  1523. $s->addElement( ffOneElement::TYPE_TABLE_END );
  1524. $s->endSection();
  1525. ################################################################################
  1526. # VIDEO END
  1527. ################################################################################
  1528.  
  1529.  
  1530.  
  1531. $s->endSection();
  1532.  
  1533. return $s;
  1534. }
  1535. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement