kirgudu_base 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (861) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/kirgudu_base/{bootstrap-3.0.0.js → bootstrap/bootstrap-3.0.0.js} +0 -0
  3. data/app/assets/javascripts/kirgudu_base/{bootstrap-alert.js → bootstrap/bootstrap-alert-2.1.0.js} +0 -0
  4. data/app/assets/javascripts/kirgudu_base/{bootstrap-button.js → bootstrap/bootstrap-button.js} +0 -0
  5. data/app/assets/javascripts/kirgudu_base/{bootstrap-carousel.js → bootstrap/bootstrap-carousel.js} +0 -0
  6. data/app/assets/javascripts/kirgudu_base/{bootstrap-collapse.js → bootstrap/bootstrap-collapse.js} +0 -0
  7. data/app/assets/javascripts/kirgudu_base/{bootstrap-colorpicker.js → bootstrap/bootstrap-colorpicker.js} +0 -0
  8. data/app/assets/javascripts/kirgudu_base/{bootstrap-datepicker.js → bootstrap/bootstrap-datepicker.js} +0 -0
  9. data/app/assets/javascripts/kirgudu_base/{bootstrap-dropdown.js → bootstrap/bootstrap-dropdown.js} +0 -0
  10. data/app/assets/javascripts/kirgudu_base/{bootstrap-modal.js → bootstrap/bootstrap-modal.js} +0 -0
  11. data/app/assets/javascripts/kirgudu_base/{bootstrap-popover.js → bootstrap/bootstrap-popover.js} +0 -0
  12. data/app/assets/javascripts/kirgudu_base/{bootstrap-scrollspy.js → bootstrap/bootstrap-scrollspy.js} +0 -0
  13. data/app/assets/javascripts/kirgudu_base/{bootstrap-tab.js → bootstrap/bootstrap-tab.js} +0 -0
  14. data/app/assets/javascripts/kirgudu_base/{bootstrap-tooltip.js → bootstrap/bootstrap-tooltip.js} +0 -0
  15. data/app/assets/javascripts/kirgudu_base/{bootstrap-transition.js → bootstrap/bootstrap-transition.js} +0 -0
  16. data/app/assets/javascripts/kirgudu_base/{bootstrap-typeahead.js → bootstrap/bootstrap-typeahead.js} +0 -0
  17. data/app/assets/javascripts/kirgudu_base/{bootstrap-wysihtml5.js → bootstrap/bootstrap-wysihtml5.js} +0 -0
  18. data/app/assets/javascripts/kirgudu_base/{bootstrap.js → bootstrap/bootstrap.js} +0 -0
  19. data/app/assets/javascripts/kirgudu_base/{intro.js → intro-0.4.0.js} +0 -0
  20. data/app/assets/javascripts/kirgudu_base/{jquery.js → jquery-2.0.3.js} +0 -0
  21. data/app/assets/javascripts/kirgudu_base/jquery-2.1.1.js +9190 -0
  22. data/app/assets/javascripts/kirgudu_base/jquery-2.1.1.min.js +4 -0
  23. data/app/assets/javascripts/kirgudu_base/{jquery.blockUI.js → jquery.blockUI-2.45.js} +0 -0
  24. data/app/assets/javascripts/kirgudu_base/{jquery.bookblock.js → jquery.bookblock-1.0.2.js} +0 -0
  25. data/app/assets/javascripts/kirgudu_base/jquery.carouFredSel-6.2.1.js +4255 -0
  26. data/app/assets/javascripts/kirgudu_base/{chosen.jquery.min.js → jquery.chosen.min-0.9.8.js} +0 -0
  27. data/app/assets/javascripts/kirgudu_base/{jquery.colorbox.js → jquery.colorbox-1.4.37.js} +0 -0
  28. data/app/assets/javascripts/kirgudu_base/{jquery.container-management.js → jquery.containerManagement-1.0.js} +1 -1
  29. data/app/assets/javascripts/kirgudu_base/{jquery.cookie.js → jquery.cookie-1.3.1.js} +0 -0
  30. data/app/assets/javascripts/kirgudu_base/{fileinput.jquery.js → jquery.custom-file-input.js} +0 -0
  31. data/app/assets/javascripts/kirgudu_base/{jquery.dataTables.js → jquery.dataTables-1.9.3.js} +0 -0
  32. data/app/assets/javascripts/kirgudu_base/{jquery.easing.min.js → jquery.easing-1.3.min.js} +0 -0
  33. data/app/assets/javascripts/kirgudu_base/{jquery.endless-scroll.js → jquery.endlessScroll-1.8.0.js} +0 -0
  34. data/app/assets/javascripts/kirgudu_base/{jquery.fancybox copia.js → jquery.fancybox-2.1.5.js} +0 -0
  35. data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-buttons.js → jquery.fancybox-buttons-1.0.5.js} +0 -0
  36. data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-media.js → jquery.fancybox-media-1.0.6.js} +0 -0
  37. data/app/assets/javascripts/kirgudu_base/{jquery.fancybox-thumbs.js → jquery.fancybox-thumbs-1.0.7.js} +0 -0
  38. data/app/assets/javascripts/kirgudu_base/{jquery.flot.js → jquery.flot-0.7.js} +0 -0
  39. data/app/assets/javascripts/kirgudu_base/{jquery.flot.min.js → jquery.flot-0.7.min.js} +0 -0
  40. data/app/assets/javascripts/kirgudu_base/{fullcalendar.js → jquery.fullCalendar-1.5.4.js} +0 -0
  41. data/app/assets/javascripts/kirgudu_base/{fullcalendar.min.js → jquery.fullCalendar.min-1.6.4.js} +0 -0
  42. data/app/assets/javascripts/kirgudu_base/jquery.jcarousel-0.3.js +1411 -0
  43. data/app/assets/javascripts/kirgudu_base/jquery.jcarousel.min-0.3.1.js +4 -0
  44. data/app/assets/javascripts/kirgudu_base/jquery.jigowatt.js +1 -1
  45. data/app/assets/javascripts/kirgudu_base/{jquery.json.min.js → jquery.json-2.0.3.min.js} +0 -0
  46. data/app/assets/javascripts/kirgudu_base/{scripts_nrg.js → jquery.kirguduBase.js} +17 -0
  47. data/app/assets/javascripts/kirgudu_base/{jquery.maskedinput-1.3.js → jquery.maskedInput-1.3.js} +0 -0
  48. data/app/assets/javascripts/kirgudu_base/{jquery.simplemodal-1.4.4.js → jquery.simpleModal-1.4.4.js} +0 -0
  49. data/app/assets/javascripts/kirgudu_base/{jquery.smartWizard.js → jquery.smartWizard-3.3.1.js} +0 -0
  50. data/app/assets/javascripts/kirgudu_base/jquery.snippet-2.0.0.js +814 -0
  51. data/app/assets/javascripts/kirgudu_base/{jquery.sparkline.min.js → jquery.sparkline-2.1.2.min.js} +0 -0
  52. data/app/assets/javascripts/kirgudu_base/{jquery.tagsinput.js → jquery.tagsInput-1.3.3.js} +0 -0
  53. data/app/assets/javascripts/kirgudu_base/{textarea-autogrow.js → jquery.textareaAutogrow.js} +0 -0
  54. data/app/assets/javascripts/kirgudu_base/{jquery.tools.min.js → jquery.tools.min-1.2.7.js} +0 -0
  55. data/app/assets/javascripts/kirgudu_base/{jquery-ui.js → jquery.ui-1.10.4.js} +0 -0
  56. data/app/assets/javascripts/kirgudu_base/jquery.ui-1.10.4.min.js +12 -0
  57. data/app/assets/javascripts/kirgudu_base/{jquery.uploadify.min.js → jquery.uploadify-3.2.min.js} +0 -0
  58. data/app/assets/javascripts/kirgudu_base/{jquery.validate.min.js → jquery.validate-1.10.0.min.js} +0 -0
  59. data/app/assets/javascripts/kirgudu_base/{justgage.1.0.1.min.js → justgage-1.0.1.min.js} +0 -0
  60. data/app/assets/javascripts/kirgudu_base/{modernizr.custom.32549.js → modernizr-2.6.2.js} +0 -0
  61. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/404-fry.png +0 -0
  62. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ajax-loader.gif +0 -0
  63. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/alpha.png +0 -0
  64. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/alpha2.png +0 -0
  65. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/arrow.png +0 -0
  66. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/chosen-sprite.png +0 -0
  67. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/company_pxg.png +0 -0
  68. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_disabled.png +0 -0
  69. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_enabled.png +0 -0
  70. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/back_enabled_hover.png +0 -0
  71. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_disabled.png +0 -0
  72. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_enabled.png +0 -0
  73. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/forward_enabled_hover.png +0 -0
  74. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_asc.png +0 -0
  75. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_asc_disabled.png +0 -0
  76. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_both.png +0 -0
  77. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_desc.png +0 -0
  78. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/datatables/sort_desc_disabled.png +0 -0
  79. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/blank.gif +0 -0
  80. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_buttons.png +0 -0
  81. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_loading.gif +0 -0
  82. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_overlay.png +0 -0
  83. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/fancybox/fancybox_sprite.png +0 -0
  84. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/favicon.png +0 -0
  85. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/clock.png +0 -0
  86. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/clock2.png +0 -0
  87. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/coffee.png +0 -0
  88. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/coffee2.png +0 -0
  89. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/flipchart.png +0 -0
  90. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/flipchart2.png +0 -0
  91. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/sun.png +0 -0
  92. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/general/sun2.png +0 -0
  93. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/glyphicons-halflings-white.png +0 -0
  94. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/glyphicons-halflings.png +0 -0
  95. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/gradient1.png +0 -0
  96. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/hue2.png +0 -0
  97. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/icons-sa7c41345d9.png +0 -0
  98. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/error.png +0 -0
  99. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/loading.gif +0 -0
  100. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/play-pause.png +0 -0
  101. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/progressbar.gif +0 -0
  102. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/jquery-file-upload/video-play.png +0 -0
  103. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/login-corner.png +0 -0
  104. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/login-corner2.png +0 -0
  105. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/logo.png +0 -0
  106. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m1.png +0 -0
  107. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m2.png +0 -0
  108. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/maps/m3.png +0 -0
  109. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/calendar.png +0 -0
  110. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/dashboard.png +0 -0
  111. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/forms.png +0 -0
  112. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/gallery.png +0 -0
  113. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/grid.png +0 -0
  114. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/maps.png +0 -0
  115. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/others.png +0 -0
  116. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/statistics.png +0 -0
  117. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/tables.png +0 -0
  118. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_icons/widgets.png +0 -0
  119. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_top/profile-avatar.png +0 -0
  120. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/menu_top/profile-messages.png +0 -0
  121. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar1.png +0 -0
  122. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar2.png +0 -0
  123. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar3.png +0 -0
  124. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar4.png +0 -0
  125. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar5.png +0 -0
  126. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar6.png +0 -0
  127. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/message_avatar7.png +0 -0
  128. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark.png +0 -0
  129. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark2.png +0 -0
  130. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/bg_dark3.png +0 -0
  131. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/patterns/whitey.png +0 -0
  132. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/sample_avatar_big.jpg +0 -0
  133. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/saturation2.png +0 -0
  134. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/search.png +0 -0
  135. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/toggle.png +0 -0
  136. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_fine-grain_10_e7e7e7_60x60.png +0 -0
  137. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  138. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_flat_0_ef4622_40x100.png +0 -0
  139. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_glass_65_ffffff_1x400.png +0 -0
  140. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_100_e1e1e1_1x100.png +0 -0
  141. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  142. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_highlight-hard_75_dddddd_1x100.png +0 -0
  143. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  144. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_454545_256x240.png +0 -0
  145. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_525d66_256x240.png +0 -0
  146. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_cd0a0a_256x240.png +0 -0
  147. data/app/assets/{images/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/images}/ui-icons_ffffff_256x240.png +0 -0
  148. data/app/assets/{images/kirgudu_base → templates/kirgudu_base/admin/default/images}/uploadify-cancel.png +0 -0
  149. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/chosen.css +0 -0
  150. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/fullcalendar.css +0 -0
  151. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/info-message.css +0 -0
  152. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery-ui-1.8.23.custom.css +0 -0
  153. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox-buttons.css +0 -0
  154. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox-thumbs.css +0 -0
  155. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.fancybox.css +0 -0
  156. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/jquery.tagsinput.css +0 -0
  157. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/original.css +0 -0
  158. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/popbox.css +0 -0
  159. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/responsive.css +0 -0
  160. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/twitter/bootstrap.css +0 -0
  161. data/app/assets/{stylesheets/kirgudu_base/admin/default → templates/kirgudu_base/admin/default/stylesheets}/uploadify.css +0 -0
  162. data/app/assets/templates/kirgudu_base/admin/medialoot/images/breadcrumb_divider.png +0 -0
  163. data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_submit.png +0 -0
  164. data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_submit_2.png +0 -0
  165. data/app/assets/templates/kirgudu_base/admin/medialoot/images/btn_view_site.png +0 -0
  166. data/app/assets/templates/kirgudu_base/admin/medialoot/images/header_bg.png +0 -0
  167. data/app/assets/templates/kirgudu_base/admin/medialoot/images/header_shadow.png +0 -0
  168. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_add_user.png +0 -0
  169. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_error.png +0 -0
  170. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_info.png +0 -0
  171. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_success.png +0 -0
  172. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_alert_warning.png +0 -0
  173. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_audio.png +0 -0
  174. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_categories.png +0 -0
  175. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_edit.png +0 -0
  176. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_edit_article.png +0 -0
  177. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_folder.png +0 -0
  178. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_jump_back.png +0 -0
  179. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_logout.png +0 -0
  180. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_new_article.png +0 -0
  181. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_photo.png +0 -0
  182. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_profile.png +0 -0
  183. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_search.png +0 -0
  184. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_security.png +0 -0
  185. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_settings.png +0 -0
  186. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_tags.png +0 -0
  187. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_trash.png +0 -0
  188. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_user.png +0 -0
  189. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_video.png +0 -0
  190. data/app/assets/templates/kirgudu_base/admin/medialoot/images/icn_view_users.png +0 -0
  191. data/app/assets/templates/kirgudu_base/admin/medialoot/images/module_footer_bg.png +0 -0
  192. data/app/assets/templates/kirgudu_base/admin/medialoot/images/post_message.png +0 -0
  193. data/app/assets/templates/kirgudu_base/admin/medialoot/images/secondary_bar.png +0 -0
  194. data/app/assets/templates/kirgudu_base/admin/medialoot/images/secondary_bar_shadow.png +0 -0
  195. data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar.png +0 -0
  196. data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar_divider.png +0 -0
  197. data/app/assets/templates/kirgudu_base/admin/medialoot/images/sidebar_shadow.png +0 -0
  198. data/app/assets/templates/kirgudu_base/admin/medialoot/images/table_sorter_header.png +0 -0
  199. data/app/assets/templates/kirgudu_base/admin/medialoot/stylesheets/ie.css +43 -0
  200. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox-buttons.css +0 -0
  201. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox-thumbs.css +0 -0
  202. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/medialoot/stylesheets}/jquery.fancybox.css +0 -0
  203. data/app/assets/templates/kirgudu_base/admin/medialoot/stylesheets/layout.css +883 -0
  204. data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.eot +0 -0
  205. data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.svg +0 -0
  206. data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.ttf +0 -0
  207. data/app/assets/{stylesheets/kirgudu_base/admin/good/jquery-file-upload → templates/kirgudu_base/admin/zapanel}/fonts/glyphicons-halflings-regular.woff +0 -0
  208. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/404.png +0 -0
  209. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/500x600.gif +0 -0
  210. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(1).png +0 -0
  211. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(2).png +0 -0
  212. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/PhotoShare(3).png +0 -0
  213. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/ajax-loader.gif +0 -0
  214. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/arrow.png +0 -0
  215. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/arrows-active.png +0 -0
  216. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/arrows-normal.png +0 -0
  217. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/asd.png +0 -0
  218. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-1.png +0 -0
  219. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-2.png +0 -0
  220. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-4.png +0 -0
  221. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/avatar-8.png +0 -0
  222. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/banner.jpg +0 -0
  223. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg-texture.jpg +0 -0
  224. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg.jpg +0 -0
  225. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/bg1.jpg +0 -0
  226. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/blue-btn.jpg +0 -0
  227. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/body-bg.jpg +0 -0
  228. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/brown-btn.jpg +0 -0
  229. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-10.jpg +0 -0
  230. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-11.jpg +0 -0
  231. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-12.jpg +0 -0
  232. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-13.jpg +0 -0
  233. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-14.jpg +0 -0
  234. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-15.jpg +0 -0
  235. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-16.jpg +0 -0
  236. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-17.jpg +0 -0
  237. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-18.jpg +0 -0
  238. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-19.jpg +0 -0
  239. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-20.jpg +0 -0
  240. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-21.jpg +0 -0
  241. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-22.jpg +0 -0
  242. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-23.jpg +0 -0
  243. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-24.jpg +0 -0
  244. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-25.jpg +0 -0
  245. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-26.jpg +0 -0
  246. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-27.jpg +0 -0
  247. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-28.jpg +0 -0
  248. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-29.jpg +0 -0
  249. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-30.jpg +0 -0
  250. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-31.jpg +0 -0
  251. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-32.jpg +0 -0
  252. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-33.jpg +0 -0
  253. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-34.jpg +0 -0
  254. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-35.jpg +0 -0
  255. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-36.jpg +0 -0
  256. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-37.jpg +0 -0
  257. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-38.jpg +0 -0
  258. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-39.jpg +0 -0
  259. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-40.jpg +0 -0
  260. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-41.jpg +0 -0
  261. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-42.jpg +0 -0
  262. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-43.jpg +0 -0
  263. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-44.jpg +0 -0
  264. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-45.jpg +0 -0
  265. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-46.jpg +0 -0
  266. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-47.jpg +0 -0
  267. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-48.jpg +0 -0
  268. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-49.jpg +0 -0
  269. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-50.jpg +0 -0
  270. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-51.jpg +0 -0
  271. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-52.jpg +0 -0
  272. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-53.jpg +0 -0
  273. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-54.jpg +0 -0
  274. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-55.jpg +0 -0
  275. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-56.jpg +0 -0
  276. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-57.jpg +0 -0
  277. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-58.jpg +0 -0
  278. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-59.jpg +0 -0
  279. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-60.jpg +0 -0
  280. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-61.jpg +0 -0
  281. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-62.jpg +0 -0
  282. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-63.jpg +0 -0
  283. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-8.jpg +0 -0
  284. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/btn-9.jpg +0 -0
  285. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/cal.gif +0 -0
  286. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/chat-user1.jpg +0 -0
  287. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/chrome-icon.png +0 -0
  288. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/clockface.gif +0 -0
  289. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/clockface.png +0 -0
  290. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/crop.gif +0 -0
  291. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/cyan-btn.jpg +0 -0
  292. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/dark-theme-thumb.jpg +0 -0
  293. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/dark_leather.png +0 -0
  294. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/darkdenim3.png +0 -0
  295. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/dialogs.png +0 -0
  296. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images/elfinder}/logo.png +0 -0
  297. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/email-thumb.png +0 -0
  298. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/error.gif +0 -0
  299. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/fb.jpg +0 -0
  300. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/firefox-icon.png +0 -0
  301. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/globe.png +0 -0
  302. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/gray-btn.jpg +0 -0
  303. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/gray-gradient.jpg +0 -0
  304. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/green-btn.jpg +0 -0
  305. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/group.png +0 -0
  306. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/header-bg.jpg +0 -0
  307. data/app/assets/images/kirgudu_base/admin/good/hosting pic.png b/data/app/assets/templates/kirgudu_base/admin/zapanel/images/hosting → pic.png +0 -0
  308. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/hourhand.png +0 -0
  309. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/icons-big.png +0 -0
  310. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/icons-small.png +0 -0
  311. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/ie-icon.png +0 -0
  312. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/light-theme-thumb.jpg +0 -0
  313. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/loader.gif +0 -0
  314. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/logo.png +0 -0
  315. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/logo2.png +0 -0
  316. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/loud.png +0 -0
  317. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/mCSB_buttons.png +0 -0
  318. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/minhand.png +0 -0
  319. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/next_mon.gif +0 -0
  320. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/next_year.gif +0 -0
  321. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/no_cal.gif +0 -0
  322. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/opera-icon.png +0 -0
  323. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern.jpg +0 -0
  324. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern1.jpg +0 -0
  325. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern1.png +0 -0
  326. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern10.jpg +0 -0
  327. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern11.png +0 -0
  328. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern12.jpg +0 -0
  329. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern13.jpg +0 -0
  330. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern14.png +0 -0
  331. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern15.jpg +0 -0
  332. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern16.png +0 -0
  333. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern17.png +0 -0
  334. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern18.gif +0 -0
  335. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern19.jpg +0 -0
  336. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern2.jpg +0 -0
  337. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern20.jpg +0 -0
  338. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern21.jpg +0 -0
  339. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern22.jpg +0 -0
  340. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern23.jpg +0 -0
  341. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern24.jpg +0 -0
  342. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern25.jpg +0 -0
  343. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern26.jpg +0 -0
  344. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern27.jpg +0 -0
  345. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern28.gif +0 -0
  346. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern29.gif +0 -0
  347. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern3.jpg +0 -0
  348. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern30.jpg +0 -0
  349. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern31.png +0 -0
  350. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern32.png +0 -0
  351. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern33.jpg +0 -0
  352. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern34.png +0 -0
  353. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern4.jpg +0 -0
  354. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern5.jpg +0 -0
  355. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern6.jpg +0 -0
  356. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern7.jpg +0 -0
  357. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern8.jpg +0 -0
  358. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern9.jpg +0 -0
  359. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/pattern9.png +0 -0
  360. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/photo-profile.jpg +0 -0
  361. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/prev_mon.gif +0 -0
  362. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/prev_year.gif +0 -0
  363. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/price-gray.jpg +0 -0
  364. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/price-red.jpg +0 -0
  365. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product1.jpg +0 -0
  366. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product2.jpg +0 -0
  367. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product3.jpg +0 -0
  368. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product4.jpg +0 -0
  369. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/product5.jpg +0 -0
  370. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/progress.gif +0 -0
  371. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/purple-btn.jpg +0 -0
  372. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/quicklook-bg.png +0 -0
  373. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/quicklook-icons.png +0 -0
  374. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/red-btn.jpg +0 -0
  375. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/resize.png +0 -0
  376. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/rocket.png +0 -0
  377. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/rss.jpg +0 -0
  378. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/safari-icon.png +0 -0
  379. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen1.png +0 -0
  380. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen2.png +0 -0
  381. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen3.png +0 -0
  382. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen4.png +0 -0
  383. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/screen5.png +0 -0
  384. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/search-bg.png +0 -0
  385. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/search-icon.png +0 -0
  386. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sechand.png +0 -0
  387. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/section-pattern-bg.jpg +0 -0
  388. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/signup1.jpg +0 -0
  389. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/signup2.jpg +0 -0
  390. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-1.jpg +0 -0
  391. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-2.jpg +0 -0
  392. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/slider-img-3.jpg +0 -0
  393. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/spinner-mini.gif +0 -0
  394. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-flat.png +0 -0
  395. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-nice.png +0 -0
  396. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/sprite-skin-simple.png +0 -0
  397. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/success.gif +0 -0
  398. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/tag-arrow.png +0 -0
  399. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/tag-arrow2.png +0 -0
  400. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb.png +0 -0
  401. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb1.jpg +0 -0
  402. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb2.jpg +0 -0
  403. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb3.jpg +0 -0
  404. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/thumb4.jpg +0 -0
  405. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/toggle.png +0 -0
  406. data/app/assets/{images/kirgudu_base/admin/good/img → templates/kirgudu_base/admin/zapanel/images}/toolbar.png +0 -0
  407. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/triangles.png +0 -0
  408. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/twitter.jpg +0 -0
  409. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/typing-loading.gif +0 -0
  410. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/usd.png +0 -0
  411. data/app/assets/images/kirgudu_base/admin/good/user (2).jpg b/data/app/assets/templates/kirgudu_base/admin/zapanel/images/user → (2).jpg +0 -0
  412. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user-log-in.png +0 -0
  413. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user.jpg +0 -0
  414. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user.png +0 -0
  415. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user2.jpg +0 -0
  416. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user3.jpg +0 -0
  417. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/user4.jpg +0 -0
  418. data/app/assets/{images/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/images}/world-map.png +0 -0
  419. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/bootstrap.css +2 -2
  420. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/chosen.css +17 -17
  421. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/elfinder-theme.css +1 -1
  422. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/elfinder.min.css +21 -21
  423. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome-ie7.css +0 -0
  424. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome-ie7.min.css +0 -0
  425. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome.css +2 -2
  426. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/font-awesome.min.css +1 -1
  427. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/fullcalendar.css +0 -0
  428. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/fullcalendar.print.css +0 -0
  429. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/google-fonts-opensans.css +34 -0
  430. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/google-fonts-raleway.css +62 -0
  431. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.css +0 -0
  432. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.skinFlat.css +0 -0
  433. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/ion.rangeSlider.skinNice.css +1 -1
  434. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/blueimp-gallery.min.css +0 -0
  435. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/bootstrap.min.css +2 -2
  436. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/demo-ie8.css +0 -0
  437. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/demo.css +0 -0
  438. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-noscript.css +0 -0
  439. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-ui-noscript.css +0 -0
  440. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload-ui.css +0 -0
  441. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/jquery.fileupload.css +0 -0
  442. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-file-upload/style.css +0 -0
  443. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery-ui.css +9 -9
  444. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox-buttons.css +96 -0
  445. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox-thumbs.css +54 -0
  446. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.fancybox.css +249 -0
  447. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery.mCustomScrollbar.css +0 -0
  448. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/jquery.snippet.css +116 -0
  449. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/jquery.switchButton.css +0 -0
  450. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/purple.css +0 -0
  451. data/app/assets/templates/kirgudu_base/admin/zapanel/stylesheets/range-slider.normalize.min.css +236 -0
  452. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/responsive.css +0 -0
  453. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/style.css +29 -29
  454. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCore.css +0 -0
  455. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreDefault.css +0 -0
  456. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreDjango.css +0 -0
  457. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreEclipse.css +0 -0
  458. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreEmacs.css +0 -0
  459. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreFadeToGrey.css +0 -0
  460. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreMDUltra.css +0 -0
  461. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreMidnight.css +0 -0
  462. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shCoreRDark.css +0 -0
  463. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeDefault.css +0 -0
  464. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeDjango.css +0 -0
  465. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeEclipse.css +0 -0
  466. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeEmacs.css +0 -0
  467. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeFadeToGrey.css +0 -0
  468. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeMDUltra.css +0 -0
  469. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeMidnight.css +0 -0
  470. data/app/assets/{stylesheets/kirgudu_base → templates/kirgudu_base/admin/zapanel/stylesheets}/syntax-higlignter/shThemeRDark.css +0 -0
  471. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/admin/zapanel/stylesheets}/uploadify.css +1 -1
  472. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.eot +0 -0
  473. data/app/assets/{stylesheets/kirgudu_base/admin/good/fonts/FontAwesome.otf → templates/kirgudu_base/common/fonts/fontawesome-webfont.otf} +0 -0
  474. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.svg +0 -0
  475. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.ttf +0 -0
  476. data/app/assets/{stylesheets/kirgudu_base/admin/good → templates/kirgudu_base/common}/fonts/fontawesome-webfont.woff +0 -0
  477. data/app/assets/templates/kirgudu_base/common/fonts/opensans-bold.woff +0 -0
  478. data/app/assets/templates/kirgudu_base/common/fonts/opensans-extrabold.woff +0 -0
  479. data/app/assets/templates/kirgudu_base/common/fonts/opensans-light.woff +0 -0
  480. data/app/assets/templates/kirgudu_base/common/fonts/opensans-semibold.woff +0 -0
  481. data/app/assets/templates/kirgudu_base/common/fonts/opensans.woff +0 -0
  482. data/app/assets/templates/kirgudu_base/common/fonts/raleway-bold.woff +0 -0
  483. data/app/assets/templates/kirgudu_base/common/fonts/raleway-extrabold.woff +0 -0
  484. data/app/assets/templates/kirgudu_base/common/fonts/raleway-extralight.woff +0 -0
  485. data/app/assets/templates/kirgudu_base/common/fonts/raleway-heavy.woff +0 -0
  486. data/app/assets/templates/kirgudu_base/common/fonts/raleway-light.woff +0 -0
  487. data/app/assets/templates/kirgudu_base/common/fonts/raleway-medium.woff +0 -0
  488. data/app/assets/templates/kirgudu_base/common/fonts/raleway-semibold.woff +0 -0
  489. data/app/assets/templates/kirgudu_base/common/fonts/raleway-thin.woff +0 -0
  490. data/app/assets/templates/kirgudu_base/common/fonts/raleway.woff +0 -0
  491. data/app/controllers/kirgudu_base/admin_controller.rb +8 -15
  492. data/app/controllers/kirgudu_base/application_controller.rb +254 -322
  493. data/app/controllers/kirgudu_base/cabinet_controller.rb +3 -41
  494. data/app/controllers/kirgudu_base/dynamic_pages_controller.rb +1209 -0
  495. data/app/controllers/kirgudu_base/facade_controller.rb +3 -3
  496. data/app/controllers/kirgudu_base/security/authentications_controller.rb +178 -216
  497. data/app/controllers/kirgudu_base/security/login_providers_controller.rb +9 -0
  498. data/app/helpers/kirgudu_base/application_helper.rb +37 -75
  499. data/app/helpers/kirgudu_base/configuration_helper.rb +12 -0
  500. data/app/helpers/kirgudu_base/controllers/basic_actions.rb +243 -246
  501. data/app/helpers/kirgudu_base/controllers/container_items_management_actions.rb +12 -12
  502. data/app/helpers/kirgudu_base/controllers/dynamic_pages.rb +150 -130
  503. data/app/helpers/kirgudu_base/controllers/dynamic_transactions.rb +1 -1
  504. data/app/helpers/kirgudu_base/controllers/obligatory_filters.rb +1 -1
  505. data/app/helpers/kirgudu_base/gui_helper.rb +24 -0
  506. data/app/helpers/kirgudu_base/models/basic_properties.rb +135 -135
  507. data/app/helpers/kirgudu_base/models/before_query.rb +16 -0
  508. data/app/helpers/kirgudu_base/models/data_filter.rb +11 -93
  509. data/app/helpers/kirgudu_base/models/methods.rb +55 -55
  510. data/app/helpers/kirgudu_base/models/scopes.rb +70 -109
  511. data/app/helpers/kirgudu_base/system_prepare.rb +17 -0
  512. data/app/models/kirgudu_base/base_model.rb +70 -77
  513. data/app/models/kirgudu_base/common/portal.rb +4 -4
  514. data/app/models/kirgudu_base/common/portal_user.rb +2 -2
  515. data/app/models/kirgudu_base/concerns/models/administrated_by.rb +27 -0
  516. data/app/models/kirgudu_base/concerns/models/created_at.rb +36 -0
  517. data/app/models/kirgudu_base/concerns/models/created_by.rb +25 -0
  518. data/app/models/kirgudu_base/concerns/models/deletion_status_id.rb +28 -0
  519. data/app/models/kirgudu_base/concerns/models/managed_by.rb +25 -0
  520. data/app/models/kirgudu_base/concerns/models/name.rb +36 -0
  521. data/app/models/kirgudu_base/concerns/models/owned_by.rb +26 -0
  522. data/app/models/kirgudu_base/concerns/models/person_age.rb +49 -0
  523. data/app/models/kirgudu_base/concerns/models/person_full_name.rb +41 -0
  524. data/app/models/kirgudu_base/concerns/models/portal_id.rb +26 -0
  525. data/app/models/kirgudu_base/concerns/models/portal_user_id.rb +26 -0
  526. data/app/models/kirgudu_base/concerns/models/slug.rb +43 -0
  527. data/app/models/kirgudu_base/concerns/models/status_id.rb +28 -0
  528. data/app/models/kirgudu_base/concerns/models/title.rb +40 -0
  529. data/app/models/kirgudu_base/concerns/models/updated_at.rb +41 -0
  530. data/app/models/kirgudu_base/concerns/models/updated_by.rb +29 -0
  531. data/app/models/kirgudu_base/concerns/models/user_id.rb +35 -0
  532. data/app/models/kirgudu_base/dynamic/base_builder.rb +45 -0
  533. data/app/models/kirgudu_base/dynamic/base_model.rb +18 -0
  534. data/app/models/kirgudu_base/dynamic/breadcrumbs/item.rb +79 -0
  535. data/app/models/kirgudu_base/dynamic/data_filters/obligatory_filter.rb +22 -0
  536. data/app/models/kirgudu_base/dynamic/data_filters/obligatory_filter_builder.rb +46 -0
  537. data/app/models/kirgudu_base/dynamic/properties/interpret_as_builder.rb +21 -0
  538. data/app/models/kirgudu_base/dynamic/properties/interprete_as.rb +14 -0
  539. data/app/models/kirgudu_base/dynamic/transactions/enums.rb +11 -0
  540. data/app/models/kirgudu_base/dynamic/transactions/injection.rb +24 -0
  541. data/app/models/kirgudu_base/{dynamic_transactions/transaction_injection_builder.rb → dynamic/transactions/injection_builder.rb} +2 -8
  542. data/app/models/kirgudu_base/dynamic_pages/builder.rb +49 -50
  543. data/app/models/kirgudu_base/dynamic_pages/data_source.rb +56 -57
  544. data/app/models/kirgudu_base/dynamic_pages/data_source_builder.rb +63 -59
  545. data/app/models/kirgudu_base/dynamic_pages/element.rb +3 -6
  546. data/app/models/kirgudu_base/dynamic_pages/entry.rb +23 -25
  547. data/app/models/kirgudu_base/dynamic_pages/entry_builder.rb +32 -34
  548. data/app/models/kirgudu_base/dynamic_pages/entry_properties_block_builder.rb +2 -4
  549. data/app/models/kirgudu_base/dynamic_pages/entry_property.rb +1 -3
  550. data/app/models/kirgudu_base/dynamic_pages/entry_property_builder.rb +28 -30
  551. data/app/models/kirgudu_base/dynamic_pages/enums.rb +56 -59
  552. data/app/models/kirgudu_base/dynamic_pages/event.rb +19 -21
  553. data/app/models/kirgudu_base/dynamic_pages/event_action.rb +35 -38
  554. data/app/models/kirgudu_base/dynamic_pages/event_action_builder.rb +37 -39
  555. data/app/models/kirgudu_base/dynamic_pages/event_action_constraint.rb +19 -21
  556. data/app/models/kirgudu_base/dynamic_pages/event_action_constraint_builder.rb +27 -29
  557. data/app/models/kirgudu_base/dynamic_pages/event_builder.rb +30 -32
  558. data/app/models/kirgudu_base/dynamic_pages/event_if_block_builder.rb +21 -23
  559. data/app/models/kirgudu_base/dynamic_pages/filter.rb +19 -21
  560. data/app/models/kirgudu_base/dynamic_pages/filter_builder.rb +23 -25
  561. data/app/models/kirgudu_base/dynamic_pages/form.rb +27 -26
  562. data/app/models/kirgudu_base/dynamic_pages/form_builder.rb +55 -48
  563. data/app/models/kirgudu_base/dynamic_pages/form_elements_block_builder.rb +21 -23
  564. data/app/models/kirgudu_base/dynamic_pages/form_properties_block_builder.rb +16 -18
  565. data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set.rb +11 -12
  566. data/app/models/kirgudu_base/dynamic_pages/form_properties_named_set_builder.rb +12 -13
  567. data/app/models/kirgudu_base/dynamic_pages/form_property.rb +31 -32
  568. data/app/models/kirgudu_base/dynamic_pages/form_property_builder.rb +35 -36
  569. data/app/models/kirgudu_base/dynamic_pages/form_tab.rb +9 -10
  570. data/app/models/kirgudu_base/dynamic_pages/form_tab_builder.rb +2 -3
  571. data/app/models/kirgudu_base/dynamic_pages/group.rb +15 -17
  572. data/app/models/kirgudu_base/dynamic_pages/group_builder.rb +18 -22
  573. data/app/models/kirgudu_base/dynamic_pages/html_css.rb +13 -0
  574. data/app/models/kirgudu_base/dynamic_pages/html_css_builder.rb +24 -0
  575. data/app/models/kirgudu_base/dynamic_pages/html_header.rb +15 -0
  576. data/app/models/kirgudu_base/dynamic_pages/html_header_builder.rb +40 -0
  577. data/app/models/kirgudu_base/dynamic_pages/html_meta.rb +15 -0
  578. data/app/models/kirgudu_base/dynamic_pages/html_meta_builder.rb +36 -0
  579. data/app/models/kirgudu_base/dynamic_pages/html_script.rb +21 -0
  580. data/app/models/kirgudu_base/dynamic_pages/html_script_builder.rb +25 -0
  581. data/app/models/kirgudu_base/dynamic_pages/http_client.rb +47 -0
  582. data/app/models/kirgudu_base/dynamic_pages/http_client_builder.rb +80 -0
  583. data/app/models/kirgudu_base/dynamic_pages/input_type.rb +18 -16
  584. data/app/models/kirgudu_base/dynamic_pages/link.rb +17 -0
  585. data/app/models/kirgudu_base/dynamic_pages/link_builder.rb +5 -0
  586. data/app/models/kirgudu_base/dynamic_pages/list.rb +32 -31
  587. data/app/models/kirgudu_base/dynamic_pages/list_builder.rb +9 -3
  588. data/app/models/kirgudu_base/dynamic_pages/list_cell.rb +20 -22
  589. data/app/models/kirgudu_base/dynamic_pages/list_cell_builder.rb +29 -31
  590. data/app/models/kirgudu_base/dynamic_pages/list_cells_block_builder.rb +11 -13
  591. data/app/models/kirgudu_base/dynamic_pages/list_filters_block_builder.rb +12 -13
  592. data/app/models/kirgudu_base/dynamic_pages/list_properties_block_builder.rb +11 -13
  593. data/app/models/kirgudu_base/dynamic_pages/list_property.rb +20 -22
  594. data/app/models/kirgudu_base/dynamic_pages/list_property_builder.rb +27 -29
  595. data/app/models/kirgudu_base/dynamic_pages/management_settings.rb +20 -21
  596. data/app/models/kirgudu_base/dynamic_pages/management_settings_builder.rb +30 -32
  597. data/app/models/kirgudu_base/dynamic_pages/menu.rb +26 -28
  598. data/app/models/kirgudu_base/dynamic_pages/menu_builder.rb +34 -33
  599. data/app/models/kirgudu_base/dynamic_pages/menu_item.rb +30 -62
  600. data/app/models/kirgudu_base/dynamic_pages/menu_item_builder.rb +28 -39
  601. data/app/models/kirgudu_base/dynamic_pages/menu_items_block_builder.rb +19 -19
  602. data/app/models/kirgudu_base/dynamic_pages/menu_section.rb +23 -25
  603. data/app/models/kirgudu_base/dynamic_pages/menu_section_builder.rb +23 -25
  604. data/app/models/kirgudu_base/dynamic_pages/page.rb +7 -5
  605. data/app/models/kirgudu_base/dynamic_pages/page_builder.rb +94 -80
  606. data/app/models/kirgudu_base/dynamic_pages/page_element.rb +42 -42
  607. data/app/models/kirgudu_base/dynamic_pages/page_element_builder.rb +7 -5
  608. data/app/models/kirgudu_base/dynamic_pages/page_elements_block_builder.rb +51 -57
  609. data/app/models/kirgudu_base/dynamic_pages/page_tab.rb +18 -19
  610. data/app/models/kirgudu_base/dynamic_pages/page_tab_builder.rb +46 -47
  611. data/app/models/kirgudu_base/dynamic_pages/parent_element.rb +19 -21
  612. data/app/models/kirgudu_base/dynamic_pages/parent_element_builder.rb +24 -28
  613. data/app/models/kirgudu_base/dynamic_pages/property.rb +30 -32
  614. data/app/models/kirgudu_base/dynamic_pages/property_builder.rb +49 -53
  615. data/app/models/kirgudu_base/dynamic_pages/property_events_block_builder.rb +21 -22
  616. data/app/models/kirgudu_base/dynamic_pages/relation.rb +13 -14
  617. data/app/models/kirgudu_base/dynamic_pages/relation_builder.rb +24 -26
  618. data/app/models/kirgudu_base/dynamic_pages/sorting_settings.rb +19 -20
  619. data/app/models/kirgudu_base/dynamic_pages/sorting_settings_builder.rb +30 -32
  620. data/app/models/kirgudu_base/dynamic_pages/url.rb +61 -0
  621. data/app/models/kirgudu_base/dynamic_pages/{controller_link_builder.rb → url_builder.rb} +8 -8
  622. data/app/models/kirgudu_base/dynamic_pages/url_parameter.rb +42 -0
  623. data/app/models/kirgudu_base/dynamic_pages/url_parameter_builder.rb +40 -0
  624. data/app/models/kirgudu_base/dynamic_pages/widget.rb +4 -6
  625. data/app/models/kirgudu_base/dynamic_pages/widget_builder.rb +10 -12
  626. data/app/models/kirgudu_base/security/authentication.rb +4 -4
  627. data/app/models/kirgudu_base/security/email_confirmation.rb +1 -1
  628. data/app/models/kirgudu_base/security/login_provider.rb +64 -0
  629. data/app/models/kirgudu_base/security/restore_password_code.rb +1 -1
  630. data/app/models/kirgudu_base/security/user.rb +34 -15
  631. data/app/models/kirgudu_base/settings/group.rb +3 -3
  632. data/app/models/kirgudu_base/settings/option.rb +3 -3
  633. data/app/models/kirgudu_base/settings/value.rb +3 -3
  634. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/index.html.erb +0 -0
  635. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/modules.html.erb +0 -0
  636. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/dashboard/stats.html.erb +0 -0
  637. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/layouts/application.html.erb +25 -23
  638. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/_attach_file_uploader.html.erb +0 -0
  639. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_index.html.erb +0 -0
  640. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_manage.html.erb +0 -0
  641. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_items_sort_index.html.erb +0 -0
  642. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_images/managing_upload_images.html.erb +0 -0
  643. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_index.html.erb +0 -0
  644. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_manage.html.erb +0 -0
  645. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/shared/manage_items/managing_items_sort_index.html.erb +0 -0
  646. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/edit.html.erb +0 -0
  647. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/index.html.erb +0 -0
  648. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/new.html.erb +0 -0
  649. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/groups/show.html.erb +0 -0
  650. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/edit.html.erb +0 -0
  651. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/index.html.erb +0 -0
  652. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/new.html.erb +0 -0
  653. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/options/show.html.erb +0 -0
  654. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/edit.html.erb +0 -0
  655. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/index.html.erb +0 -0
  656. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/new.html.erb +0 -0
  657. data/app/views/{admin_templates → kirgudu_base/admin}/default/admin/system/settings/values/show.html.erb +0 -0
  658. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/layouts/application.html.erb +1 -1
  659. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_body_javascripts_files.html.erb +0 -0
  660. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_body_javascripts_scripts.html.erb +0 -0
  661. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_breadcrumbs.html.erb +0 -0
  662. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_head_javascripts.html.erb +0 -0
  663. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_head_stylesheets.html.erb +0 -0
  664. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_index_page_filter.html.erb +0 -0
  665. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_left_menu_standard_actions.html.erb +0 -0
  666. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_services_top_line.html.erb +0 -0
  667. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/_top_nav_bar.html.erb +3 -3
  668. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_edit_form_renderer.html.erb +0 -0
  669. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_index_renderer.html.erb +0 -0
  670. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_new_form_renderer.html.erb +0 -0
  671. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_not_found_renderer.html.erb +0 -0
  672. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/entry_show_renderer.html.erb +0 -0
  673. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_index.html.erb +0 -0
  674. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_manage.html.erb +0 -0
  675. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_images/managing_items_sort_index.html.erb +0 -0
  676. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_index.html.erb +0 -0
  677. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_manage.html.erb +0 -0
  678. data/app/views/{admin_templates → kirgudu_base/admin}/erp/admin/shared/manage_items/managing_items_sort_index.html.erb +0 -0
  679. data/app/views/{admin_templates/good/admin/shared/_left_menu_item.html.erb → kirgudu_base/admin/medialoot/common/dashboard.html.erb} +0 -0
  680. data/app/views/kirgudu_base/admin/medialoot/common/edit.html.erb +68 -0
  681. data/app/views/kirgudu_base/admin/medialoot/common/index.html.erb +121 -0
  682. data/app/views/kirgudu_base/admin/medialoot/common/new.html.erb +62 -0
  683. data/app/views/kirgudu_base/admin/medialoot/common/show.html.erb +146 -0
  684. data/app/views/kirgudu_base/admin/medialoot/layouts/application.html.erb +143 -0
  685. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/medialoot}/shared/_breadcrumbs.html.erb +8 -6
  686. data/app/views/kirgudu_base/admin/medialoot/shared/_left_menu.html.erb +13 -0
  687. data/app/views/kirgudu_base/admin/medialoot/shared/entry_not_found.html.erb +3 -0
  688. data/app/views/{admin_templates/good/admin/shared/renderer_delete.html.erb → kirgudu_base/admin/medialoot/sso/dashboard/index.html.erb} +0 -0
  689. data/app/views/{admin_templates/good/admin/dashboard/index.html.erb → kirgudu_base/admin/zapanel/common/dashboard.html.erb} +246 -245
  690. data/app/views/{admin_templates/good/kirgudu_base/old/restore.html.erb → kirgudu_base/admin/zapanel/common/delete.html.erb} +0 -0
  691. data/app/views/{admin_templates/good/admin/shared/renderer_edit.html.erb → kirgudu_base/admin/zapanel/common/edit.html.erb} +45 -25
  692. data/app/views/{admin_templates/good_flexy/admin/common/files/upload.html.erb → kirgudu_base/admin/zapanel/common/file_upload.html.erb} +6 -6
  693. data/app/views/{admin_templates/good/admin/common/images/mass_upload.html.erb → kirgudu_base/admin/zapanel/common/image_upload.html.erb} +0 -0
  694. data/app/views/kirgudu_base/admin/zapanel/common/index.html.erb +174 -0
  695. data/app/views/kirgudu_base/admin/zapanel/common/index_temp.html.erb +192 -0
  696. data/app/views/{admin_templates/good/admin/shared/renderer_management.html.erb → kirgudu_base/admin/zapanel/common/management.html.erb} +0 -0
  697. data/app/views/{admin_templates/good/admin/shared/renderer_new.html.erb → kirgudu_base/admin/zapanel/common/new.html.erb} +10 -8
  698. data/app/views/kirgudu_base/admin/zapanel/common/show.html.erb +270 -0
  699. data/app/views/{admin_templates/good/admin/shared/renderer_show.html.erb → kirgudu_base/admin/zapanel/common/show_temp.html.erb} +98 -86
  700. data/app/views/{admin_templates/good/admin/shared/renderer_sorting.html.erb → kirgudu_base/admin/zapanel/common/sorting.html.erb} +0 -0
  701. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/layouts/application.html.erb +97 -82
  702. data/app/views/{admin_templates/good_flexy/admin → kirgudu_base/admin/zapanel}/shared/_breadcrumbs.html.erb +1 -1
  703. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_chat.html.erb +1 -1
  704. data/app/views/kirgudu_base/admin/zapanel/shared/_left_menu.html.erb +46 -0
  705. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_emails.html.erb +1 -1
  706. data/app/views/{admin_templates/good_flexy/admin/shared/renderer_delete.html.erb → kirgudu_base/admin/zapanel/shared/_left_menu_item.html.erb} +0 -0
  707. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_section.html.erb +1 -1
  708. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_social_stats.html.erb +3 -3
  709. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_left_menu_tags.html.erb +0 -0
  710. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/_sticky_notification.html.erb +0 -0
  711. data/app/views/kirgudu_base/admin/zapanel/shared/_top_menu_complex.html.erb +7 -0
  712. data/app/views/kirgudu_base/admin/zapanel/shared/_top_menu_simple.html.erb +5 -0
  713. data/app/views/{admin_templates/good/admin → kirgudu_base/admin/zapanel}/shared/entry_not_found.html.erb +0 -0
  714. data/app/views/{admin_templates/good/admin/shared/404.html.erb → kirgudu_base/admin/zapanel/shared/page_404.html.erb} +0 -0
  715. data/app/views/{admin_templates/good/kirgudu_base/authentications → kirgudu_base/authentications/zapanel}/login.html.erb +0 -0
  716. data/app/views/{admin_templates/good/kirgudu_base/authentications → kirgudu_base/authentications/zapanel}/register.html.erb +0 -0
  717. data/config/locales/kirgudu_base.en.yml +138 -1
  718. data/config/locales/kirgudu_base.es.yml +138 -1
  719. data/config/locales/kirgudu_base.ru.yml +70 -1
  720. data/db/migrate/20130913084129_create_kirgudu_base_security_users.rb +10 -3
  721. data/db/migrate/20140413134252_create_kirgudu_base_security_authentications.rb +2 -2
  722. data/db/migrate/20140413201121_add_confirmations_kirgudu_base_security_users.rb +2 -2
  723. data/db/migrate/20140517202608_create_kirgudu_base_security_login_providers.rb +24 -0
  724. data/db/migrate/20140712073938_change_deletion_statsus_in_security_user.rb +5 -0
  725. data/db/migrate/20140712074215_change_deletion_statsus_in_common_portal.rb +5 -0
  726. data/db/migrate/20140712074220_change_deletion_statsus_in_common_portal_user.rb +5 -0
  727. data/lib/kirgudu_base/engine.rb +1 -0
  728. data/test/fixtures/kirgudu_base/security/login_providers.yml +13 -0
  729. data/test/fixtures/kirgudu_base/sso/login_providers.yml +13 -0
  730. data/test/models/kirgudu_base/security/login_provider_test.rb +9 -0
  731. data/test/models/kirgudu_base/sso/login_provider_test.rb +9 -0
  732. metadata +638 -642
  733. data/app/assets/images/kirgudu_base/web/banner.jpg +0 -0
  734. data/app/assets/images/kirgudu_base/web/black.png +0 -0
  735. data/app/assets/images/kirgudu_base/web/body.png +0 -0
  736. data/app/assets/images/kirgudu_base/web/col_img1.jpg +0 -0
  737. data/app/assets/images/kirgudu_base/web/col_img2.jpg +0 -0
  738. data/app/assets/images/kirgudu_base/web/coll_campaign.png +0 -0
  739. data/app/assets/images/kirgudu_base/web/coll_list_head.png +0 -0
  740. data/app/assets/images/kirgudu_base/web/coll_new.png +0 -0
  741. data/app/assets/images/kirgudu_base/web/coll_no_img.png +0 -0
  742. data/app/assets/images/kirgudu_base/web/coll_podr.png +0 -0
  743. data/app/assets/images/kirgudu_base/web/factory.jpg +0 -0
  744. data/app/assets/images/kirgudu_base/web/fancybox/blank.gif +0 -0
  745. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_buttons.png +0 -0
  746. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_loading.gif +0 -0
  747. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_overlay.png +0 -0
  748. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite.png +0 -0
  749. data/app/assets/images/kirgudu_base/web/fancybox/fancybox_sprite1.png +0 -0
  750. data/app/assets/images/kirgudu_base/web/flag1.jpg +0 -0
  751. data/app/assets/images/kirgudu_base/web/flag2.jpg +0 -0
  752. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.css +0 -8
  753. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.eot +0 -0
  754. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.svg +0 -7555
  755. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.ttf +0 -0
  756. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadpro-cond.woff +0 -0
  757. data/app/assets/images/kirgudu_base/web/fonts/MyriadPro-Cond/myriadprocond.eot +0 -0
  758. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.css +0 -8
  759. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.eot +0 -0
  760. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.svg +0 -7887
  761. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.ttf +0 -0
  762. data/app/assets/images/kirgudu_base/web/fonts/myriad_pro/myriadpro-regular.woff +0 -0
  763. data/app/assets/images/kirgudu_base/web/green.png +0 -0
  764. data/app/assets/images/kirgudu_base/web/grey.png +0 -0
  765. data/app/assets/images/kirgudu_base/web/header_black.png +0 -0
  766. data/app/assets/images/kirgudu_base/web/kolonna.png +0 -0
  767. data/app/assets/images/kirgudu_base/web/li_1.png +0 -0
  768. data/app/assets/images/kirgudu_base/web/li_2.png +0 -0
  769. data/app/assets/images/kirgudu_base/web/li_3.png +0 -0
  770. data/app/assets/images/kirgudu_base/web/li_4.png +0 -0
  771. data/app/assets/images/kirgudu_base/web/li_5.png +0 -0
  772. data/app/assets/images/kirgudu_base/web/logo.png +0 -0
  773. data/app/assets/images/kirgudu_base/web/map.png +0 -0
  774. data/app/assets/images/kirgudu_base/web/map_2.png +0 -0
  775. data/app/assets/images/kirgudu_base/web/nav_active.png +0 -0
  776. data/app/assets/images/kirgudu_base/web/nognicy.png +0 -0
  777. data/app/assets/images/kirgudu_base/web/orange.png +0 -0
  778. data/app/assets/images/kirgudu_base/web/pagination.png +0 -0
  779. data/app/assets/images/kirgudu_base/web/pdf.png +0 -0
  780. data/app/assets/images/kirgudu_base/web/plit_1.jpg +0 -0
  781. data/app/assets/images/kirgudu_base/web/plit_2.jpg +0 -0
  782. data/app/assets/images/kirgudu_base/web/plit_3.jpg +0 -0
  783. data/app/assets/images/kirgudu_base/web/plit_4.jpg +0 -0
  784. data/app/assets/images/kirgudu_base/web/post_img.jpg +0 -0
  785. data/app/assets/images/kirgudu_base/web/red_line.png +0 -0
  786. data/app/assets/images/kirgudu_base/web/shadow_bottom.png +0 -0
  787. data/app/assets/images/kirgudu_base/web/shadow_top.png +0 -0
  788. data/app/assets/images/kirgudu_base/web/show-room.php +0 -71
  789. data/app/assets/images/kirgudu_base/web/slider.png +0 -0
  790. data/app/assets/images/kirgudu_base/web/slider_bg.png +0 -0
  791. data/app/assets/images/kirgudu_base/web/slider_but.png +0 -0
  792. data/app/assets/images/kirgudu_base/web/sprite_index.png +0 -0
  793. data/app/assets/images/kirgudu_base/web/sprite_vert.png +0 -0
  794. data/app/assets/images/kirgudu_base/web/top_nav.png +0 -0
  795. data/app/assets/images/kirgudu_base/web/transperent_bg.png +0 -0
  796. data/app/assets/images/kirgudu_base/web/transperent_bg1.png +0 -0
  797. data/app/assets/images/kirgudu_base/web/up_down.png +0 -0
  798. data/app/assets/images/kirgudu_base/web/yellow.png +0 -0
  799. data/app/assets/javascripts/kirgudu_base/application.js +0 -15
  800. data/app/assets/javascripts/kirgudu_base/delete.js +0 -67
  801. data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min.js +0 -125
  802. data/app/assets/javascripts/kirgudu_base/jquery-ui-1.8.23.custom.min_d9931121.js +0 -125
  803. data/app/assets/javascripts/kirgudu_base/jquery.fancybox.js +0 -2020
  804. data/app/assets/javascripts/kirgudu_base/jquery.jcarousel.min.js +0 -16
  805. data/app/assets/javascripts/kirgudu_base/jquery.json-2.3.min.js +0 -23
  806. data/app/assets/javascripts/kirgudu_base/jquery.uploadify.js +0 -986
  807. data/app/assets/javascripts/kirgudu_base/movie_data.js +0 -2347
  808. data/app/assets/javascripts/kirgudu_base/scripts_OLD.js +0 -204
  809. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.eot +0 -0
  810. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.svg +0 -255
  811. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.ttf +0 -0
  812. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont.woff +0 -0
  813. data/app/assets/stylesheets/kirgudu_base/admin/default/fonts/fontawesome-webfont_2d2816fe.eot +0 -0
  814. data/app/assets/stylesheets/kirgudu_base/admin/good/range-slider.normalize.min.css +0 -50
  815. data/app/helpers/kirgudu_base/controllers/OLD_basic_actions.rb +0 -449
  816. data/app/helpers/kirgudu_base/controllers/basic_actions_with_subordinates.rb +0 -67
  817. data/app/models/kirgudu_base/dynamic_filters/obligatory_filter.rb +0 -24
  818. data/app/models/kirgudu_base/dynamic_filters/obligatory_filter_builder.rb +0 -47
  819. data/app/models/kirgudu_base/dynamic_pages/controller_link.rb +0 -40
  820. data/app/models/kirgudu_base/dynamic_pages/controller_link_id.rb +0 -35
  821. data/app/models/kirgudu_base/dynamic_pages/controller_link_id_builder.rb +0 -38
  822. data/app/models/kirgudu_base/dynamic_transactions/enums.rb +0 -13
  823. data/app/models/kirgudu_base/dynamic_transactions/transaction_injection.rb +0 -25
  824. data/app/models/kirgudu_base/security/autheintication.rb +0 -4
  825. data/app/views/admin_templates/good/admin/common/files/upload.html.erb +0 -203
  826. data/app/views/admin_templates/good/admin/layouts/OLD_application.html.erb +0 -518
  827. data/app/views/admin_templates/good/admin/shared/_left_menu.html.erb +0 -148
  828. data/app/views/admin_templates/good/admin/shared/render_new_OLD.html.erb +0 -90
  829. data/app/views/admin_templates/good/admin/shared/renderer_edit_OLD.html.erb +0 -106
  830. data/app/views/admin_templates/good/admin/shared/renderer_entries_list.html.erb +0 -178
  831. data/app/views/admin_templates/good/admin/shared/renderer_entries_list_with_parent.html.erb +0 -149
  832. data/app/views/admin_templates/good/admin/shared/renderer_show_OLD.html.erb +0 -159
  833. data/app/views/admin_templates/good/kirgudu_base/old/login_page.html.erb +0 -253
  834. data/app/views/admin_templates/good/kirgudu_base/old/show.html.erb +0 -39
  835. data/app/views/admin_templates/good_flexy/admin/common/images/mass_upload.html.erb +0 -9
  836. data/app/views/admin_templates/good_flexy/admin/dashboard/index.html.erb +0 -568
  837. data/app/views/admin_templates/good_flexy/admin/layouts/OLD_application.html.erb +0 -518
  838. data/app/views/admin_templates/good_flexy/admin/layouts/application.html.erb +0 -1297
  839. data/app/views/admin_templates/good_flexy/admin/shared/404.html.erb +0 -29
  840. data/app/views/admin_templates/good_flexy/admin/shared/_chat.html.erb +0 -49
  841. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu.html.erb +0 -144
  842. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_emails.html.erb +0 -20
  843. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_social_stats.html.erb +0 -20
  844. data/app/views/admin_templates/good_flexy/admin/shared/_left_menu_tags.html.erb +0 -3
  845. data/app/views/admin_templates/good_flexy/admin/shared/_sticky_notification.html.erb +0 -11
  846. data/app/views/admin_templates/good_flexy/admin/shared/entry_not_found.html.erb +0 -1
  847. data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list.html.erb +0 -165
  848. data/app/views/admin_templates/good_flexy/admin/shared/renderer_entries_list_with_parent.html.erb +0 -149
  849. data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_edit.html.erb +0 -119
  850. data/app/views/admin_templates/good_flexy/admin/shared/renderer_form_new.html.erb +0 -90
  851. data/app/views/admin_templates/good_flexy/admin/shared/renderer_page_elements.html.erb +0 -11
  852. data/app/views/admin_templates/good_flexy/admin/shared/renderer_show.html.erb +0 -149
  853. data/app/views/security/authentications/login_page.html.erb +0 -253
  854. data/app/views/security/authentications/restore.html.erb +0 -0
  855. data/app/views/security/authentications/show.html.erb +0 -35
  856. data/app/views/shared/kirgudu_base/manage_images/managing_items_index.html.erb +0 -34
  857. data/app/views/shared/kirgudu_base/manage_images/managing_items_manage.html.erb +0 -72
  858. data/app/views/shared/kirgudu_base/manage_images/managing_items_sort_index.html.erb +0 -33
  859. data/app/views/shared/kirgudu_base/manage_items/managing_items_index.html.erb +0 -42
  860. data/app/views/shared/kirgudu_base/manage_items/managing_items_manage.html.erb +0 -66
  861. data/app/views/shared/kirgudu_base/manage_items/managing_items_sort_index.html.erb +0 -33
