/wp-content/themes/bridge/framework/admin/options/75.slider/map.php

https://gitlab.com/juanito.abelo/nlmobile · PHP · 138 lines · 85 code · 50 blank · 3 comment · 8 complexity · c3233b01935882cb4ffb259ba630d688 MD5 · raw file

  1. <?php
  2. $sliderPage = new QodeAdminPage("_slider", "Qode Slider", "fa fa-sliders");
  3. $qodeFramework->qodeOptions->addAdminPage("slider",$sliderPage);
  4. // General Style
  5. $panel3 = new QodePanel("General Style","navigation_control_style");
  6. $sliderPage->addChild("panel3",$panel3);
  7. $qs_slider_height_tablet = new QodeField("text","qs_slider_height_tablet","","Slider Height For Tablet Portrait and Mobile Landscape View (px)","Define slider height for tablet devices - portrait view and mobile devices landscape view");
  8. $panel3->addChild("qs_slider_height_tablet",$qs_slider_height_tablet);
  9. $qs_slider_height_mobile = new QodeField("text","qs_slider_height_mobile","","Slider Height For Mobile Devices (px)","Define slider height for mobile devices");
  10. $panel3->addChild("qs_slider_height_mobile",$qs_slider_height_mobile);
  11. //Buttons
  12. $panel4 = new QodePanel("Buttons Style","buttons_panel");
  13. $sliderPage->addChild("panel4",$panel4);
  14. $group1 = new QodeGroup("Button 1 Style","Define style for button 1.");
  15. $panel4->addChild("group1",$group1);
  16. $row1 = new QodeRow();
  17. $group1->addChild("row1",$row1);
  18. $qs_button_color = new QodeField("colorsimple","qs_button_color","","Text Color","This is some description");
  19. $row1->addChild("qs_button_color",$qs_button_color);
  20. $qs_button_hover_color = new QodeField("colorsimple","qs_button_hover_color","","Hover Text Color","This is some description");
  21. $row1->addChild("qs_button_hover_color",$qs_button_hover_color);
  22. $qs_button_background_color = new QodeField("colorsimple","qs_button_background_color","","Background Color","This is some description");
  23. $row1->addChild("qs_button_background_color",$qs_button_background_color);
  24. $qs_button_hover_background_color = new QodeField("colorsimple","qs_button_hover_background_color","","Background Hover Color","This is some description");
  25. $row1->addChild("qs_button_hover_background_color",$qs_button_hover_background_color);
  26. $row2 = new QodeRow(true);
  27. $group1->addChild("row2",$row2);
  28. $qs_button_border_color = new QodeField("colorsimple","qs_button_border_color","","Border Color","This is some description");
  29. $row2->addChild("qs_button_border_color",$qs_button_border_color);
  30. $qs_button_hover_border_color = new QodeField("colorsimple","qs_button_hover_border_color","","Border Hover Color","This is some description");
  31. $row2->addChild("qs_button_hover_border_color",$qs_button_hover_border_color);
  32. $qs_button_border_width = new QodeField("textsimple","qs_button_border_width","","Border Width (px)","This is some description");
  33. $row2->addChild("qs_button_border_width",$qs_button_border_width);
  34. $qs_button_border_radius = new QodeField("textsimple","qs_button_border_radius","","Border radius (px)","This is some description");
  35. $row2->addChild("qs_button_border_radius",$qs_button_border_radius);
  36. $group2 = new QodeGroup("Button 2 Style","Define style for button 2.");
  37. $panel4->addChild("group2",$group2);
  38. $row1 = new QodeRow();
  39. $group2->addChild("row1",$row1);
  40. $qs_button2_color = new QodeField("colorsimple","qs_button2_color","","Text Color","This is some description");
  41. $row1->addChild("qs_button2_color",$qs_button2_color);
  42. $qs_button2_hover_color = new QodeField("colorsimple","qs_button2_hover_color","","Hover Text Color","This is some description");
  43. $row1->addChild("qs_button2_hover_color",$qs_button2_hover_color);
  44. $qs_button2_background_color = new QodeField("colorsimple","qs_button2_background_color","","Background Color","This is some description");
  45. $row1->addChild("qs_button2_background_color",$qs_button2_background_color);
  46. $qs_button2_hover_background_color = new QodeField("colorsimple","qs_button2_hover_background_color","","Background Hover Color","This is some description");
  47. $row1->addChild("qs_button2_hover_background_color",$qs_button2_hover_background_color);
  48. $row2 = new QodeRow(true);
  49. $group2->addChild("row2",$row2);
  50. $qs_button2_border_color = new QodeField("colorsimple","qs_button2_border_color","","Border Color","This is some description");
  51. $row2->addChild("qs_button2_border_color",$qs_button2_border_color);
  52. $qs_button2_hover_border_color = new QodeField("colorsimple","qs_button2_hover_border_color","","Border Hover Color","This is some description");
  53. $row2->addChild("qs_button2_hover_border_color",$qs_button2_hover_border_color);
  54. $qs_button2_border_width = new QodeField("textsimple","qs_button2_border_width","","Border Width (px)","This is some description");
  55. $row2->addChild("qs_button2_border_width",$qs_button2_border_width);
  56. $qs_button2_border_radius = new QodeField("textsimple","qs_button2_border_radius","","Border radius (px)","This is some description");
  57. $row2->addChild("qs_button2_border_radius",$qs_button2_border_radius);
  58. // Custom cursor navigation style
  59. $panel5 = new QodePanel("Custom Cursor Navigation Style","navigation_custom_cursor_style");
  60. $sliderPage->addChild("panel5",$panel5);
  61. $qs_enable_navigation_custom_cursor = new QodeField("yesno","qs_enable_navigation_custom_cursor","no","Enable Custom Cursor for Navigation","Enabling this option will display custom cursors for slider navigation", array(), array("dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#qodef_qs_enable_navigation_custom_cursor_container"));
  62. $panel5->addChild("qs_enable_navigation_custom_cursor",$qs_enable_navigation_custom_cursor);
  63. $qs_enable_navigation_custom_cursor_container = new QodeContainer("qs_enable_navigation_custom_cursor_container","qs_enable_navigation_custom_cursor","no");
  64. $panel5->addChild("qs_enable_navigation_custom_cursor_container",$qs_enable_navigation_custom_cursor_container);
  65. $cursor_image_left_right_area_size = new QodeField("text","cursor_image_left_right_area_size","","Clickable Left/Right Area Size (%)","Define size of clickable left/right slider area in relation to slider width (default value is 23%)", array(), array("col_width" => 3));
  66. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_left_right_area_size",$cursor_image_left_right_area_size);
  67. $cursor_image_left_normal = new QodeField("image","cursor_image_left_normal","","Cursor Image 'Left' - Normal","Choose a default cursor 'Left' image to display ");
  68. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_left_normal",$cursor_image_left_normal);
  69. $cursor_image_right_normal = new QodeField("image","cursor_image_right_normal","","Cursor Image 'Right' - Normal","Choose a default cursor 'Right' image to display ");
  70. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_right_normal",$cursor_image_right_normal);
  71. $cursor_image_left_light = new QodeField("image","cursor_image_left_light","","Cursor Image 'Left' - Light","Choose a cursor 'Left' light image to display ");
  72. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_left_light",$cursor_image_left_light);
  73. $cursor_image_right_light = new QodeField("image","cursor_image_right_light","","Cursor Image 'Right' - Light","Choose a cursor 'Right' light image to display ");
  74. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_right_light",$cursor_image_right_light);
  75. $cursor_image_left_dark = new QodeField("image","cursor_image_left_dark","","Cursor Image 'Left' - Dark","Choose a cursor 'Left' dark image to display ");
  76. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_left_dark",$cursor_image_left_dark);
  77. $cursor_image_right_dark = new QodeField("image","cursor_image_right_dark","","Cursor Image 'Right' - Dark","Choose a cursor 'Right' dark image to display ");
  78. $qs_enable_navigation_custom_cursor_container->addChild("cursor_image_right_dark",$cursor_image_right_dark);
  79. $qs_enable_navigation_custom_cursor_grab = new QodeField("yesno","qs_enable_navigation_custom_cursor_grab","no","Enable Custom Cursor for 'Grab' Arrow","Enabling this option will display custom cursor for slider 'Grab' arrow", array(), array("dependence" => true, "dependence_hide_on_yes" => "", "dependence_show_on_yes" => "#qodef_qs_enable_navigation_custom_cursor_grab_container"));
  80. $qs_enable_navigation_custom_cursor_container->addChild("qs_enable_navigation_custom_cursor_grab",$qs_enable_navigation_custom_cursor_grab);
  81. $qs_enable_navigation_custom_cursor_grab_container = new QodeContainer("qs_enable_navigation_custom_cursor_grab_container","qs_enable_navigation_custom_cursor_grab","no");
  82. $qs_enable_navigation_custom_cursor_container->addChild("qs_enable_navigation_custom_cursor_grab_container",$qs_enable_navigation_custom_cursor_grab_container);
  83. $cursor_image_grab_normal = new QodeField("image","cursor_image_grab_normal","","Cursor Image 'Grab' - Normal","Choose a default cursor 'Grab' image to display");
  84. $qs_enable_navigation_custom_cursor_grab_container->addChild("cursor_image_grab_normal",$cursor_image_grab_normal);
  85. $cursor_image_grab_light = new QodeField("image","cursor_image_grab_light","","Cursor Image 'Grab' - Light","Choose a cursor 'Grab' light image to display");
  86. $qs_enable_navigation_custom_cursor_grab_container->addChild("cursor_image_grab_light",$cursor_image_grab_light);
  87. $cursor_image_grab_dark = new QodeField("image","cursor_image_grab_dark","","Cursor Image 'Grab' - Dark","Choose a cursor 'Grab' dark image to display");
  88. $qs_enable_navigation_custom_cursor_grab_container->addChild("cursor_image_grab_dark",$cursor_image_grab_dark);