@@ -1,2020 +0,0 @@
1
- /*!
2
- * fancyBox - jQuery Plugin
3
- * version: 2.1.5 (Fri, 14 Jun 2013)
4
- * @requires jQuery v1.6 or later
5
- *
6
- * Examples at http://fancyapps.com/fancybox/
7
- * License: www.fancyapps.com/fancybox/#license
8
- *
9
- * Copyright 2012 Janis Skarnelis - janis@fancyapps.com
10
- *
11
- */
12
-
13
- (function (window, document, $, undefined) {
14
- "use strict";
15
-
16
- var H = $("html"),
17
- W = $(window),
18
- D = $(document),
19
- F = $.fancybox = function () {
20
- F.open.apply( this, arguments );
21
- },
22
- IE = navigator.userAgent.match(/msie/i),
23
- didUpdate = null,
24
- isTouch = document.createTouch !== undefined,
25
-
26
- isQuery = function(obj) {
27
- return obj && obj.hasOwnProperty && obj instanceof $;
28
- },
29
- isString = function(str) {
30
- return str && $.type(str) === "string";
31
- },
32
- isPercentage = function(str) {
33
- return isString(str) && str.indexOf('%') > 0;
34
- },
35
- isScrollable = function(el) {
36
- return (el && !(el.style.overflow && el.style.overflow === 'hidden') && ((el.clientWidth && el.scrollWidth > el.clientWidth) || (el.clientHeight && el.scrollHeight > el.clientHeight)));
37
- },
38
- getScalar = function(orig, dim) {
39
- var value = parseInt(orig, 10) || 0;
40
-
41
- if (dim && isPercentage(orig)) {
42
- value = F.getViewport()[ dim ] / 100 * value;
43
- }
44
-
45
- return Math.ceil(value);
46
- },
47
- getValue = function(value, dim) {
48
- return getScalar(value, dim) + 'px';
49
- };
50
-
51
- $.extend(F, {
52
- // The current version of fancyBox
53
- version: '2.1.5',
54
-
55
- defaults: {
56
- padding : 15,
57
- margin : 20,
58
-
59
- width : 800,
60
- height : 600,
61
- minWidth : 100,
62
- minHeight : 100,
63
- maxWidth : 9999,
64
- maxHeight : 9999,
65
- pixelRatio: 1, // Set to 2 for retina display support
66
-
67
- autoSize : true,
68
- autoHeight : false,
69
- autoWidth : false,
70
-
71
- autoResize : true,
72
- autoCenter : !isTouch,
73
- fitToView : true,
74
- aspectRatio : false,
75
- topRatio : 0.5,
76
- leftRatio : 0.5,
77
-
78
- scrolling : 'auto', // 'auto', 'yes' or 'no'
79
- wrapCSS : '',
80
-
81
- arrows : true,
82
- closeBtn : true,
83
- closeClick : false,
84
- nextClick : false,
85
- mouseWheel : true,
86
- autoPlay : false,
87
- playSpeed : 3000,
88
- preload : 3,
89
- modal : false,
90
- loop : true,
91
-
92
- ajax : {
93
- dataType : 'html',
94
- headers : { 'X-fancyBox': true }
95
- },
96
- iframe : {
97
- scrolling : 'auto',
98
- preload : true
99
- },
100
- swf : {
101
- wmode: 'transparent',
102
- allowfullscreen : 'true',
103
- allowscriptaccess : 'always'
104
- },
105
-
106
- keys : {
107
- next : {
108
- 13 : 'left', // enter
109
- 34 : 'up', // page down
110
- 39 : 'left', // right arrow
111
- 40 : 'up' // down arrow
112
- },
113
- prev : {
114
- 8 : 'right', // backspace
115
- 33 : 'down', // page up
116
- 37 : 'right', // left arrow
117
- 38 : 'down' // up arrow
118
- },
119
- close : [27], // escape key
120
- play : [32], // space - start/stop slideshow
121
- toggle : [70] // letter "f" - toggle fullscreen
122
- },
123
-
124
- direction : {
125
- next : 'left',
126
- prev : 'right'
127
- },
128
-
129
- scrollOutside : true,
130
-
131
- // Override some properties
132
- index : 0,
133
- type : null,
134
- href : null,
135
- content : null,
136
- title : null,
137
-
138
- // HTML templates
139
- tpl: {
140
- wrap : '<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',
141
- image : '<img class="fancybox-image" src="{href}" alt="" />',
142
- iframe : '<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen' + (IE ? ' allowtransparency="true"' : '') + '></iframe>',
143
- error : '<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
144
- closeBtn : '<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',
145
- next : '<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',
146
- prev : '<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'
147
- },
148
-
149
- // Properties for each animation type
150
- // Opening fancyBox
151
- openEffect : 'fade', // 'elastic', 'fade' or 'none'
152
- openSpeed : 250,
153
- openEasing : 'swing',
154
- openOpacity : true,
155
- openMethod : 'zoomIn',
156
-
157
- // Closing fancyBox
158
- closeEffect : 'fade', // 'elastic', 'fade' or 'none'
159
- closeSpeed : 250,
160
- closeEasing : 'swing',
161
- closeOpacity : true,
162
- closeMethod : 'zoomOut',
163
-
164
- // Changing next gallery item
165
- nextEffect : 'elastic', // 'elastic', 'fade' or 'none'
166
- nextSpeed : 250,
167
- nextEasing : 'swing',
168
- nextMethod : 'changeIn',
169
-
170
- // Changing previous gallery item
171
- prevEffect : 'elastic', // 'elastic', 'fade' or 'none'
172
- prevSpeed : 250,
173
- prevEasing : 'swing',
174
- prevMethod : 'changeOut',
175
-
176
- // Enable default helpers
177
- helpers : {
178
- overlay : true,
179
- title : true
180
- },
181
-
182
- // Callbacks
183
- onCancel : $.noop, // If canceling
184
- beforeLoad : $.noop, // Before loading
185
- afterLoad : $.noop, // After loading
186
- beforeShow : $.noop, // Before changing in current item
187
- afterShow : $.noop, // After opening
188
- beforeChange : $.noop, // Before changing gallery item
189
- beforeClose : $.noop, // Before closing
190
- afterClose : $.noop // After closing
191
- },
192
-
193
- //Current state
194
- group : {}, // Selected group
195
- opts : {}, // Group options
196
- previous : null, // Previous element
197
- coming : null, // Element being loaded
198
- current : null, // Currently loaded element
199
- isActive : false, // Is activated
200
- isOpen : false, // Is currently open
201
- isOpened : false, // Have been fully opened at least once
202
-
203
- wrap : null,
204
- skin : null,
205
- outer : null,
206
- inner : null,
207
-
208
- player : {
209
- timer : null,
210
- isActive : false
211
- },
212
-
213
- // Loaders
214
- ajaxLoad : null,
215
- imgPreload : null,
216
-
217
- // Some collections
218
- transitions : {},
219
- helpers : {},
220
-
221
- /*
222
- * Static methods
223
- */
224
-
225
- open: function (group, opts) {
226
- if (!group) {
227
- return;
228
- }
229
-
230
- if (!$.isPlainObject(opts)) {
231
- opts = {};
232
- }
233
-
234
- // Close if already active
235
- if (false === F.close(true)) {
236
- return;
237
- }
238
-
239
- // Normalize group
240
- if (!$.isArray(group)) {
241
- group = isQuery(group) ? $(group).get() : [group];
242
- }
243
-
244
- // Recheck if the type of each element is `object` and set content type (image, ajax, etc)
245
- $.each(group, function(i, element) {
246
- var obj = {},
247
- href,
248
- title,
249
- content,
250
- type,
251
- rez,
252
- hrefParts,
253
- selector;
254
-
255
- if ($.type(element) === "object") {
256
- // Check if is DOM element
257
- if (element.nodeType) {
258
- element = $(element);
259
- }
260
-
261
- if (isQuery(element)) {
262
- obj = {
263
- href : element.data('fancybox-href') || element.attr('href'),
264
- title : element.data('fancybox-title') || element.attr('title'),
265
- isDom : true,
266
- element : element
267
- };
268
-
269
- if ($.metadata) {
270
- $.extend(true, obj, element.metadata());
271
- }
272
-
273
- } else {
274
- obj = element;
275
- }
276
- }
277
-
278
- href = opts.href || obj.href || (isString(element) ? element : null);
279
- title = opts.title !== undefined ? opts.title : obj.title || '';
280
-
281
- content = opts.content || obj.content;
282
- type = content ? 'html' : (opts.type || obj.type);
283
-
284
- if (!type && obj.isDom) {
285
- type = element.data('fancybox-type');
286
-
287
- if (!type) {
288
- rez = element.prop('class').match(/fancybox\.(\w+)/);
289
- type = rez ? rez[1] : null;
290
- }
291
- }
292
-
293
- if (isString(href)) {
294
- // Try to guess the content type
295
- if (!type) {
296
- if (F.isImage(href)) {
297
- type = 'image';
298
-
299
- } else if (F.isSWF(href)) {
300
- type = 'swf';
301
-
302
- } else if (href.charAt(0) === '#') {
303
- type = 'inline';
304
-
305
- } else if (isString(element)) {
306
- type = 'html';
307
- content = element;
308
- }
309
- }
310
-
311
- // Split url into two pieces with source url and content selector, e.g,
312
- // "/mypage.html #my_id" will load "/mypage.html" and display element having id "my_id"
313
- if (type === 'ajax') {
314
- hrefParts = href.split(/\s+/, 2);
315
- href = hrefParts.shift();
316
- selector = hrefParts.shift();
317
- }
318
- }
319
-
320
- if (!content) {
321
- if (type === 'inline') {
322
- if (href) {
323
- content = $( isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href ); //strip for ie7
324
-
325
- } else if (obj.isDom) {
326
- content = element;
327
- }
328
-
329
- } else if (type === 'html') {
330
- content = href;
331
-
332
- } else if (!type && !href && obj.isDom) {
333
- type = 'inline';
334
- content = element;
335
- }
336
- }
337
-
338
- $.extend(obj, {
339
- href : href,
340
- type : type,
341
- content : content,
342
- title : title,
343
- selector : selector
344
- });
345
-
346
- group[ i ] = obj;
347
- });
348
-
349
- // Extend the defaults
350
- F.opts = $.extend(true, {}, F.defaults, opts);
351
-
352
- // All options are merged recursive except keys
353
- if (opts.keys !== undefined) {
354
- F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false;
355
- }
356
-
357
- F.group = group;
358
-
359
- return F._start(F.opts.index);
360
- },
361
-
362
- // Cancel image loading or abort ajax request
363
- cancel: function () {
364
- var coming = F.coming;
365
-
366
- if (!coming || false === F.trigger('onCancel')) {
367
- return;
368
- }
369
-
370
- F.hideLoading();
371
-
372
- if (F.ajaxLoad) {
373
- F.ajaxLoad.abort();
374
- }
375
-
376
- F.ajaxLoad = null;
377
-
378
- if (F.imgPreload) {
379
- F.imgPreload.onload = F.imgPreload.onerror = null;
380
- }
381
-
382
- if (coming.wrap) {
383
- coming.wrap.stop(true, true).trigger('onReset').remove();
384
- }
385
-
386
- F.coming = null;
387
-
388
- // If the first item has been canceled, then clear everything
389
- if (!F.current) {
390
- F._afterZoomOut( coming );
391
- }
392
- },
393
-
394
- // Start closing animation if is open; remove immediately if opening/closing
395
- close: function (event) {
396
- F.cancel();
397
-
398
- if (false === F.trigger('beforeClose')) {
399
- return;
400
- }
401
-
402
- F.unbindEvents();
403
-
404
- if (!F.isActive) {
405
- return;
406
- }
407
-
408
- if (!F.isOpen || event === true) {
409
- $('.fancybox-wrap').stop(true).trigger('onReset').remove();
410
-
411
- F._afterZoomOut();
412
-
413
- } else {
414
- F.isOpen = F.isOpened = false;
415
- F.isClosing = true;
416
-
417
- $('.fancybox-item, .fancybox-nav').remove();
418
-
419
- F.wrap.stop(true, true).removeClass('fancybox-opened');
420
-
421
- F.transitions[ F.current.closeMethod ]();
422
- }
423
- },
424
-
425
- // Manage slideshow:
426
- // $.fancybox.play(); - toggle slideshow
427
- // $.fancybox.play( true ); - start
428
- // $.fancybox.play( false ); - stop
429
- play: function ( action ) {
430
- var clear = function () {
431
- clearTimeout(F.player.timer);
432
- },
433
- set = function () {
434
- clear();
435
-
436
- if (F.current && F.player.isActive) {
437
- F.player.timer = setTimeout(F.next, F.current.playSpeed);
438
- }
439
- },
440
- stop = function () {
441
- clear();
442
-
443
- D.unbind('.player');
444
-
445
- F.player.isActive = false;
446
-
447
- F.trigger('onPlayEnd');
448
- },
449
- start = function () {
450
- if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) {
451
- F.player.isActive = true;
452
-
453
- D.bind({
454
- 'onCancel.player beforeClose.player' : stop,
455
- 'onUpdate.player' : set,
456
- 'beforeLoad.player' : clear
457
- });
458
-
459
- set();
460
-
461
- F.trigger('onPlayStart');
462
- }
463
- };
464
-
465
- if (action === true || (!F.player.isActive && action !== false)) {
466
- start();
467
- } else {
468
- stop();
469
- }
470
- },
471
-
472
- // Navigate to next gallery item
473
- next: function ( direction ) {
474
- var current = F.current;
475
-
476
- if (current) {
477
- if (!isString(direction)) {
478
- direction = current.direction.next;
479
- }
480
-
481
- F.jumpto(current.index + 1, direction, 'next');
482
- }
483
- },
484
-
485
- // Navigate to previous gallery item
486
- prev: function ( direction ) {
487
- var current = F.current;
488
-
489
- if (current) {
490
- if (!isString(direction)) {
491
- direction = current.direction.prev;
492
- }
493
-
494
- F.jumpto(current.index - 1, direction, 'prev');
495
- }
496
- },
497
-
498
- // Navigate to gallery item by index
499
- jumpto: function ( index, direction, router ) {
500
- var current = F.current;
501
-
502
- if (!current) {
503
- return;
504
- }
505
-
506
- index = getScalar(index);
507
-
508
- F.direction = direction || current.direction[ (index >= current.index ? 'next' : 'prev') ];
509
- F.router = router || 'jumpto';
510
-
511
- if (current.loop) {
512
- if (index < 0) {
513
- index = current.group.length + (index % current.group.length);
514
- }
515
-
516
- index = index % current.group.length;
517
- }
518
-
519
- if (current.group[ index ] !== undefined) {
520
- F.cancel();
521
-
522
- F._start(index);
523
- }
524
- },
525
-
526
- // Center inside viewport and toggle position type to fixed or absolute if needed
527
- reposition: function (e, onlyAbsolute) {
528
- var current = F.current,
529
- wrap = current ? current.wrap : null,
530
- pos;
531
-
532
- if (wrap) {
533
- pos = F._getPosition(onlyAbsolute);
534
-
535
- if (e && e.type === 'scroll') {
536
- delete pos.position;
537
-
538
- wrap.stop(true, true).animate(pos, 200);
539
-
540
- } else {
541
- wrap.css(pos);
542
-
543
- current.pos = $.extend({}, current.dim, pos);
544
- }
545
- }
546
- },
547
-
548
- update: function (e) {
549
- var type = (e && e.type),
550
- anyway = !type || type === 'orientationchange';
551
-
552
- if (anyway) {
553
- clearTimeout(didUpdate);
554
-
555
- didUpdate = null;
556
- }
557
-
558
- if (!F.isOpen || didUpdate) {
559
- return;
560
- }
561
-
562
- didUpdate = setTimeout(function() {
563
- var current = F.current;
564
-
565
- if (!current || F.isClosing) {
566
- return;
567
- }
568
-
569
- F.wrap.removeClass('fancybox-tmp');
570
-
571
- if (anyway || type === 'load' || (type === 'resize' && current.autoResize)) {
572
- F._setDimension();
573
- }
574
-
575
- if (!(type === 'scroll' && current.canShrink)) {
576
- F.reposition(e);
577
- }
578
-
579
- F.trigger('onUpdate');
580
-
581
- didUpdate = null;
582
-
583
- }, (anyway && !isTouch ? 0 : 300));
584
- },
585
-
586
- // Shrink content to fit inside viewport or restore if resized
587
- toggle: function ( action ) {
588
- if (F.isOpen) {
589
- F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView;
590
-
591
- // Help browser to restore document dimensions
592
- if (isTouch) {
593
- F.wrap.removeAttr('style').addClass('fancybox-tmp');
594
-
595
- F.trigger('onUpdate');
596
- }
597
-
598
- F.update();
599
- }
600
- },
601
-
602
- hideLoading: function () {
603
- D.unbind('.loading');
604
-
605
- $('#fancybox-loading').remove();
606
- },
607
-
608
- showLoading: function () {
609
- var el, viewport;
610
-
611
- F.hideLoading();
612
-
613
- el = $('<div id="fancybox-loading"><div></div></div>').click(F.cancel).appendTo('body');
614
-
615
- // If user will press the escape-button, the request will be canceled
616
- D.bind('keydown.loading', function(e) {
617
- if ((e.which || e.keyCode) === 27) {
618
- e.preventDefault();
619
-
620
- F.cancel();
621
- }
622
- });
623
-
624
- if (!F.defaults.fixed) {
625
- viewport = F.getViewport();
626
-
627
- el.css({
628
- position : 'absolute',
629
- top : (viewport.h * 0.5) + viewport.y,
630
- left : (viewport.w * 0.5) + viewport.x
631
- });
632
- }
633
- },
634
-
635
- getViewport: function () {
636
- var locked = (F.current && F.current.locked) || false,
637
- rez = {
638
- x: W.scrollLeft(),
639
- y: W.scrollTop()
640
- };
641
-
642
- if (locked) {
643
- rez.w = locked[0].clientWidth;
644
- rez.h = locked[0].clientHeight;
645
-
646
- } else {
647
- // See http://bugs.jquery.com/ticket/6724
648
- rez.w = isTouch && window.innerWidth ? window.innerWidth : W.width();
649
- rez.h = isTouch && window.innerHeight ? window.innerHeight : W.height();
650
- }
651
-
652
- return rez;
653
- },
654
-
655
- // Unbind the keyboard / clicking actions
656
- unbindEvents: function () {
657
- if (F.wrap && isQuery(F.wrap)) {
658
- F.wrap.unbind('.fb');
659
- }
660
-
661
- D.unbind('.fb');
662
- W.unbind('.fb');
663
- },
664
-
665
- bindEvents: function () {
666
- var current = F.current,
667
- keys;
668
-
669
- if (!current) {
670
- return;
671
- }
672
-
673
- // Changing document height on iOS devices triggers a 'resize' event,
674
- // that can change document height... repeating infinitely
675
- W.bind('orientationchange.fb' + (isTouch ? '' : ' resize.fb') + (current.autoCenter && !current.locked ? ' scroll.fb' : ''), F.update);
676
-
677
- keys = current.keys;
678
-
679
- if (keys) {
680
- D.bind('keydown.fb', function (e) {
681
- var code = e.which || e.keyCode,
682
- target = e.target || e.srcElement;
683
-
684
- // Skip esc key if loading, because showLoading will cancel preloading
685
- if (code === 27 && F.coming) {
686
- return false;
687
- }
688
-
689
- // Ignore key combinations and key events within form elements
690
- if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(target && (target.type || $(target).is('[contenteditable]')))) {
691
- $.each(keys, function(i, val) {
692
- if (current.group.length > 1 && val[ code ] !== undefined) {
693
- F[ i ]( val[ code ] );
694
-
695
- e.preventDefault();
696
- return false;
697
- }
698
-
699
- if ($.inArray(code, val) > -1) {
700
- F[ i ] ();
701
-
702
- e.preventDefault();
703
- return false;
704
- }
705
- });
706
- }
707
- });
708
- }
709
-
710
- if ($.fn.mousewheel && current.mouseWheel) {
711
- F.wrap.bind('mousewheel.fb', function (e, delta, deltaX, deltaY) {
712
- var target = e.target || null,
713
- parent = $(target),
714
- canScroll = false;
715
-
716
- while (parent.length) {
717
- if (canScroll || parent.is('.fancybox-skin') || parent.is('.fancybox-wrap')) {
718
- break;
719
- }
720
-
721
- canScroll = isScrollable( parent[0] );
722
- parent = $(parent).parent();
723
- }
724
-
725
- if (delta !== 0 && !canScroll) {
726
- if (F.group.length > 1 && !current.canShrink) {
727
- if (deltaY > 0 || deltaX > 0) {
728
- F.prev( deltaY > 0 ? 'down' : 'left' );
729
-
730
- } else if (deltaY < 0 || deltaX < 0) {
731
- F.next( deltaY < 0 ? 'up' : 'right' );
732
- }
733
-
734
- e.preventDefault();
735
- }
736
- }
737
- });
738
- }
739
- },
740
-
741
- trigger: function (event, o) {
742
- var ret, obj = o || F.coming || F.current;
743
-
744
- if (!obj) {
745
- return;
746
- }
747
-
748
- if ($.isFunction( obj[event] )) {
749
- ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1));
750
- }
751
-
752
- if (ret === false) {
753
- return false;
754
- }
755
-
756
- if (obj.helpers) {
757
- $.each(obj.helpers, function (helper, opts) {
758
- if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) {
759
- F.helpers[helper][event]($.extend(true, {}, F.helpers[helper].defaults, opts), obj);
760
- }
761
- });
762
- }
763
-
764
- D.trigger(event);
765
- },
766
-
767
- isImage: function (str) {
768
- return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
769
- },
770
-
771
- isSWF: function (str) {
772
- return isString(str) && str.match(/\.(swf)((\?|#).*)?$/i);
773
- },
774
-
775
- _start: function (index) {
776
- var coming = {},
777
- obj,
778
- href,
779
- type,
780
- margin,
781
- padding;
782
-
783
- index = getScalar( index );
784
- obj = F.group[ index ] || null;
785
-
786
- if (!obj) {
787
- return false;
788
- }
789
-
790
- coming = $.extend(true, {}, F.opts, obj);
791
-
792
- // Convert margin and padding properties to array - top, right, bottom, left
793
- margin = coming.margin;
794
- padding = coming.padding;
795
-
796
- if ($.type(margin) === 'number') {
797
- coming.margin = [margin, margin, margin, margin];
798
- }
799
-
800
- if ($.type(padding) === 'number') {
801
- coming.padding = [padding, padding, padding, padding];
802
- }
803
-
804
- // 'modal' propery is just a shortcut
805
- if (coming.modal) {
806
- $.extend(true, coming, {
807
- closeBtn : false,
808
- closeClick : false,
809
- nextClick : false,
810
- arrows : false,
811
- mouseWheel : false,
812
- keys : null,
813
- helpers: {
814
- overlay : {
815
- closeClick : false
816
- }
817
- }
818
- });
819
- }
820
-
821
- // 'autoSize' property is a shortcut, too
822
- if (coming.autoSize) {
823
- coming.autoWidth = coming.autoHeight = true;
824
- }
825
-
826
- if (coming.width === 'auto') {
827
- coming.autoWidth = true;
828
- }
829
-
830
- if (coming.height === 'auto') {
831
- coming.autoHeight = true;
832
- }
833
-
834
- /*
835
- * Add reference to the group, so it`s possible to access from callbacks, example:
836
- * afterLoad : function() {
837
- * this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
838
- * }
839
- */
840
-
841
- coming.group = F.group;
842
- coming.index = index;
843
-
844
- // Give a chance for callback or helpers to update coming item (type, title, etc)
845
- F.coming = coming;
846
-
847
- if (false === F.trigger('beforeLoad')) {
848
- F.coming = null;
849
-
850
- return;
851
- }
852
-
853
- type = coming.type;
854
- href = coming.href;
855
-
856
- if (!type) {
857
- F.coming = null;
858
-
859
- //If we can not determine content type then drop silently or display next/prev item if looping through gallery
860
- if (F.current && F.router && F.router !== 'jumpto') {
861
- F.current.index = index;
862
-
863
- return F[ F.router ]( F.direction );
864
- }
865
-
866
- return false;
867
- }
868
-
869
- F.isActive = true;
870
-
871
- if (type === 'image' || type === 'swf') {
872
- coming.autoHeight = coming.autoWidth = false;
873
- coming.scrolling = 'visible';
874
- }
875
-
876
- if (type === 'image') {
877
- coming.aspectRatio = true;
878
- }
879
-
880
- if (type === 'iframe' && isTouch) {
881
- coming.scrolling = 'scroll';
882
- }
883
-
884
- // Build the neccessary markup
885
- coming.wrap = $(coming.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + type + ' fancybox-tmp ' + coming.wrapCSS).appendTo( coming.parent || 'body' );
886
-
887
- $.extend(coming, {
888
- skin : $('.fancybox-skin', coming.wrap),
889
- outer : $('.fancybox-outer', coming.wrap),
890
- inner : $('.fancybox-inner', coming.wrap)
891
- });
892
-
893
- $.each(["Top", "Right", "Bottom", "Left"], function(i, v) {
894
- coming.skin.css('padding' + v, getValue(coming.padding[ i ]));
895
- });
896
-
897
- F.trigger('onReady');
898
-
899
- // Check before try to load; 'inline' and 'html' types need content, others - href
900
- if (type === 'inline' || type === 'html') {
901
- if (!coming.content || !coming.content.length) {
902
- return F._error( 'content' );
903
- }
904
-
905
- } else if (!href) {
906
- return F._error( 'href' );
907
- }
908
-
909
- if (type === 'image') {
910
- F._loadImage();
911
-
912
- } else if (type === 'ajax') {
913
- F._loadAjax();
914
-
915
- } else if (type === 'iframe') {
916
- F._loadIframe();
917
-
918
- } else {
919
- F._afterLoad();
920
- }
921
- },
922
-
923
- _error: function ( type ) {
924
- $.extend(F.coming, {
925
- type : 'html',
926
- autoWidth : true,
927
- autoHeight : true,
928
- minWidth : 0,
929
- minHeight : 0,
930
- scrolling : 'no',
931
- hasError : type,
932
- content : F.coming.tpl.error
933
- });
934
-
935
- F._afterLoad();
936
- },
937
-
938
- _loadImage: function () {
939
- // Reset preload image so it is later possible to check "complete" property
940
- var img = F.imgPreload = new Image();
941
-
942
- img.onload = function () {
943
- this.onload = this.onerror = null;
944
-
945
- F.coming.width = this.width / F.opts.pixelRatio;
946
- F.coming.height = this.height / F.opts.pixelRatio;
947
-
948
- F._afterLoad();
949
- };
950
-
951
- img.onerror = function () {
952
- this.onload = this.onerror = null;
953
-
954
- F._error( 'image' );
955
- };
956
-
957
- img.src = F.coming.href;
958
-
959
- if (img.complete !== true) {
960
- F.showLoading();
961
- }
962
- },
963
-
964
- _loadAjax: function () {
965
- var coming = F.coming;
966
-
967
- F.showLoading();
968
-
969
- F.ajaxLoad = $.ajax($.extend({}, coming.ajax, {
970
- url: coming.href,
971
- error: function (jqXHR, textStatus) {
972
- if (F.coming && textStatus !== 'abort') {
973
- F._error( 'ajax', jqXHR );
974
-
975
- } else {
976
- F.hideLoading();
977
- }
978
- },
979
- success: function (data, textStatus) {
980
- if (textStatus === 'success') {
981
- coming.content = data;
982
-
983
- F._afterLoad();
984
- }
985
- }
986
- }));
987
- },
988
-
989
- _loadIframe: function() {
990
- var coming = F.coming,
991
- iframe = $(coming.tpl.iframe.replace(/\{rnd\}/g, new Date().getTime()))
992
- .attr('scrolling', isTouch ? 'auto' : coming.iframe.scrolling)
993
- .attr('src', coming.href);
994
-
995
- // This helps IE
996
- $(coming.wrap).bind('onReset', function () {
997
- try {
998
- $(this).find('iframe').hide().attr('src', '//about:blank').end().empty();
999
- } catch (e) {}
1000
- });
1001
-
1002
- if (coming.iframe.preload) {
1003
- F.showLoading();
1004
-
1005
- iframe.one('load', function() {
1006
- $(this).data('ready', 1);
1007
-
1008
- // iOS will lose scrolling if we resize
1009
- if (!isTouch) {
1010
- $(this).bind('load.fb', F.update);
1011
- }
1012
-
1013
- // Without this trick:
1014
- // - iframe won't scroll on iOS devices
1015
- // - IE7 sometimes displays empty iframe
1016
- $(this).parents('.fancybox-wrap').width('100%').removeClass('fancybox-tmp').show();
1017
-
1018
- F._afterLoad();
1019
- });
1020
- }
1021
-
1022
- coming.content = iframe.appendTo( coming.inner );
1023
-
1024
- if (!coming.iframe.preload) {
1025
- F._afterLoad();
1026
- }
1027
- },
1028
-
1029
- _preloadImages: function() {
1030
- var group = F.group,
1031
- current = F.current,
1032
- len = group.length,
1033
- cnt = current.preload ? Math.min(current.preload, len - 1) : 0,
1034
- item,
1035
- i;
1036
-
1037
- for (i = 1; i <= cnt; i += 1) {
1038
- item = group[ (current.index + i ) % len ];
1039
-
1040
- if (item.type === 'image' && item.href) {
1041
- new Image().src = item.href;
1042
- }
1043
- }
1044
- },
1045
-
1046
- _afterLoad: function () {
1047
- var coming = F.coming,
1048
- previous = F.current,
1049
- placeholder = 'fancybox-placeholder',
1050
- current,
1051
- content,
1052
- type,
1053
- scrolling,
1054
- href,
1055
- embed;
1056
-
1057
- F.hideLoading();
1058
-
1059
- if (!coming || F.isActive === false) {
1060
- return;
1061
- }
1062
-
1063
- if (false === F.trigger('afterLoad', coming, previous)) {
1064
- coming.wrap.stop(true).trigger('onReset').remove();
1065
-
1066
- F.coming = null;
1067
-
1068
- return;
1069
- }
1070
-
1071
- if (previous) {
1072
- F.trigger('beforeChange', previous);
1073
-
1074
- previous.wrap.stop(true).removeClass('fancybox-opened')
1075
- .find('.fancybox-item, .fancybox-nav')
1076
- .remove();
1077
- }
1078
-
1079
- F.unbindEvents();
1080
-
1081
- current = coming;
1082
- content = coming.content;
1083
- type = coming.type;
1084
- scrolling = coming.scrolling;
1085
-
1086
- $.extend(F, {
1087
- wrap : current.wrap,
1088
- skin : current.skin,
1089
- outer : current.outer,
1090
- inner : current.inner,
1091
- current : current,
1092
- previous : previous
1093
- });
1094
-
1095
- href = current.href;
1096
-
1097
- switch (type) {
1098
- case 'inline':
1099
- case 'ajax':
1100
- case 'html':
1101
- if (current.selector) {
1102
- content = $('<div>').html(content).find(current.selector);
1103
-
1104
- } else if (isQuery(content)) {
1105
- if (!content.data(placeholder)) {
1106
- content.data(placeholder, $('<div class="' + placeholder + '"></div>').insertAfter( content ).hide() );
1107
- }
1108
-
1109
- content = content.show().detach();
1110
-
1111
- current.wrap.bind('onReset', function () {
1112
- if ($(this).find(content).length) {
1113
- content.hide().replaceAll( content.data(placeholder) ).data(placeholder, false);
1114
- }
1115
- });
1116
- }
1117
- break;
1118
-
1119
- case 'image':
1120
- content = current.tpl.image.replace('{href}', href);
1121
- break;
1122
-
1123
- case 'swf':
1124
- content = '<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="' + href + '"></param>';
1125
- embed = '';
1126
-
1127
- $.each(current.swf, function(name, val) {
1128
- content += '<param name="' + name + '" value="' + val + '"></param>';
1129
- embed += ' ' + name + '="' + val + '"';
1130
- });
1131
-
1132
- content += '<embed src="' + href + '" type="application/x-shockwave-flash" width="100%" height="100%"' + embed + '></embed></object>';
1133
- break;
1134
- }
1135
-
1136
- if (!(isQuery(content) && content.parent().is(current.inner))) {
1137
- current.inner.append( content );
1138
- }
1139
-
1140
- // Give a chance for helpers or callbacks to update elements
1141
- F.trigger('beforeShow');
1142
-
1143
- // Set scrolling before calculating dimensions
1144
- current.inner.css('overflow', scrolling === 'yes' ? 'scroll' : (scrolling === 'no' ? 'hidden' : scrolling));
1145
-
1146
- // Set initial dimensions and start position
1147
- F._setDimension();
1148
-
1149
- F.reposition();
1150
-
1151
- F.isOpen = false;
1152
- F.coming = null;
1153
-
1154
- F.bindEvents();
1155
-
1156
- if (!F.isOpened) {
1157
- $('.fancybox-wrap').not( current.wrap ).stop(true).trigger('onReset').remove();
1158
-
1159
- } else if (previous.prevMethod) {
1160
- F.transitions[ previous.prevMethod ]();
1161
- }
1162
-
1163
- F.transitions[ F.isOpened ? current.nextMethod : current.openMethod ]();
1164
-
1165
- F._preloadImages();
1166
- },
1167
-
1168
- _setDimension: function () {
1169
- var viewport = F.getViewport(),
1170
- steps = 0,
1171
- canShrink = false,
1172
- canExpand = false,
1173
- wrap = F.wrap,
1174
- skin = F.skin,
1175
- inner = F.inner,
1176
- current = F.current,
1177
- width = current.width,
1178
- height = current.height,
1179
- minWidth = current.minWidth,
1180
- minHeight = current.minHeight,
1181
- maxWidth = current.maxWidth,
1182
- maxHeight = current.maxHeight,
1183
- scrolling = current.scrolling,
1184
- scrollOut = current.scrollOutside ? current.scrollbarWidth : 0,
1185
- margin = current.margin,
1186
- wMargin = getScalar(margin[1] + margin[3]),
1187
- hMargin = getScalar(margin[0] + margin[2]),
1188
- wPadding,
1189
- hPadding,
1190
- wSpace,
1191
- hSpace,
1192
- origWidth,
1193
- origHeight,
1194
- origMaxWidth,
1195
- origMaxHeight,
1196
- ratio,
1197
- width_,
1198
- height_,
1199
- maxWidth_,
1200
- maxHeight_,
1201
- iframe,
1202
- body;
1203
-
1204
- // Reset dimensions so we could re-check actual size
1205
- wrap.add(skin).add(inner).width('auto').height('auto').removeClass('fancybox-tmp');
1206
-
1207
- wPadding = getScalar(skin.outerWidth(true) - skin.width());
1208
- hPadding = getScalar(skin.outerHeight(true) - skin.height());
1209
-
1210
- // Any space between content and viewport (margin, padding, border, title)
1211
- wSpace = wMargin + wPadding;
1212
- hSpace = hMargin + hPadding;
1213
-
1214
- origWidth = isPercentage(width) ? (viewport.w - wSpace) * getScalar(width) / 100 : width;
1215
- origHeight = isPercentage(height) ? (viewport.h - hSpace) * getScalar(height) / 100 : height;
1216
-
1217
- if (current.type === 'iframe') {
1218
- iframe = current.content;
1219
-
1220
- if (current.autoHeight && iframe.data('ready') === 1) {
1221
- try {
1222
- if (iframe[0].contentWindow.document.location) {
1223
- inner.width( origWidth ).height(9999);
1224
-
1225
- body = iframe.contents().find('body');
1226
-
1227
- if (scrollOut) {
1228
- body.css('overflow-x', 'hidden');
1229
- }
1230
-
1231
- origHeight = body.outerHeight(true);
1232
- }
1233
-
1234
- } catch (e) {}
1235
- }
1236
-
1237
- } else if (current.autoWidth || current.autoHeight) {
1238
- inner.addClass( 'fancybox-tmp' );
1239
-
1240
- // Set width or height in case we need to calculate only one dimension
1241
- if (!current.autoWidth) {
1242
- inner.width( origWidth );
1243
- }
1244
-
1245
- if (!current.autoHeight) {
1246
- inner.height( origHeight );
1247
- }
1248
-
1249
- if (current.autoWidth) {
1250
- origWidth = inner.width();
1251
- }
1252
-
1253
- if (current.autoHeight) {
1254
- origHeight = inner.height();
1255
- }
1256
-
1257
- inner.removeClass( 'fancybox-tmp' );
1258
- }
1259
-
1260
- width = getScalar( origWidth );
1261
- height = getScalar( origHeight );
1262
-
1263
- ratio = origWidth / origHeight;
1264
-
1265
- // Calculations for the content
1266
- minWidth = getScalar(isPercentage(minWidth) ? getScalar(minWidth, 'w') - wSpace : minWidth);
1267
- maxWidth = getScalar(isPercentage(maxWidth) ? getScalar(maxWidth, 'w') - wSpace : maxWidth);
1268
-
1269
- minHeight = getScalar(isPercentage(minHeight) ? getScalar(minHeight, 'h') - hSpace : minHeight);
1270
- maxHeight = getScalar(isPercentage(maxHeight) ? getScalar(maxHeight, 'h') - hSpace : maxHeight);
1271
-
1272
- // These will be used to determine if wrap can fit in the viewport
1273
- origMaxWidth = maxWidth;
1274
- origMaxHeight = maxHeight;
1275
-
1276
- if (current.fitToView) {
1277
- maxWidth = Math.min(viewport.w - wSpace, maxWidth);
1278
- maxHeight = Math.min(viewport.h - hSpace, maxHeight);
1279
- }
1280
-
1281
- maxWidth_ = viewport.w - wMargin;
1282
- maxHeight_ = viewport.h - hMargin;
1283
-
1284
- if (current.aspectRatio) {
1285
- if (width > maxWidth) {
1286
- width = maxWidth;
1287
- height = getScalar(width / ratio);
1288
- }
1289
-
1290
- if (height > maxHeight) {
1291
- height = maxHeight;
1292
- width = getScalar(height * ratio);
1293
- }
1294
-
1295
- if (width < minWidth) {
1296
- width = minWidth;
1297
- height = getScalar(width / ratio);
1298
- }
1299
-
1300
- if (height < minHeight) {
1301
- height = minHeight;
1302
- width = getScalar(height * ratio);
1303
- }
1304
-
1305
- } else {
1306
- width = Math.max(minWidth, Math.min(width, maxWidth));
1307
-
1308
- if (current.autoHeight && current.type !== 'iframe') {
1309
- inner.width( width );
1310
-
1311
- height = inner.height();
1312
- }
1313
-
1314
- height = Math.max(minHeight, Math.min(height, maxHeight));
1315
- }
1316
-
1317
- // Try to fit inside viewport (including the title)
1318
- if (current.fitToView) {
1319
- inner.width( width ).height( height );
1320
-
1321
- wrap.width( width + wPadding );
1322
-
1323
- // Real wrap dimensions
1324
- width_ = wrap.width();
1325
- height_ = wrap.height();
1326
-
1327
- if (current.aspectRatio) {
1328
- while ((width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight) {
1329
- if (steps++ > 19) {
1330
- break;
1331
- }
1332
-
1333
- height = Math.max(minHeight, Math.min(maxHeight, height - 10));
1334
- width = getScalar(height * ratio);
1335
-
1336
- if (width < minWidth) {
1337
- width = minWidth;
1338
- height = getScalar(width / ratio);
1339
- }
1340
-
1341
- if (width > maxWidth) {
1342
- width = maxWidth;
1343
- height = getScalar(width / ratio);
1344
- }
1345
-
1346
- inner.width( width ).height( height );
1347
-
1348
- wrap.width( width + wPadding );
1349
-
1350
- width_ = wrap.width();
1351
- height_ = wrap.height();
1352
- }
1353
-
1354
- } else {
1355
- width = Math.max(minWidth, Math.min(width, width - (width_ - maxWidth_)));
1356
- height = Math.max(minHeight, Math.min(height, height - (height_ - maxHeight_)));
1357
- }
1358
- }
1359
-
1360
- if (scrollOut && scrolling === 'auto' && height < origHeight && (width + wPadding + scrollOut) < maxWidth_) {
1361
- width += scrollOut;
1362
- }
1363
-
1364
- inner.width( width ).height( height );
1365
-
1366
- wrap.width( width + wPadding );
1367
-
1368
- width_ = wrap.width();
1369
- height_ = wrap.height();
1370
-
1371
- canShrink = (width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight;
1372
- canExpand = current.aspectRatio ? (width < origMaxWidth && height < origMaxHeight && width < origWidth && height < origHeight) : ((width < origMaxWidth || height < origMaxHeight) && (width < origWidth || height < origHeight));
1373
-
1374
- $.extend(current, {
1375
- dim : {
1376
- width : getValue( width_ ),
1377
- height : getValue( height_ )
1378
- },
1379
- origWidth : origWidth,
1380
- origHeight : origHeight,
1381
- canShrink : canShrink,
1382
- canExpand : canExpand,
1383
- wPadding : wPadding,
1384
- hPadding : hPadding,
1385
- wrapSpace : height_ - skin.outerHeight(true),
1386
- skinSpace : skin.height() - height
1387
- });
1388
-
1389
- if (!iframe && current.autoHeight && height > minHeight && height < maxHeight && !canExpand) {
1390
- inner.height('auto');
1391
- }
1392
- },
1393
-
1394
- _getPosition: function (onlyAbsolute) {
1395
- var current = F.current,
1396
- viewport = F.getViewport(),
1397
- margin = current.margin,
1398
- width = F.wrap.width() + margin[1] + margin[3],
1399
- height = F.wrap.height() + margin[0] + margin[2],
1400
- rez = {
1401
- position: 'absolute',
1402
- top : margin[0],
1403
- left : margin[3]
1404
- };
1405
-
1406
- if (current.autoCenter && current.fixed && !onlyAbsolute && height <= viewport.h && width <= viewport.w) {
1407
- rez.position = 'fixed';
1408
-
1409
- } else if (!current.locked) {
1410
- rez.top += viewport.y;
1411
- rez.left += viewport.x;
1412
- }
1413
-
1414
- rez.top = getValue(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio)));
1415
- rez.left = getValue(Math.max(rez.left, rez.left + ((viewport.w - width) * current.leftRatio)));
1416
-
1417
- return rez;
1418
- },
1419
-
1420
- _afterZoomIn: function () {
1421
- var current = F.current;
1422
-
1423
- if (!current) {
1424
- return;
1425
- }
1426
-
1427
- F.isOpen = F.isOpened = true;
1428
-
1429
- F.wrap.css('overflow', 'visible').addClass('fancybox-opened');
1430
-
1431
- F.update();
1432
-
1433
- // Assign a click event
1434
- if ( current.closeClick || (current.nextClick && F.group.length > 1) ) {
1435
- F.inner.css('cursor', 'pointer').bind('click.fb', function(e) {
1436
- if (!$(e.target).is('a') && !$(e.target).parent().is('a')) {
1437
- e.preventDefault();
1438
-
1439
- F[ current.closeClick ? 'close' : 'next' ]();
1440
- }
1441
- });
1442
- }
1443
-
1444
- // Create a close button
1445
- if (current.closeBtn) {
1446
- $(current.tpl.closeBtn).appendTo(F.skin).bind('click.fb', function(e) {
1447
- e.preventDefault();
1448
-
1449
- F.close();
1450
- });
1451
- }
1452
-
1453
- // Create navigation arrows
1454
- if (current.arrows && F.group.length > 1) {
1455
- if (current.loop || current.index > 0) {
1456
- $(current.tpl.prev).appendTo(F.outer).bind('click.fb', F.prev);
1457
- }
1458
-
1459
- if (current.loop || current.index < F.group.length - 1) {
1460
- $(current.tpl.next).appendTo(F.outer).bind('click.fb', F.next);
1461
- }
1462
- }
1463
-
1464
- F.trigger('afterShow');
1465
-
1466
- // Stop the slideshow if this is the last item
1467
- if (!current.loop && current.index === current.group.length - 1) {
1468
- F.play( false );
1469
-
1470
- } else if (F.opts.autoPlay && !F.player.isActive) {
1471
- F.opts.autoPlay = false;
1472
-
1473
- F.play();
1474
- }
1475
- },
1476
-
1477
- _afterZoomOut: function ( obj ) {
1478
- obj = obj || F.current;
1479
-
1480
- $('.fancybox-wrap').trigger('onReset').remove();
1481
-
1482
- $.extend(F, {
1483
- group : {},
1484
- opts : {},
1485
- router : false,
1486
- current : null,
1487
- isActive : false,
1488
- isOpened : false,
1489
- isOpen : false,
1490
- isClosing : false,
1491
- wrap : null,
1492
- skin : null,
1493
- outer : null,
1494
- inner : null
1495
- });
1496
-
1497
- F.trigger('afterClose', obj);
1498
- }
1499
- });
1500
-
1501
- /*
1502
- * Default transitions
1503
- */
1504
-
1505
- F.transitions = {
1506
- getOrigPosition: function () {
1507
- var current = F.current,
1508
- element = current.element,
1509
- orig = current.orig,
1510
- pos = {},
1511
- width = 50,
1512
- height = 50,
1513
- hPadding = current.hPadding,
1514
- wPadding = current.wPadding,
1515
- viewport = F.getViewport();
1516
-
1517
- if (!orig && current.isDom && element.is(':visible')) {
1518
- orig = element.find('img:first');
1519
-
1520
- if (!orig.length) {
1521
- orig = element;
1522
- }
1523
- }
1524
-
1525
- if (isQuery(orig)) {
1526
- pos = orig.offset();
1527
-
1528
- if (orig.is('img')) {
1529
- width = orig.outerWidth();
1530
- height = orig.outerHeight();
1531
- }
1532
-
1533
- } else {
1534
- pos.top = viewport.y + (viewport.h - height) * current.topRatio;
1535
- pos.left = viewport.x + (viewport.w - width) * current.leftRatio;
1536
- }
1537
-
1538
- if (F.wrap.css('position') === 'fixed' || current.locked) {
1539
- pos.top -= viewport.y;
1540
- pos.left -= viewport.x;
1541
- }
1542
-
1543
- pos = {
1544
- top : getValue(pos.top - hPadding * current.topRatio),
1545
- left : getValue(pos.left - wPadding * current.leftRatio),
1546
- width : getValue(width + wPadding),
1547
- height : getValue(height + hPadding)
1548
- };
1549
-
1550
- return pos;
1551
- },
1552
-
1553
- step: function (now, fx) {
1554
- var ratio,
1555
- padding,
1556
- value,
1557
- prop = fx.prop,
1558
- current = F.current,
1559
- wrapSpace = current.wrapSpace,
1560
- skinSpace = current.skinSpace;
1561
-
1562
- if (prop === 'width' || prop === 'height') {
1563
- ratio = fx.end === fx.start ? 1 : (now - fx.start) / (fx.end - fx.start);
1564
-
1565
- if (F.isClosing) {
1566
- ratio = 1 - ratio;
1567
- }
1568
-
1569
- padding = prop === 'width' ? current.wPadding : current.hPadding;
1570
- value = now - padding;
1571
-
1572
- F.skin[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) ) );
1573
- F.inner[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) - (skinSpace * ratio) ) );
1574
- }
1575
- },
1576
-
1577
- zoomIn: function () {
1578
- var current = F.current,
1579
- startPos = current.pos,
1580
- effect = current.openEffect,
1581
- elastic = effect === 'elastic',
1582
- endPos = $.extend({opacity : 1}, startPos);
1583
-
1584
- // Remove "position" property that breaks older IE
1585
- delete endPos.position;
1586
-
1587
- if (elastic) {
1588
- startPos = this.getOrigPosition();
1589
-
1590
- if (current.openOpacity) {
1591
- startPos.opacity = 0.1;
1592
- }
1593
-
1594
- } else if (effect === 'fade') {
1595
- startPos.opacity = 0.1;
1596
- }
1597
-
1598
- F.wrap.css(startPos).animate(endPos, {
1599
- duration : effect === 'none' ? 0 : current.openSpeed,
1600
- easing : current.openEasing,
1601
- step : elastic ? this.step : null,
1602
- complete : F._afterZoomIn
1603
- });
1604
- },
1605
-
1606
- zoomOut: function () {
1607
- var current = F.current,
1608
- effect = current.closeEffect,
1609
- elastic = effect === 'elastic',
1610
- endPos = {opacity : 0.1};
1611
-
1612
- if (elastic) {
1613
- endPos = this.getOrigPosition();
1614
-
1615
- if (current.closeOpacity) {
1616
- endPos.opacity = 0.1;
1617
- }
1618
- }
1619
-
1620
- F.wrap.animate(endPos, {
1621
- duration : effect === 'none' ? 0 : current.closeSpeed,
1622
- easing : current.closeEasing,
1623
- step : elastic ? this.step : null,
1624
- complete : F._afterZoomOut
1625
- });
1626
- },
1627
-
1628
- changeIn: function () {
1629
- var current = F.current,
1630
- effect = current.nextEffect,
1631
- startPos = current.pos,
1632
- endPos = { opacity : 1 },
1633
- direction = F.direction,
1634
- distance = 200,
1635
- field;
1636
-
1637
- startPos.opacity = 0.1;
1638
-
1639
- if (effect === 'elastic') {
1640
- field = direction === 'down' || direction === 'up' ? 'top' : 'left';
1641
-
1642
- if (direction === 'down' || direction === 'right') {
1643
- startPos[ field ] = getValue(getScalar(startPos[ field ]) - distance);
1644
- endPos[ field ] = '+=' + distance + 'px';
1645
-
1646
- } else {
1647
- startPos[ field ] = getValue(getScalar(startPos[ field ]) + distance);
1648
- endPos[ field ] = '-=' + distance + 'px';
1649
- }
1650
- }
1651
-
1652
- // Workaround for http://bugs.jquery.com/ticket/12273
1653
- if (effect === 'none') {
1654
- F._afterZoomIn();
1655
-
1656
- } else {
1657
- F.wrap.css(startPos).animate(endPos, {
1658
- duration : current.nextSpeed,
1659
- easing : current.nextEasing,
1660
- complete : F._afterZoomIn
1661
- });
1662
- }
1663
- },
1664
-
1665
- changeOut: function () {
1666
- var previous = F.previous,
1667
- effect = previous.prevEffect,
1668
- endPos = { opacity : 0.1 },
1669
- direction = F.direction,
1670
- distance = 200;
1671
-
1672
- if (effect === 'elastic') {
1673
- endPos[ direction === 'down' || direction === 'up' ? 'top' : 'left' ] = ( direction === 'up' || direction === 'left' ? '-' : '+' ) + '=' + distance + 'px';
1674
- }
1675
-
1676
- previous.wrap.animate(endPos, {
1677
- duration : effect === 'none' ? 0 : previous.prevSpeed,
1678
- easing : previous.prevEasing,
1679
- complete : function () {
1680
- $(this).trigger('onReset').remove();
1681
- }
1682
- });
1683
- }
1684
- };
1685
-
1686
- /*
1687
- * Overlay helper
1688
- */
1689
-
1690
- F.helpers.overlay = {
1691
- defaults : {
1692
- closeClick : true, // if true, fancyBox will be closed when user clicks on the overlay
1693
- speedOut : 200, // duration of fadeOut animation
1694
- showEarly : true, // indicates if should be opened immediately or wait until the content is ready
1695
- css : {}, // custom CSS properties
1696
- locked : !isTouch, // if true, the content will be locked into overlay
1697
- fixed : true // if false, the overlay CSS position property will not be set to "fixed"
1698
- },
1699
-
1700
- overlay : null, // current handle
1701
- fixed : false, // indicates if the overlay has position "fixed"
1702
- el : $('html'), // element that contains "the lock"
1703
-
1704
- // Public methods
1705
- create : function(opts) {
1706
- opts = $.extend({}, this.defaults, opts);
1707
-
1708
- if (this.overlay) {
1709
- this.close();
1710
- }
1711
-
1712
- this.overlay = $('<div class="fancybox-overlay"></div>').appendTo( F.coming ? F.coming.parent : opts.parent );
1713
- this.fixed = false;
1714
-
1715
- if (opts.fixed && F.defaults.fixed) {
1716
- this.overlay.addClass('fancybox-overlay-fixed');
1717
-
1718
- this.fixed = true;
1719
- }
1720
- },
1721
-
1722
- open : function(opts) {
1723
- var that = this;
1724
-
1725
- opts = $.extend({}, this.defaults, opts);
1726
-
1727
- if (this.overlay) {
1728
- this.overlay.unbind('.overlay').width('auto').height('auto');
1729
-
1730
- } else {
1731
- this.create(opts);
1732
- }
1733
-
1734
- if (!this.fixed) {
1735
- W.bind('resize.overlay', $.proxy( this.update, this) );
1736
-
1737
- this.update();
1738
- }
1739
-
1740
- if (opts.closeClick) {
1741
- this.overlay.bind('click.overlay', function(e) {
1742
- if ($(e.target).hasClass('fancybox-overlay')) {
1743
- if (F.isActive) {
1744
- F.close();
1745
- } else {
1746
- that.close();
1747
- }
1748
-
1749
- return false;
1750
- }
1751
- });
1752
- }
1753
-
1754
- this.overlay.css( opts.css ).show();
1755
- },
1756
-
1757
- close : function() {
1758
- var scrollV, scrollH;
1759
-
1760
- W.unbind('resize.overlay');
1761
-
1762
- if (this.el.hasClass('fancybox-lock')) {
1763
- $('.fancybox-margin').removeClass('fancybox-margin');
1764
-
1765
- scrollV = W.scrollTop();
1766
- scrollH = W.scrollLeft();
1767
-
1768
- this.el.removeClass('fancybox-lock');
1769
-
1770
- W.scrollTop( scrollV ).scrollLeft( scrollH );
1771
- }
1772
-
1773
- $('.fancybox-overlay').remove().hide();
1774
-
1775
- $.extend(this, {
1776
- overlay : null,
1777
- fixed : false
1778
- });
1779
- },
1780
-
1781
- // Private, callbacks
1782
-
1783
- update : function () {
1784
- var width = '100%', offsetWidth;
1785
-
1786
- // Reset width/height so it will not mess
1787
- this.overlay.width(width).height('100%');
1788
-
1789
- // jQuery does not return reliable result for IE
1790
- if (IE) {
1791
- offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth);
1792
-
1793
- if (D.width() > offsetWidth) {
1794
- width = D.width();
1795
- }
1796
-
1797
- } else if (D.width() > W.width()) {
1798
- width = D.width();
1799
- }
1800
-
1801
- this.overlay.width(width).height(D.height());
1802
- },
1803
-
1804
- // This is where we can manipulate DOM, because later it would cause iframes to reload
1805
- onReady : function (opts, obj) {
1806
- var overlay = this.overlay;
1807
-
1808
- $('.fancybox-overlay').stop(true, true);
1809
-
1810
- if (!overlay) {
1811
- this.create(opts);
1812
- }
1813
-
1814
- if (opts.locked && this.fixed && obj.fixed) {
1815
- if (!overlay) {
1816
- this.margin = D.height() > W.height() ? $('html').css('margin-right').replace("px", "") : false;
1817
- }
1818
-
1819
- obj.locked = this.overlay.append( obj.wrap );
1820
- obj.fixed = false;
1821
- }
1822
-
1823
- if (opts.showEarly === true) {
1824
- this.beforeShow.apply(this, arguments);
1825
- }
1826
- },
1827
-
1828
- beforeShow : function(opts, obj) {
1829
- var scrollV, scrollH;
1830
-
1831
- if (obj.locked) {
1832
- if (this.margin !== false) {
1833
- $('*').filter(function(){
1834
- return ($(this).css('position') === 'fixed' && !$(this).hasClass("fancybox-overlay") && !$(this).hasClass("fancybox-wrap") );
1835
- }).addClass('fancybox-margin');
1836
-
1837
- this.el.addClass('fancybox-margin');
1838
- }
1839
-
1840
- scrollV = W.scrollTop();
1841
- scrollH = W.scrollLeft();
1842
-
1843
- this.el.addClass('fancybox-lock');
1844
-
1845
- W.scrollTop( scrollV ).scrollLeft( scrollH );
1846
- }
1847
-
1848
- this.open(opts);
1849
- },
1850
-
1851
- onUpdate : function() {
1852
- if (!this.fixed) {
1853
- this.update();
1854
- }
1855
- },
1856
-
1857
- afterClose: function (opts) {
1858
- // Remove overlay if exists and fancyBox is not opening
1859
- // (e.g., it is not being open using afterClose callback)
1860
- //if (this.overlay && !F.isActive) {
1861
- if (this.overlay && !F.coming) {
1862
- this.overlay.fadeOut(opts.speedOut, $.proxy( this.close, this ));
1863
- }
1864
- }
1865
- };
1866
-
1867
- /*
1868
- * Title helper
1869
- */
1870
-
1871
- F.helpers.title = {
1872
- defaults : {
1873
- type : 'float', // 'float', 'inside', 'outside' or 'over',
1874
- position : 'bottom' // 'top' or 'bottom'
1875
- },
1876
-
1877
- beforeShow: function (opts) {
1878
- var current = F.current,
1879
- text = current.title,
1880
- type = opts.type,
1881
- title,
1882
- target;
1883
-
1884
- if ($.isFunction(text)) {
1885
- text = text.call(current.element, current);
1886
- }
1887
-
1888
- if (!isString(text) || $.trim(text) === '') {
1889
- return;
1890
- }
1891
-
1892
- title = $('<div class="fancybox-title fancybox-title-' + type + '-wrap">' + text + '</div>');
1893
-
1894
- switch (type) {
1895
- case 'inside':
1896
- target = F.skin;
1897
- break;
1898
-
1899
- case 'outside':
1900
- target = F.wrap;
1901
- break;
1902
-
1903
- case 'over':
1904
- target = F.inner;
1905
- break;
1906
-
1907
- default: // 'float'
1908
- target = F.skin;
1909
-
1910
- title.appendTo('body');
1911
-
1912
- if (IE) {
1913
- title.width( title.width() );
1914
- }
1915
-
1916
- title.wrapInner('<span class="child"></span>');
1917
-
1918
- //Increase bottom margin so this title will also fit into viewport
1919
- F.current.margin[2] += Math.abs( getScalar(title.css('margin-bottom')) );
1920
- break;
1921
- }
1922
-
1923
- title[ (opts.position === 'top' ? 'prependTo' : 'appendTo') ](target);
1924
- }
1925
- };
1926
-
1927
- // jQuery plugin initialization
1928
- $.fn.fancybox = function (options) {
1929
- var index,
1930
- that = $(this),
1931
- selector = this.selector || '',
1932
- run = function(e) {
1933
- var what = $(this).blur(), idx = index, relType, relVal;
1934
-
1935
- if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) && !what.is('.fancybox-wrap')) {
1936
- relType = options.groupAttr || 'data-fancybox-group';
1937
- relVal = what.attr(relType);
1938
-
1939
- if (!relVal) {
1940
- relType = 'rel';
1941
- relVal = what.get(0)[ relType ];
1942
- }
1943
-
1944
- if (relVal && relVal !== '' && relVal !== 'nofollow') {
1945
- what = selector.length ? $(selector) : that;
1946
- what = what.filter('[' + relType + '="' + relVal + '"]');
1947
- idx = what.index(this);
1948
- }
1949
-
1950
- options.index = idx;
1951
-
1952
- // Stop an event from bubbling if everything is fine
1953
- if (F.open(what, options) !== false) {
1954
- e.preventDefault();
1955
- }
1956
- }
1957
- };
1958
-
1959
- options = options || {};
1960
- index = options.index || 0;
1961
-
1962
- if (!selector || options.live === false) {
1963
- that.unbind('click.fb-start').bind('click.fb-start', run);
1964
-
1965
- } else {
1966
- D.undelegate(selector, 'click.fb-start').delegate(selector + ":not('.fancybox-item, .fancybox-nav')", 'click.fb-start', run);
1967
- }
1968
-
1969
- this.filter('[data-fancybox-start=1]').trigger('click');
1970
-
1971
- return this;
1972
- };
1973
-
1974
- // Tests that need a body at doc ready
1975
- D.ready(function() {
1976
- var w1, w2;
1977
-
1978
- if ( $.scrollbarWidth === undefined ) {
1979
- // http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth
1980
- $.scrollbarWidth = function() {
1981
- var parent = $('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo('body'),
1982
- child = parent.children(),
1983
- width = child.innerWidth() - child.height( 99 ).innerWidth();
1984
-
1985
- parent.remove();
1986
-
1987
- return width;
1988
- };
1989
- }
1990
-
1991
- if ( $.support.fixedPosition === undefined ) {
1992
- $.support.fixedPosition = (function() {
1993
- var elem = $('<div style="position:fixed;top:20px;"></div>').appendTo('body'),
1994
- fixed = ( elem[0].offsetTop === 20 || elem[0].offsetTop === 15 );
1995
-
1996
- elem.remove();
1997
-
1998
- return fixed;
1999
- }());
2000
- }
2001
-
2002
- $.extend(F.defaults, {
2003
- scrollbarWidth : $.scrollbarWidth(),
2004
- fixed : $.support.fixedPosition,
2005
- parent : $('body')
2006
- });
2007
-
2008
- //Get real width of page scroll-bar
2009
- w1 = $(window).width();
2010
-
2011
- H.addClass('fancybox-lock-test');
2012
-
2013
- w2 = $(window).width();
2014
-
2015
- H.removeClass('fancybox-lock-test');
2016
-
2017
- $("<style type='text/css'>.fancybox-margin{margin-right:" + (w2 - w1) + "px;}</style>").appendTo("head");
2018
- });
2019
-
2020
- }(window, document, jQuery));