compass-jquery-plugin 0.3.2.6 → 0.3.2.7.nil

Sign up to get free protection for your applications and to get access to all the features.
Files changed (276) hide show
  1. data/README.md +2 -1
  2. data/VERSION.yml +2 -2
  3. data/lib/handle_js_files.rb +21 -2
  4. data/templates/dynatree/jquery.dynatree.js +23 -20
  5. data/templates/dynatree/jquery.dynatree.min.js +38 -38
  6. data/templates/dynatree/jquery/dynatree/aero.scss +1 -1
  7. data/templates/dynatree/jquery/dynatree/aqua.scss +1 -1
  8. data/templates/dynatree/jquery/dynatree/crystal.scss +1 -1
  9. data/templates/dynatree/jquery/dynatree/xp.scss +2 -2
  10. data/templates/ical/jquery/ical.scss +10 -10
  11. data/templates/jqgrid/i18n/jqgrid/locale-lt.js +134 -0
  12. data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +7 -0
  13. data/templates/jqgrid/jquery.jqGrid.js +155 -65
  14. data/templates/jqgrid/jquery.jqGrid.min.js +396 -393
  15. data/templates/jqgrid/manifest.rb +2 -0
  16. data/templates/jqtouch/jquery.jqtouch.js +166 -195
  17. data/templates/jqtouch/jquery.jqtouch.min.js +1 -1
  18. data/templates/jqtouch/jquery/touch/apple.scss +5 -5
  19. data/templates/jqtouch/jquery/touch/default.scss +5 -5
  20. data/templates/jqtouch/jquery/touch/jqt.scss +12 -7
  21. data/templates/jqtouch/jquery/touch/jqtouch.scss +11 -13
  22. data/templates/jquery/history.adapter.jquery.js +54 -67
  23. data/templates/jquery/history.adapter.jquery.min.js +2 -2
  24. data/templates/jquery/history.html4.js +587 -680
  25. data/templates/jquery/history.html4.min.js +8 -18
  26. data/templates/jquery/history.js +1670 -1289
  27. data/templates/jquery/history.min.js +25 -21
  28. data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +1 -1
  29. data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
  30. data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +23 -0
  31. data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +2 -0
  32. data/templates/jquery/jquery-ui.js +97 -61
  33. data/templates/jquery/jquery-ui.min.js +175 -175
  34. data/templates/jquery/jquery.dst.js +86 -151
  35. data/templates/jquery/jquery/ui/_theme.scss +13 -13
  36. data/templates/jquery/json2.js +214 -214
  37. data/templates/jquery/manifest.rb +2 -0
  38. data/templates/mobile/jquery.mobile.js +324 -225
  39. data/templates/mobile/jquery.mobile.min.js +4 -4
  40. data/templates/mobile/jquery/mobile/_base.scss +60 -48
  41. data/templates/mobile/jquery/mobile/default.scss +57 -80
  42. data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
  43. data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
  44. data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
  45. data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
  46. data/templates/mobile/jquery/mobile/valencia.scss +61 -73
  47. data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
  48. data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
  49. data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
  50. data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
  51. data/templates/mobile/manifest.rb +0 -8
  52. data/templates/ribbon/jquery/ribbon/office.scss +12 -12
  53. data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
  54. data/templates/tiny_mce/manifest.rb +16 -0
  55. data/templates/tiny_mce/tiny_mce/jquery.tinymce.js +1 -1
  56. data/templates/tiny_mce/tiny_mce/langs/de.js +1 -0
  57. data/templates/tiny_mce/tiny_mce/langs/en.js +1 -222
  58. data/templates/tiny_mce/tiny_mce/plugins/advhr/css/advhr.css +1 -5
  59. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin.js +1 -1
  60. data/templates/tiny_mce/tiny_mce/plugins/advhr/editor_plugin_src.js +1 -57
  61. data/templates/tiny_mce/tiny_mce/plugins/advhr/js/rule.js +1 -43
  62. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/de_dlg.js +1 -0
  63. data/templates/tiny_mce/tiny_mce/plugins/advhr/langs/en_dlg.js +1 -7
  64. data/templates/tiny_mce/tiny_mce/plugins/advhr/rule.htm +1 -58
  65. data/templates/tiny_mce/tiny_mce/plugins/advimage/css/advimage.css +1 -13
  66. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin.js +1 -1
  67. data/templates/tiny_mce/tiny_mce/plugins/advimage/editor_plugin_src.js +1 -50
  68. data/templates/tiny_mce/tiny_mce/plugins/advimage/image.htm +1 -235
  69. data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -445
  70. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -0
  71. data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/en_dlg.js +1 -45
  72. data/templates/tiny_mce/tiny_mce/plugins/advlink/css/advlink.css +1 -8
  73. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin.js +1 -1
  74. data/templates/tiny_mce/tiny_mce/plugins/advlink/editor_plugin_src.js +1 -61
  75. data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -525
  76. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/de_dlg.js +1 -0
  77. data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -54
  78. data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -338
  79. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
  80. data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -154
  81. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
  82. data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -119
  83. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin.js +1 -1
  84. data/templates/tiny_mce/tiny_mce/plugins/autosave/editor_plugin_src.js +1 -431
  85. data/templates/tiny_mce/tiny_mce/plugins/autosave/langs/en.js +1 -4
  86. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin.js +1 -1
  87. data/templates/tiny_mce/tiny_mce/plugins/bbcode/editor_plugin_src.js +1 -120
  88. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
  89. data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -154
  90. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin.js +1 -1
  91. data/templates/tiny_mce/tiny_mce/plugins/directionality/editor_plugin_src.js +1 -82
  92. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin.js +1 -1
  93. data/templates/tiny_mce/tiny_mce/plugins/emotions/editor_plugin_src.js +1 -43
  94. data/templates/tiny_mce/tiny_mce/plugins/emotions/emotions.htm +1 -41
  95. data/templates/tiny_mce/tiny_mce/plugins/emotions/js/emotions.js +1 -22
  96. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/de_dlg.js +1 -0
  97. data/templates/tiny_mce/tiny_mce/plugins/emotions/langs/en_dlg.js +1 -20
  98. data/templates/tiny_mce/tiny_mce/plugins/example/dialog.htm +1 -22
  99. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin.js +1 -1
  100. data/templates/tiny_mce/tiny_mce/plugins/example/editor_plugin_src.js +1 -84
  101. data/templates/tiny_mce/tiny_mce/plugins/example/js/dialog.js +1 -19
  102. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en.js +1 -3
  103. data/templates/tiny_mce/tiny_mce/plugins/example/langs/en_dlg.js +1 -3
  104. data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -182
  105. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
  106. data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -166
  107. data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -571
  108. data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -492
  109. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/de_dlg.js +1 -0
  110. data/templates/tiny_mce/tiny_mce/plugins/fullpage/langs/en_dlg.js +1 -85
  111. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -1
  112. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/editor_plugin_src.js +1 -159
  113. data/templates/tiny_mce/tiny_mce/plugins/fullscreen/fullscreen.htm +1 -109
  114. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin.js +1 -1
  115. data/templates/tiny_mce/tiny_mce/plugins/iespell/editor_plugin_src.js +1 -54
  116. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -1
  117. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +1 -696
  118. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -90
  119. data/templates/tiny_mce/tiny_mce/plugins/inlinepopups/template.htm +1 -387
  120. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -1
  121. data/templates/tiny_mce/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +1 -83
  122. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin.js +1 -1
  123. data/templates/tiny_mce/tiny_mce/plugins/layer/editor_plugin_src.js +1 -214
  124. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
  125. data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -139
  126. data/templates/tiny_mce/tiny_mce/plugins/media/css/media.css +1 -17
  127. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin.js +1 -1
  128. data/templates/tiny_mce/tiny_mce/plugins/media/editor_plugin_src.js +1 -770
  129. data/templates/tiny_mce/tiny_mce/plugins/media/js/embed.js +1 -73
  130. data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -340
  131. data/templates/tiny_mce/tiny_mce/plugins/media/langs/de_dlg.js +1 -0
  132. data/templates/tiny_mce/tiny_mce/plugins/media/langs/en_dlg.js +1 -109
  133. data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -812
  134. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -1
  135. data/templates/tiny_mce/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +1 -53
  136. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
  137. data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -90
  138. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -1
  139. data/templates/tiny_mce/tiny_mce/plugins/pagebreak/editor_plugin_src.js +1 -74
  140. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
  141. data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -899
  142. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pastetext.js +1 -36
  143. data/templates/tiny_mce/tiny_mce/plugins/paste/js/pasteword.js +1 -51
  144. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/de_dlg.js +1 -0
  145. data/templates/tiny_mce/tiny_mce/plugins/paste/langs/en_dlg.js +1 -5
  146. data/templates/tiny_mce/tiny_mce/plugins/paste/pastetext.htm +1 -27
  147. data/templates/tiny_mce/tiny_mce/plugins/paste/pasteword.htm +1 -21
  148. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin.js +1 -1
  149. data/templates/tiny_mce/tiny_mce/plugins/preview/editor_plugin_src.js +1 -53
  150. data/templates/tiny_mce/tiny_mce/plugins/preview/example.html +17 -16
  151. data/templates/tiny_mce/tiny_mce/plugins/preview/jscripts/embed.js +1 -73
  152. data/templates/tiny_mce/tiny_mce/plugins/preview/preview.html +10 -9
  153. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin.js +1 -1
  154. data/templates/tiny_mce/tiny_mce/plugins/print/editor_plugin_src.js +1 -34
  155. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin.js +1 -1
  156. data/templates/tiny_mce/tiny_mce/plugins/save/editor_plugin_src.js +1 -101
  157. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/css/searchreplace.css +1 -6
  158. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -1
  159. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/editor_plugin_src.js +1 -61
  160. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -140
  161. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/de_dlg.js +1 -0
  162. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/langs/en_dlg.js +1 -16
  163. data/templates/tiny_mce/tiny_mce/plugins/searchreplace/searchreplace.htm +1 -100
  164. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/css/content.css +1 -1
  165. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
  166. data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -415
  167. data/templates/tiny_mce/tiny_mce/plugins/style/css/props.css +1 -13
  168. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin.js +1 -1
  169. data/templates/tiny_mce/tiny_mce/plugins/style/editor_plugin_src.js +1 -55
  170. data/templates/tiny_mce/tiny_mce/plugins/style/js/props.js +1 -635
  171. data/templates/tiny_mce/tiny_mce/plugins/style/langs/de_dlg.js +1 -0
  172. data/templates/tiny_mce/tiny_mce/plugins/style/langs/en_dlg.js +1 -70
  173. data/templates/tiny_mce/tiny_mce/plugins/style/props.htm +1 -838
  174. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -1
  175. data/templates/tiny_mce/tiny_mce/plugins/tabfocus/editor_plugin_src.js +1 -114
  176. data/templates/tiny_mce/tiny_mce/plugins/table/cell.htm +1 -178
  177. data/templates/tiny_mce/tiny_mce/plugins/table/css/cell.css +1 -17
  178. data/templates/tiny_mce/tiny_mce/plugins/table/css/row.css +1 -25
  179. data/templates/tiny_mce/tiny_mce/plugins/table/css/table.css +1 -13
  180. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
  181. data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1183
  182. data/templates/tiny_mce/tiny_mce/plugins/table/js/cell.js +1 -284
  183. data/templates/tiny_mce/tiny_mce/plugins/table/js/merge_cells.js +1 -27
  184. data/templates/tiny_mce/tiny_mce/plugins/table/js/row.js +1 -232
  185. data/templates/tiny_mce/tiny_mce/plugins/table/js/table.js +1 -450
  186. data/templates/tiny_mce/tiny_mce/plugins/table/langs/de_dlg.js +1 -0
  187. data/templates/tiny_mce/tiny_mce/plugins/table/langs/en_dlg.js +1 -74
  188. data/templates/tiny_mce/tiny_mce/plugins/table/merge_cells.htm +1 -32
  189. data/templates/tiny_mce/tiny_mce/plugins/table/row.htm +1 -157
  190. data/templates/tiny_mce/tiny_mce/plugins/table/table.htm +1 -188
  191. data/templates/tiny_mce/tiny_mce/plugins/template/blank.htm +1 -12
  192. data/templates/tiny_mce/tiny_mce/plugins/template/css/template.css +1 -23
  193. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin.js +1 -1
  194. data/templates/tiny_mce/tiny_mce/plugins/template/editor_plugin_src.js +1 -159
  195. data/templates/tiny_mce/tiny_mce/plugins/template/js/template.js +1 -106
  196. data/templates/tiny_mce/tiny_mce/plugins/template/langs/de_dlg.js +1 -0
  197. data/templates/tiny_mce/tiny_mce/plugins/template/langs/en_dlg.js +1 -15
  198. data/templates/tiny_mce/tiny_mce/plugins/template/template.htm +1 -31
  199. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin.js +1 -1
  200. data/templates/tiny_mce/tiny_mce/plugins/visualchars/editor_plugin_src.js +1 -83
  201. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin.js +1 -1
  202. data/templates/tiny_mce/tiny_mce/plugins/wordcount/editor_plugin_src.js +1 -114
  203. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/abbr.htm +1 -142
  204. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/acronym.htm +1 -142
  205. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/attributes.htm +1 -149
  206. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/cite.htm +1 -142
  207. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/attributes.css +1 -11
  208. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/css/popup.css +1 -9
  209. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/del.htm +1 -162
  210. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
  211. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -132
  212. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/ins.htm +1 -162
  213. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/abbr.js +1 -28
  214. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/acronym.js +1 -28
  215. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -125
  216. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/cite.js +1 -28
  217. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/del.js +1 -53
  218. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/element_common.js +1 -229
  219. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/ins.js +1 -53
  220. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/de_dlg.js +1 -0
  221. data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +1 -32
  222. data/templates/tiny_mce/tiny_mce/themes/advanced/about.htm +1 -52
  223. data/templates/tiny_mce/tiny_mce/themes/advanced/anchor.htm +1 -26
  224. data/templates/tiny_mce/tiny_mce/themes/advanced/charmap.htm +1 -51
  225. data/templates/tiny_mce/tiny_mce/themes/advanced/color_picker.htm +1 -74
  226. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
  227. data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1328
  228. data/templates/tiny_mce/tiny_mce/themes/advanced/image.htm +1 -80
  229. data/templates/tiny_mce/tiny_mce/themes/advanced/js/about.js +1 -73
  230. data/templates/tiny_mce/tiny_mce/themes/advanced/js/anchor.js +1 -42
  231. data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -354
  232. data/templates/tiny_mce/tiny_mce/themes/advanced/js/color_picker.js +1 -329
  233. data/templates/tiny_mce/tiny_mce/themes/advanced/js/image.js +1 -247
  234. data/templates/tiny_mce/tiny_mce/themes/advanced/js/link.js +1 -153
  235. data/templates/tiny_mce/tiny_mce/themes/advanced/js/source_editor.js +1 -56
  236. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de.js +1 -0
  237. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -0
  238. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en.js +1 -68
  239. data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -54
  240. data/templates/tiny_mce/tiny_mce/themes/advanced/link.htm +1 -57
  241. data/templates/tiny_mce/tiny_mce/themes/advanced/shortcuts.htm +1 -47
  242. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/content.css +1 -47
  243. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/dialog.css +1 -117
  244. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -213
  245. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/content.css +1 -23
  246. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/dialog.css +1 -105
  247. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/highcontrast/ui.css +1 -101
  248. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/content.css +1 -46
  249. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -116
  250. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -215
  251. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -8
  252. data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -5
  253. data/templates/tiny_mce/tiny_mce/themes/advanced/source_editor.htm +1 -25
  254. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template.js +1 -1
  255. data/templates/tiny_mce/tiny_mce/themes/simple/editor_template_src.js +1 -84
  256. data/templates/tiny_mce/tiny_mce/themes/simple/langs/de.js +1 -0
  257. data/templates/tiny_mce/tiny_mce/themes/simple/langs/en.js +1 -11
  258. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/content.css +1 -25
  259. data/templates/tiny_mce/tiny_mce/themes/simple/skins/default/ui.css +1 -32
  260. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/content.css +1 -17
  261. data/templates/tiny_mce/tiny_mce/themes/simple/skins/o2k7/ui.css +1 -35
  262. data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
  263. data/templates/tiny_mce/tiny_mce/tiny_mce_popup.js +1 -5
  264. data/templates/tiny_mce/tiny_mce/utils/editable_selects.js +1 -70
  265. data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -207
  266. data/templates/tiny_mce/tiny_mce/utils/mctabs.js +1 -162
  267. data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -252
  268. metadata +32 -17
  269. data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
  270. data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
  271. data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
  272. data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
  273. data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
  274. data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
  275. data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
  276. data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
data/README.md CHANGED
@@ -12,13 +12,14 @@ Description
12
12
 
13
13
  A Sass-based Meta-Framework for Compass that allows you to mix and match any of the following:
14
14
 
15
- * jRails with jQuery 1.5.1 and jQuery.UI 1.8.10 including themes
15
+ * jRails with jQuery 1.5.1 and jQuery.UI 1.8.11 including themes
16
16
  * jQuery Tools 1.2.5
17
17
  * jquery.jstree.js V1.0rc3
18
18
  * jquery.dynatree.js V1.0.2
19
19
  * jquery.ribbon.js
20
20
  * jquery.jqGrid.js V3.8.2 (with minor changes to make it RESTful)
21
21
  * jquery.tinymce.js V3.4
22
+
22
23
  and for mobile devices <i>(using pure haml/sass without compass)</i>:
23
24
 
24
25
  * jquery.mobile.js 1.0a3
data/VERSION.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
- :commit:
3
- :state: 6
2
+ :commit: nil
3
+ :state: 7
4
4
  :tiny: 2
5
5
  :minor: 3
6
6
  :major: 0
@@ -16,6 +16,13 @@ def compress_js(scripts, compressor)
16
16
  min_js
17
17
  end
18
18
 
19
+ def compress_css(src)
20
+ min_css = ''
21
+ cmd = %Q/java -jar "#{YUI_JS_COMPRESSOR}" --type css --charset utf8/
22
+ IO.popen(cmd, 'r+') { |f| f.print(src); f.close_write; min_css = f.read }
23
+ min_css
24
+ end
25
+
19
26
  def concat_files(files)
20
27
  out = ''
21
28
  files.each do |file|
@@ -28,7 +35,7 @@ def all_files(pattern)
28
35
  FileList[pattern].collect { |filename| File.read(filename) }.join "\n\n"
29
36
  end
30
37
 
31
- def handleRecursiveDir(manifest, srcDir, destDir)
38
+ def handleTinyMCEDir(manifest, srcDir, destDir)
32
39
  len = srcDir.length
33
40
  actualDir = destDir
34
41
  FileUtils.mkdir_p(destDir)
@@ -41,7 +48,19 @@ def handleRecursiveDir(manifest, srcDir, destDir)
41
48
  Find.find(srcDir) do |entry|
42
49
  if File.file?(entry)
43
50
  ending = entry[len, 255]
44
- FileUtils.cp(entry, File.join(destDir, ending))
51
+ if /\.css$/ =~ entry or /\.htm$/ =~ entry
52
+ css = File.read entry
53
+ open File.join(destDir, ending), 'w' do |f|
54
+ f.write compress_css(css)
55
+ end
56
+ elsif /\.js$/ =~ entry
57
+ js = File.read entry
58
+ open File.join(destDir, ending), 'w' do |f|
59
+ f.write compress_js(js, "yui")
60
+ end
61
+ else
62
+ FileUtils.cp(entry, File.join(destDir, ending))
63
+ end
45
64
  manifest.print "javascript 'tiny_mce/#{ending}'\n"
46
65
  end
47
66
  end
@@ -1378,7 +1378,7 @@ var DTNodeStatus_Ok = 0;
1378
1378
  + "." + this.data.key;
1379
1379
  this.tree.$tree.bind(eventType, function(e, node, isOk) {
1380
1380
  self.tree.$tree.unbind(eventType);
1381
- self.tree.logInfo("loaded %o, %o, %o", e, node, isOk);
1381
+ self.tree.logDebug("loaded %o, %o, %o", e, node, isOk);
1382
1382
  if (node !== self) {
1383
1383
  throw "got invalid load event";
1384
1384
  }
@@ -1674,7 +1674,7 @@ var DTNodeStatus_Ok = 0;
1674
1674
  if (orgSuccess) {
1675
1675
  orgSuccess.call(options, self);
1676
1676
  }
1677
- self.tree.logInfo("trigger " + eventType);
1677
+ self.tree.logDebug("trigger " + eventType);
1678
1678
  self.tree.$tree.trigger(eventType, [self, true]);
1679
1679
  self.tree.phase = prevPhase;
1680
1680
  // This should be the last command, so node.isLoading is true
@@ -1854,7 +1854,7 @@ var DTNodeStatus_Ok = 0;
1854
1854
  DynaTreeStatus.prototype = {
1855
1855
  // Constructor
1856
1856
  initialize: function(cookieId, cookieOpts) {
1857
- this._log("DynaTreeStatus: initialize");
1857
+ // this._log("DynaTreeStatus: initialize");
1858
1858
  if (cookieId === undefined) {
1859
1859
  cookieId = $.ui.dynatree.prototype.options.cookieId;
1860
1860
  }
@@ -1875,7 +1875,7 @@ var DTNodeStatus_Ok = 0;
1875
1875
  _log.apply(this, arguments);
1876
1876
  },
1877
1877
  read: function() {
1878
- this._log("DynaTreeStatus: read");
1878
+ // this._log("DynaTreeStatus: read");
1879
1879
  // Read or init cookies.
1880
1880
  this.cookiesFound = false;
1881
1881
 
@@ -1901,21 +1901,21 @@ var DTNodeStatus_Ok = 0;
1901
1901
  }
1902
1902
  },
1903
1903
  write: function() {
1904
- this._log("DynaTreeStatus: write");
1904
+ // this._log("DynaTreeStatus: write");
1905
1905
  $.cookie(this.cookieId + "-active", ( this.activeKey === null ) ? "" : this.activeKey, this.cookieOpts);
1906
1906
  $.cookie(this.cookieId + "-focus", ( this.focusedKey === null ) ? "" : this.focusedKey, this.cookieOpts);
1907
1907
  $.cookie(this.cookieId + "-expand", ( this.expandedKeyList === null ) ? "" : this.expandedKeyList.join(","), this.cookieOpts);
1908
1908
  $.cookie(this.cookieId + "-select", ( this.selectedKeyList === null ) ? "" : this.selectedKeyList.join(","), this.cookieOpts);
1909
1909
  },
1910
1910
  addExpand: function(key) {
1911
- this._log("addExpand(%o)", key);
1911
+ // this._log("addExpand(%o)", key);
1912
1912
  if ($.inArray(key, this.expandedKeyList) < 0) {
1913
1913
  this.expandedKeyList.push(key);
1914
1914
  $.cookie(this.cookieId + "-expand", this.expandedKeyList.join(","), this.cookieOpts);
1915
1915
  }
1916
1916
  },
1917
1917
  clearExpand: function(key) {
1918
- this._log("clearExpand(%o)", key);
1918
+ // this._log("clearExpand(%o)", key);
1919
1919
  var idx = $.inArray(key, this.expandedKeyList);
1920
1920
  if (idx >= 0) {
1921
1921
  this.expandedKeyList.splice(idx, 1);
@@ -1923,14 +1923,14 @@ var DTNodeStatus_Ok = 0;
1923
1923
  }
1924
1924
  },
1925
1925
  addSelect: function(key) {
1926
- this._log("addSelect(%o)", key);
1926
+ // this._log("addSelect(%o)", key);
1927
1927
  if ($.inArray(key, this.selectedKeyList) < 0) {
1928
1928
  this.selectedKeyList.push(key);
1929
1929
  $.cookie(this.cookieId + "-select", this.selectedKeyList.join(","), this.cookieOpts);
1930
1930
  }
1931
1931
  },
1932
1932
  clearSelect: function(key) {
1933
- this._log("clearSelect(%o)", key);
1933
+ // this._log("clearSelect(%o)", key);
1934
1934
  var idx = $.inArray(key, this.selectedKeyList);
1935
1935
  if (idx >= 0) {
1936
1936
  this.selectedKeyList.splice(idx, 1);
@@ -1996,7 +1996,8 @@ var DTNodeStatus_Ok = 0;
1996
1996
 
1997
1997
  _load: function(callback) {
1998
1998
  var $widget = this.$widget;
1999
- var opts = this.options;
1999
+ var opts = this.options,
2000
+ self = this;
2000
2001
  this.bEnableUpdate = true;
2001
2002
  this._nodeCount = 1;
2002
2003
  this.activeNode = null;
@@ -2004,13 +2005,10 @@ var DTNodeStatus_Ok = 0;
2004
2005
 
2005
2006
  // Some deprecation warnings to help with migration
2006
2007
  if (opts.rootVisible !== undefined) {
2007
- _log("warn", "Option 'rootVisible' is no longer supported.");
2008
+ this.logWarning("Option 'rootVisible' is no longer supported.");
2008
2009
  }
2009
- // if( opts.title !== undefined ){
2010
- // _log("warn", "Option 'title' is no longer supported.");
2011
- // }
2012
2010
  if (opts.minExpandLevel < 1) {
2013
- _log("warn", "Option 'minExpandLevel' must be >= 1.");
2011
+ this.logWarning("Option 'minExpandLevel' must be >= 1.");
2014
2012
  opts.minExpandLevel = 1;
2015
2013
  }
2016
2014
  // _log("warn", "jQuery.support.boxModel " + jQuery.support.boxModel);
@@ -2036,7 +2034,7 @@ var DTNodeStatus_Ok = 0;
2036
2034
  } else {
2037
2035
  opts.imagePath = "skin/";
2038
2036
  }
2039
- logMsg("Guessing imagePath from '%s': '%s'", this.src, opts.imagePath);
2037
+ self.logDebug("Guessing imagePath from '%s': '%s'", this.src, opts.imagePath);
2040
2038
  return false; // first match
2041
2039
  }
2042
2040
  });
@@ -2726,17 +2724,22 @@ var DTNodeStatus_Ok = 0;
2726
2724
  _init: function() {
2727
2725
  if (parseFloat($.ui.version) < 1.8) {
2728
2726
  // jquery.ui.core 1.8 renamed _init() to _create(): this stub assures backward compatibility
2729
- _log("warn", "ui.dynatree._init() was called; you should upgrade to jquery.ui.core.js v1.8 or higher.");
2727
+ if (this.options.debugLevel >= 0) {
2728
+ _log("warn", "ui.dynatree._init() was called; you should upgrade to jquery.ui.core.js v1.8 or higher.");
2729
+ }
2730
2730
  return this._create();
2731
2731
  }
2732
2732
  // jquery.ui.core 1.8 still uses _init() to perform "default functionality"
2733
- _log("debug", "ui.dynatree._init() was called; no current default functionality.");
2733
+ if (this.options.debugLevel >= 2) {
2734
+ _log("debug", "ui.dynatree._init() was called; no current default functionality.");
2735
+ }
2734
2736
  },
2735
2737
 
2736
2738
  _create: function() {
2737
- logMsg("Dynatree._create(): version='%s', debugLevel=%o.", DynaTree.version, this.options.debugLevel);
2738
-
2739
2739
  var opts = this.options;
2740
+ if (opts.debugLevel >= 1) {
2741
+ logMsg("Dynatree._create(): version='%s', debugLevel=%o.", DynaTree.version, this.options.debugLevel);
2742
+ }
2740
2743
  // The widget framework supplies this.element and this.options.
2741
2744
  this.options.event += ".dynatree"; // namespace event
2742
2745
 
@@ -34,49 +34,49 @@ this.tree.tnFocused!==this){this.tree.logDebug("dtnode.onFocus: out of sync: cur
34
34
  e;d++){c=this.childList[d].visit(a,true);if(c===false)break}return c},visitParents:function(a,b){if(b&&a(this)===false)return false;for(var c=this.parent;c;){if(a(c)===false)return false;c=c.parent}return true},remove:function(){if(this===this.tree.root)throw"Cannot remove system root";return this.parent.removeChild(this)},removeChild:function(a){var b=this.childList;if(b.length==1){if(a!==b[0])throw"removeChild: invalid child";return this.removeChildren()}a===this.tree.activeNode&&a.deactivate();
35
35
  if(this.tree.options.persist){a.bSelected&&this.tree.persistence.clearSelect(a.data.key);a.bExpanded&&this.tree.persistence.clearExpand(a.data.key)}a.removeChildren(true);this.ul.removeChild(a.li);for(var c=0,d=b.length;c<d;c++)if(b[c]===a){this.childList.splice(c,1);break}},removeChildren:function(a,b){this.tree.logDebug("%s.removeChildren(%o)",this,a);var c=this.tree,d=this.childList;if(d){for(var e=0,f=d.length;e<f;e++){var h=d[e];h===c.activeNode&&!b&&h.deactivate();if(this.tree.options.persist&&
36
36
  !b){h.bSelected&&this.tree.persistence.clearSelect(h.data.key);h.bExpanded&&this.tree.persistence.clearExpand(h.data.key)}h.removeChildren(true,b);this.ul&&this.ul.removeChild(h.li)}this.childList=null}if(!a){this.isLoading=false;this.render()}},setTitle:function(a){this.fromDict({title:a})},reload:function(){throw"Use reloadChildren() instead";},reloadChildren:function(a){if(this.parent===null)throw"Use tree.reload() instead";else if(!this.data.isLazy)throw"node.reloadChildren() requires lazy nodes.";
37
- if(a){var b=this,c="nodeLoaded.dynatree."+this.tree.$tree.attr("id")+"."+this.data.key;this.tree.$tree.bind(c,function(d,e,f){b.tree.$tree.unbind(c);b.tree.logInfo("loaded %o, %o, %o",d,e,f);if(e!==b)throw"got invalid load event";a.call(b.tree,e,f)})}this.removeChildren();this._loadContent()},_loadKeyPath:function(a,b){var c=this.tree;c.logDebug("%s._loadKeyPath(%s)",this,a);if(a==="")throw"Key path must not be empty";var d=a.split(c.options.keyPathSeparator);if(d[0]==="")throw"Key path must be relative (don't start with '/')";
37
+ if(a){var b=this,c="nodeLoaded.dynatree."+this.tree.$tree.attr("id")+"."+this.data.key;this.tree.$tree.bind(c,function(d,e,f){b.tree.$tree.unbind(c);b.tree.logDebug("loaded %o, %o, %o",d,e,f);if(e!==b)throw"got invalid load event";a.call(b.tree,e,f)})}this.removeChildren();this._loadContent()},_loadKeyPath:function(a,b){var c=this.tree;c.logDebug("%s._loadKeyPath(%s)",this,a);if(a==="")throw"Key path must not be empty";var d=a.split(c.options.keyPathSeparator);if(d[0]==="")throw"Key path must be relative (don't start with '/')";
38
38
  for(var e=d.shift(),f=0,h=this.childList.length;f<h;f++){var i=this.childList[f];if(i.data.key===e){if(d.length===0)b.call(c,i,"ok");else if(i.data.isLazy&&(i.childList===null||i.childList===undefined)){c.logDebug("%s._loadKeyPath(%s) -> reloading %s...",this,a,i);var j=this;i.reloadChildren(function(k,r){if(r){c.logDebug("%s._loadKeyPath(%s) -> reloaded %s.",k,a,k);b.call(c,i,"loaded");k._loadKeyPath(d.join(c.options.keyPathSeparator),b)}else{c.logWarning("%s._loadKeyPath(%s) -> reloadChildren() failed.",
39
39
  j,a);b.call(c,i,"error")}})}else{b.call(c,i,"loaded");i._loadKeyPath(d.join(c.options.keyPathSeparator),b)}return}}c.logWarning("Node not found: "+e)},resetLazy:function(){if(this.parent===null)throw"Use tree.reload() instead";else if(!this.data.isLazy)throw"node.resetLazy() requires lazy nodes.";this.expand(false);this.removeChildren()},_addChildNode:function(a,b){var c=this.tree,d=c.options,e=c.persistence;a.parent=this;if(this.childList===null)this.childList=[];else b||this.childList.length>0&&
40
40
  g(this.childList[this.childList.length-1].span).removeClass(d.classNames.lastsib);if(b){var f=g.inArray(b,this.childList);if(f<0)throw"<beforeNode> must be a child of <this>";this.childList.splice(f,0,a)}else this.childList.push(a);f=c.isInitializing();if(d.persist&&e.cookiesFound&&f){if(e.activeKey==a.data.key)c.activeNode=a;if(e.focusedKey==a.data.key)c.focusNode=a;a.bExpanded=g.inArray(a.data.key,e.expandedKeyList)>=0;a.bSelected=g.inArray(a.data.key,e.selectedKeyList)>=0}else{if(a.data.activate){c.activeNode=
41
41
  a;if(d.persist)e.activeKey=a.data.key}if(a.data.focus){c.focusNode=a;if(d.persist)e.focusedKey=a.data.key}a.bExpanded=a.data.expand===true;a.bExpanded&&d.persist&&e.addExpand(a.data.key);a.bSelected=a.data.select===true;a.bSelected&&d.persist&&e.addSelect(a.data.key)}if(d.minExpandLevel>=a.getLevel())this.bExpanded=true;if(a.bSelected&&d.selectMode==3)for(d=this;d;){d.hasSubSel||d._setSubSel(true);d=d.parent}c.bEnableUpdate&&this.render();return a},addChild:function(a,b){if(typeof a=="string")throw"Invalid data type for "+
42
42
  a;else if(!a||a.length===0)return;else if(a instanceof p)return this._addChildNode(a,b);a.length||(a=[a]);for(var c=this.tree.enableUpdate(false),d=null,e=0,f=a.length;e<f;e++){var h=a[e],i=this._addChildNode(new p(this,this.tree,h),b);d||(d=i);h.children&&i.addChild(h.children,null)}this.tree.enableUpdate(c);return d},append:function(a){this.tree.logWarning("node.append() is deprecated (use node.addChild() instead).");return this.addChild(a,null)},appendAjax:function(a){var b=this;this.removeChildren(false,
43
43
  true);this.setLazyNodeStatus(DTNodeStatus_Loading);if(a.debugLazyDelay){var c=a.debugLazyDelay;a.debugLazyDelay=0;this.tree.logInfo("appendAjax: waiting for debugLazyDelay "+c);setTimeout(function(){b.appendAjax(a)},c)}else{var d=a.success,e=a.error,f="nodeLoaded.dynatree."+this.tree.$tree.attr("id")+"."+this.data.key,h=g.extend({},this.tree.options.ajaxDefaults,a,{success:function(i){var j=b.tree.phase;b.tree.phase="init";if(h.postProcess)i=h.postProcess.call(this,i,this.dataType);if(!g.isArray(i)||
44
- i.length!==0)b.addChild(i,null);b.tree.phase="postInit";d&&d.call(h,b);b.tree.logInfo("trigger "+f);b.tree.$tree.trigger(f,[b,true]);b.tree.phase=j;b.setLazyNodeStatus(DTNodeStatus_Ok);if(g.isArray(i)&&i.length===0){b.childList=[];b.render()}},error:function(i,j,k){b.tree.logWarning("appendAjax failed:",j,":\n",i,"\n",k);e&&e.call(h,b,i,j,k);b.tree.$tree.trigger(f,[b,false]);b.setLazyNodeStatus(DTNodeStatus_Error,{info:j,tooltip:""+k})}});g.ajax(h)}},move:function(a,b){var c;if(this!==a){if(!this.parent)throw"Cannot move system root";
44
+ i.length!==0)b.addChild(i,null);b.tree.phase="postInit";d&&d.call(h,b);b.tree.logDebug("trigger "+f);b.tree.$tree.trigger(f,[b,true]);b.tree.phase=j;b.setLazyNodeStatus(DTNodeStatus_Ok);if(g.isArray(i)&&i.length===0){b.childList=[];b.render()}},error:function(i,j,k){b.tree.logWarning("appendAjax failed:",j,":\n",i,"\n",k);e&&e.call(h,b,i,j,k);b.tree.$tree.trigger(f,[b,false]);b.setLazyNodeStatus(DTNodeStatus_Error,{info:j,tooltip:""+k})}});g.ajax(h)}},move:function(a,b){var c;if(this!==a){if(!this.parent)throw"Cannot move system root";
45
45
  if(b===undefined||b=="over")b="child";var d=this.parent,e=b==="child"?a:a.parent;if(e.isDescendantOf(this))throw"Cannot move a node to it's own descendant";if(this.parent.childList.length==1){this.parent.childList=null;this.parent.bExpanded=false}else{c=g.inArray(this,this.parent.childList);if(c<0)throw"Internal error";this.parent.childList.splice(c,1)}this.parent.ul.removeChild(this.li);this.parent=e;if(e.hasChildren())switch(b){case "child":e.childList.push(this);break;case "before":c=g.inArray(a,
46
46
  e.childList);if(c<0)throw"Internal error";e.childList.splice(c,0,this);break;case "after":c=g.inArray(a,e.childList);if(c<0)throw"Internal error";e.childList.splice(c+1,0,this);break;default:throw"Invalid mode "+b;}else{e.childList=[this];if(!e.ul){e.ul=document.createElement("ul");e.ul.style.display="none";e.li.appendChild(e.ul)}}e.ul.appendChild(this.li);if(this.tree!==a.tree){this.visit(function(f){f.tree=a.tree},null,true);throw"Not yet implemented.";}d.isDescendantOf(e)||d.render();e.isDescendantOf(d)||
47
- e.render()}},lastentry:undefined};var n=o.create();n._getTreePersistData=function(a,b){var c=new n(a,b);c.read();return c.toDict()};getDynaTreePersistData=n._getTreePersistData;n.prototype={initialize:function(a,b){this._log("DynaTreeStatus: initialize");if(a===undefined)a=g.ui.dynatree.prototype.options.cookieId;b=g.extend({},g.ui.dynatree.prototype.options.cookie,b);this.cookieId=a;this.cookieOpts=b;this.cookiesFound=undefined;this.selectedKeyList=this.expandedKeyList=this.focusedKey=this.activeKey=
48
- null},_log:function(){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments)},read:function(){this._log("DynaTreeStatus: read");this.cookiesFound=false;var a=g.cookie(this.cookieId+"-active");this.activeKey=a===null?"":a;if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+"-focus");this.focusedKey=a===null?"":a;if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+"-expand");this.expandedKeyList=a===null?[]:a.split(",");if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+
49
- "-select");this.selectedKeyList=a===null?[]:a.split(",");if(a!==null)this.cookiesFound=true},write:function(){this._log("DynaTreeStatus: write");g.cookie(this.cookieId+"-active",this.activeKey===null?"":this.activeKey,this.cookieOpts);g.cookie(this.cookieId+"-focus",this.focusedKey===null?"":this.focusedKey,this.cookieOpts);g.cookie(this.cookieId+"-expand",this.expandedKeyList===null?"":this.expandedKeyList.join(","),this.cookieOpts);g.cookie(this.cookieId+"-select",this.selectedKeyList===null?"":
50
- this.selectedKeyList.join(","),this.cookieOpts)},addExpand:function(a){this._log("addExpand(%o)",a);if(g.inArray(a,this.expandedKeyList)<0){this.expandedKeyList.push(a);g.cookie(this.cookieId+"-expand",this.expandedKeyList.join(","),this.cookieOpts)}},clearExpand:function(a){this._log("clearExpand(%o)",a);a=g.inArray(a,this.expandedKeyList);if(a>=0){this.expandedKeyList.splice(a,1);g.cookie(this.cookieId+"-expand",this.expandedKeyList.join(","),this.cookieOpts)}},addSelect:function(a){this._log("addSelect(%o)",
51
- a);if(g.inArray(a,this.selectedKeyList)<0){this.selectedKeyList.push(a);g.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},clearSelect:function(a){this._log("clearSelect(%o)",a);a=g.inArray(a,this.selectedKeyList);if(a>=0){this.selectedKeyList.splice(a,1);g.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},isReloading:function(){return this.cookiesFound===true},toDict:function(){return{cookiesFound:this.cookiesFound,activeKey:this.activeKey,
52
- focusedKey:this.activeKey,expandedKeyList:this.expandedKeyList,selectedKeyList:this.selectedKeyList}},lastentry:undefined};var q=o.create();q.version="$Version:$";q.prototype={initialize:function(a){this.phase="init";this.$widget=a;this.options=a.options;this.$tree=a.element;this.timer=null;this.divTree=this.$tree.get(0);m(this)},_load:function(a){var b=this.options;this.bEnableUpdate=true;this._nodeCount=1;this.focusNode=this.activeNode=null;b.rootVisible!==undefined&&_log("warn","Option 'rootVisible' is no longer supported.");
53
- if(b.minExpandLevel<1){_log("warn","Option 'minExpandLevel' must be >= 1.");b.minExpandLevel=1}if(b.classNames!==g.ui.dynatree.prototype.options.classNames)b.classNames=g.extend({},g.ui.dynatree.prototype.options.classNames,b.classNames);if(b.ajaxDefaults!==g.ui.dynatree.prototype.options.ajaxDefaults)b.ajaxDefaults=g.extend({},g.ui.dynatree.prototype.options.ajaxDefaults,b.ajaxDefaults);if(b.dnd!==g.ui.dynatree.prototype.options.dnd)b.dnd=g.extend({},g.ui.dynatree.prototype.options.dnd,b.dnd);b.imagePath||
54
- g("script").each(function(){if(this.src.search(/.*dynatree[^\/]*\.js$/i)>=0){b.imagePath=this.src.indexOf("/")>=0?this.src.slice(0,this.src.lastIndexOf("/"))+"/skin/":"skin/";logMsg("Guessing imagePath from '%s': '%s'",this.src,b.imagePath);return false}});this.persistence=new n(b.cookieId,b.cookie);if(b.persist){g.cookie||_log("warn","Please include jquery.cookie.js to use persistence.");this.persistence.read()}this.logDebug("DynaTree.persistence: %o",this.persistence.toDict());this.cache={tagEmpty:"<span class='"+
55
- b.classNames.empty+"'></span>",tagVline:"<span class='"+b.classNames.vline+"'></span>",tagExpander:"<span class='"+b.classNames.expander+"'></span>",tagConnector:"<span class='"+b.classNames.connector+"'></span>",tagNodeIcon:"<span class='"+b.classNames.nodeIcon+"'></span>",tagCheckbox:"<span class='"+b.classNames.checkbox+"'></span>",lastentry:undefined};if(b.children||b.initAjax&&b.initAjax.url||b.initId)g(this.divTree).empty();var c=this.$tree.find(">ul:first").hide();this.tnRoot=new p(null,this,
56
- {});this.tnRoot.bExpanded=true;this.tnRoot.render();this.divTree.appendChild(this.tnRoot.ul);var d=this.tnRoot,e=b.persist&&this.persistence.isReloading(),f=false,h=this.enableUpdate(false);this.logDebug("Dynatree._load(): read tree structure...");if(b.children)d.addChild(b.children);else if(b.initAjax&&b.initAjax.url){f=true;d.data.isLazy=true;this._reloadAjax(a)}else if(b.initId)this._createFromTag(d,g("#"+b.initId));else{this._createFromTag(d,c);c.remove()}this._checkConsistency();this.logDebug("Dynatree._load(): render nodes...");
57
- this.enableUpdate(h);this.logDebug("Dynatree._load(): bind events...");this.$widget.bind();this.logDebug("Dynatree._load(): postInit...");this.phase="postInit";b.persist&&this.persistence.write();if(this.focusNode&&this.focusNode.isVisible()){this.logDebug("Focus on init: %o",this.focusNode);this.focusNode.focus()}!f&&b.onPostInit&&b.onPostInit.call(this,e,false);this.phase="idle"},_reloadAjax:function(a){var b=this.options;if(!b.initAjax||!b.initAjax.url)throw"tree.reload() requires 'initAjax' mode.";
58
- var c=this.persistence,d=g.extend({},b.initAjax);if(d.addActiveKey)d.data.activeKey=c.activeKey;if(d.addFocusedKey)d.data.focusedKey=c.focusedKey;if(d.addExpandedKeyList)d.data.expandedKeyList=c.expandedKeyList.join(",");if(d.addSelectedKeyList)d.data.selectedKeyList=c.selectedKeyList.join(",");if(b.onPostInit){d.success&&this.logWarning("initAjax: success callback is ignored when onPostInit was specified.");d.error&&this.logWarning("initAjax: error callback is ignored when onPostInit was specified.");
59
- var e=c.isReloading();d.success=function(f){b.onPostInit.call(f.tree,e,false);a&&a.call(f.tree,"ok")};d.error=function(f){b.onPostInit.call(f.tree,e,true);a&&a.call(f.tree,"error")}}this.logDebug("Dynatree._init(): send Ajax request...");this.tnRoot.appendAjax(d)},toString:function(){return"Dynatree '"+this.$tree.attr("id")+"'"},toDict:function(){return this.tnRoot.toDict(true)},serializeArray:function(a){a=this.getSelectedNodes(a);for(var b=this.$tree.attr("name")||this.$tree.attr("id"),c=[],d=0,
60
- e=a.length;d<e;d++)c.push({name:b,value:a[d].data.key});return c},getPersistData:function(){return this.persistence.toDict()},logDebug:function(){if(this.options.debugLevel>=2){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments)}},logInfo:function(){if(this.options.debugLevel>=1){Array.prototype.unshift.apply(arguments,["info"]);_log.apply(this,arguments)}},logWarning:function(){Array.prototype.unshift.apply(arguments,["warn"]);_log.apply(this,arguments)},isInitializing:function(){return this.phase==
61
- "init"||this.phase=="postInit"},isReloading:function(){return(this.phase=="init"||this.phase=="postInit")&&this.options.persist&&this.persistence.cookiesFound},isUserEvent:function(){return this.phase=="userEvent"},redraw:function(){this.tnRoot.render(false,false)},renderInvisibleNodes:function(){this.tnRoot.render(false,true)},reload:function(a){this._load(a)},getRoot:function(){return this.tnRoot},enable:function(){this.$widget.enable()},disable:function(){this.$widget.disable()},getNodeByKey:function(a){var b=
62
- document.getElementById(this.options.idPrefix+a);if(b)return b.dtnode?b.dtnode:null;var c=null;this.visit(function(d){if(d.data.key==a){c=d;return false}},true);return c},getActiveNode:function(){return this.activeNode},reactivate:function(a){var b=this.activeNode;if(b){this.activeNode=null;b.activate();a&&b.focus()}},getSelectedNodes:function(a){var b=[];this.tnRoot.visit(function(c){if(c.bSelected){b.push(c);if(a===true)return"skip"}});return b},activateKey:function(a){a=a===null?null:this.getNodeByKey(a);
63
- if(!a){this.activeNode&&this.activeNode.deactivate();return this.activeNode=null}a.focus();a.activate();return a},loadKeyPath:function(a,b){var c=a.split(this.options.keyPathSeparator);c[0]===""&&c.shift();if(c[0]==this.tnRoot.data.key){this.logDebug("Removed leading root key.");c.shift()}a=c.join(this.options.keyPathSeparator);return this.tnRoot._loadKeyPath(a,b)},selectKey:function(a,b){var c=this.getNodeByKey(a);if(!c)return null;c.select(b);return c},enableUpdate:function(a){if(this.bEnableUpdate==
64
- a)return a;(this.bEnableUpdate=a)&&this.redraw();return!a},count:function(){return this.tnRoot.countChildren()},visit:function(a,b){return this.tnRoot.visit(a,b)},_createFromTag:function(a,b){var c=this;b.find(">li").each(function(){var d=g(this),e=d.find(">span:first");if(e.length)e=e.html();else{e=d.html();var f=e.search(/<ul/i);e=f>=0?g.trim(e.substring(0,f)):g.trim(e)}e={title:e,isFolder:d.hasClass("folder"),isLazy:d.hasClass("lazy"),expand:d.hasClass("expanded"),select:d.hasClass("selected"),
65
- activate:d.hasClass("active"),focus:d.hasClass("focused"),noLink:d.hasClass("noLink")};if(d.attr("title"))e.tooltip=d.attr("title");if(d.attr("id"))e.key=d.attr("id");if(d.attr("data"))if(f=g.trim(d.attr("data"))){if(f.charAt(0)!="{")f="{"+f+"}";try{g.extend(e,eval("("+f+")"))}catch(h){throw"Error parsing node data: "+h+"\ndata:\n'"+f+"'";}}e=a.addChild(e);d=d.find(">ul:first");d.length&&c._createFromTag(e,d)})},_checkConsistency:function(){},_setDndStatus:function(a,b,c,d,e){a=a?g(a.span):null;b=
66
- g(b.span);if(!this.$dndMarker)this.$dndMarker=g("<div id='dynatree-drop-marker'></div>").hide().prependTo(g(this.divTree).parent());if(d==="after"||d==="before"||d==="over"){var f=b.position();switch(d){case "before":this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-over");this.$dndMarker.addClass("dynatree-drop-before");f.top-=8;break;case "after":this.$dndMarker.removeClass("dynatree-drop-before dynatree-drop-over");this.$dndMarker.addClass("dynatree-drop-after");f.top+=8;break;default:this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-before");
67
- this.$dndMarker.addClass("dynatree-drop-over");b.addClass("dynatree-drop-target");f.left+=8}this.$dndMarker.css({left:f.left+"px",top:f.top+"px"}).show()}else{b.removeClass("dynatree-drop-target");this.$dndMarker.hide()}d==="after"?b.addClass("dynatree-drop-after"):b.removeClass("dynatree-drop-after");d==="before"?b.addClass("dynatree-drop-before"):b.removeClass("dynatree-drop-before");if(e===true){a&&a.addClass("dynatree-drop-accept");b.addClass("dynatree-drop-accept");c.addClass("dynatree-drop-accept")}else{a&&
68
- a.removeClass("dynatree-drop-accept");b.removeClass("dynatree-drop-accept");c.removeClass("dynatree-drop-accept")}if(e===false){a&&a.addClass("dynatree-drop-reject");b.addClass("dynatree-drop-reject");c.addClass("dynatree-drop-reject")}else{a&&a.removeClass("dynatree-drop-reject");b.removeClass("dynatree-drop-reject");c.removeClass("dynatree-drop-reject")}},_onDragEvent:function(a,b,c,d,e,f){var h=this.options.dnd,i=null,j=g(b.span);switch(a){case "helper":c=g("<div class='dynatree-drag-helper'><span class='dynatree-drag-helper-img' /></div>").append(g(d.target).closest("a").clone());
69
- c.data("dtSourceNode",b);i=c;break;case "start":if(b.isStatusNode())i=false;else if(h.onDragStart)i=h.onDragStart(b);if(i===false){this.logDebug("tree.onDragStart() cancelled");e.helper.trigger("mouseup");e.helper.hide()}else j.addClass("dynatree-drag-source");break;case "enter":i=h.onDragEnter?h.onDragEnter(b,c):null;i={over:i!==false&&(i===true||i==="over"||g.inArray("over",i)>=0),before:i!==false&&(i===true||i==="before"||g.inArray("before",i)>=0),after:i!==false&&(i===true||i==="after"||g.inArray("after",
70
- i)>=0)};e.helper.data("enterResponse",i);break;case "over":f=e.helper.data("enterResponse");a=null;if(f===false)break;else if(typeof f==="string")a=f;else{var k=j.offset();d={x:d.pageX-k.left,y:d.pageY-k.top};j={x:d.x/j.width(),y:d.y/j.height()};if(f.after&&j.y>0.75)a="after";else if(!f.over&&f.after&&j.y>0.5)a="after";else if(f.before&&j.y<=0.25)a="before";else if(!f.over&&f.before&&j.y<=0.5)a="before";else if(f.over)a="over";if(h.preventVoidMoves)if(b===c)a=null;else if(a==="before"&&c&&b===c.getNextSibling())a=
71
- null;else if(a==="after"&&c&&b===c.getPrevSibling())a=null;else if(a==="over"&&c&&c.parent===b&&c.isLastSibling())a=null;e.helper.data("hitMode",a)}a==="over"&&h.autoExpandMS&&b.hasChildren()!==false&&!b.bExpanded&&b.scheduleAction("expand",h.autoExpandMS);if(a&&h.onDragOver)i=h.onDragOver(b,c,a);this._setDndStatus(c,b,e.helper,a,i!==false);break;case "drop":(a=e.helper.data("hitMode"))&&h.onDrop&&h.onDrop(b,c,a,e,f);break;case "leave":b.scheduleAction("cancel");e.helper.data("enterResponse",null);
72
- e.helper.data("hitMode",null);this._setDndStatus(c,b,e.helper,"out",undefined);h.onDragLeave&&h.onDragLeave(b,c);break;case "stop":j.removeClass("dynatree-drag-source");h.onDragStop&&h.onDragStop(b);break;default:throw"Unsupported drag event: "+a;}return i},cancelDrag:function(){var a=g.ui.ddmanager.current;a&&a.cancel()},lastentry:undefined};g.widget("ui.dynatree",{_init:function(){if(parseFloat(g.ui.version)<1.8){_log("warn","ui.dynatree._init() was called; you should upgrade to jquery.ui.core.js v1.8 or higher.");
73
- return this._create()}_log("debug","ui.dynatree._init() was called; no current default functionality.")},_create:function(){logMsg("Dynatree._create(): version='%s', debugLevel=%o.",q.version,this.options.debugLevel);this.options.event+=".dynatree";this.element.get(0);this.tree=new q(this);this.tree._load();this.tree.logDebug("Dynatree._init(): done.")},bind:function(){function a(c){c=g.event.fix(c||window.event);var d=l(c.target);return d?d._onFocus(c):false}this.unbind();var b="click.dynatree dblclick.dynatree";
74
- if(this.options.keyboard)b+=" keypress.dynatree keydown.dynatree";this.element.bind(b,function(c){var d=l(c.target);if(!d)return true;var e=d.tree,f=e.options;e.logDebug("event(%s): dtnode: %s",c.type,d);var h=e.phase;e.phase="userEvent";try{switch(c.type){case "click":return f.onClick&&f.onClick.call(e,d,c)===false?false:d._onClick(c);case "dblclick":return f.onDblClick&&f.onDblClick.call(e,d,c)===false?false:d._onDblClick(c);case "keydown":return f.onKeydown&&f.onKeydown.call(e,d,c)===false?false:
75
- d._onKeydown(c);case "keypress":return f.onKeypress&&f.onKeypress.call(e,d,c)===false?false:d._onKeypress(c)}}catch(i){e.logWarning("bind(%o): dtnode: %o, error: %o",c,d,i)}finally{e.phase=h}});b=this.tree.divTree;if(b.addEventListener){b.addEventListener("focus",a,true);b.addEventListener("blur",a,true)}else b.onfocusin=b.onfocusout=a},unbind:function(){this.element.unbind(".dynatree")},enable:function(){this.bind();g.Widget.prototype.enable.apply(this,arguments)},disable:function(){this.unbind();
76
- g.Widget.prototype.disable.apply(this,arguments)},getTree:function(){return this.tree},getRoot:function(){return this.tree.getRoot()},getActiveNode:function(){return this.tree.getActiveNode()},getSelectedNodes:function(){return this.tree.getSelectedNodes()},lastentry:undefined});if(parseFloat(g.ui.version)<1.8)g.ui.dynatree.getter="getTree getRoot getActiveNode getSelectedNodes";g.ui.dynatree.prototype.options={title:"Dynatree",minExpandLevel:1,imagePath:null,children:null,initId:null,initAjax:null,
77
- autoFocus:true,keyboard:true,persist:false,autoCollapse:false,clickFolderMode:3,activeVisible:true,checkbox:false,selectMode:2,fx:null,noLink:false,onClick:null,onDblClick:null,onKeydown:null,onKeypress:null,onFocus:null,onBlur:null,onQueryActivate:null,onQuerySelect:null,onQueryExpand:null,onPostInit:null,onActivate:null,onDeactivate:null,onSelect:null,onExpand:null,onLazyRead:null,onCustomRender:null,onRender:null,dnd:{onDragStart:null,onDragStop:null,autoExpandMS:1E3,preventVoidMoves:true,onDragEnter:null,
78
- onDragOver:null,onDrop:null,onDragLeave:null},ajaxDefaults:{cache:false,dataType:"json"},strings:{loading:"Loading&#8230;",loadError:"Load error!"},generateIds:false,idPrefix:"dynatree-id-",keyPathSeparator:"/",cookieId:"dynatree",cookie:{expires:null},classNames:{container:"dynatree-container",node:"dynatree-node",folder:"dynatree-folder",empty:"dynatree-empty",vline:"dynatree-vline",expander:"dynatree-expander",connector:"dynatree-connector",checkbox:"dynatree-checkbox",nodeIcon:"dynatree-icon",
79
- title:"dynatree-title",noConnector:"dynatree-no-connector",nodeError:"dynatree-statusnode-error",nodeWait:"dynatree-statusnode-wait",hidden:"dynatree-hidden",combinedExpanderPrefix:"dynatree-exp-",combinedIconPrefix:"dynatree-ico-",nodeLoading:"dynatree-loading",hasChildren:"dynatree-has-children",active:"dynatree-active",selected:"dynatree-selected",expanded:"dynatree-expanded",lazy:"dynatree-lazy",focused:"dynatree-focused",partsel:"dynatree-partsel",lastsib:"dynatree-lastsib"},debugLevel:2,lastentry:undefined};
80
- if(parseFloat(g.ui.version)<1.8)g.ui.dynatree.defaults=g.ui.dynatree.prototype.options;g.ui.dynatree.nodedatadefaults={title:null,key:null,isFolder:false,isLazy:false,tooltip:null,icon:null,addClass:null,noLink:false,activate:false,focus:false,expand:false,select:false,hideCheckbox:false,unselectable:false,children:null,lastentry:undefined};var s=false,t=function(){if(!s){g.ui.plugin.add("draggable","connectToDynatree",{start:function(a,b){var c=g(this).data("draggable"),d=b.helper.data("dtSourceNode")||
81
- null;if(d){c.offset.click.top=-2;c.offset.click.left=+16;return d.tree._onDragEvent("start",d,null,a,b,c)}},drag:function(a,b){var c=g(this).data("draggable"),d=b.helper.data("dtSourceNode")||null,e=b.helper.data("dtTargetNode")||null,f=l(a.target);if(a.target&&!f)if(g(a.target).closest("div.dynatree-drag-helper,#dynatree-drop-marker").length>0)return;b.helper.data("dtTargetNode",f);e&&e!==f&&e.tree._onDragEvent("leave",e,d,a,b,c);if(f)if(f.tree.options.dnd.onDrop)f===e?f.tree._onDragEvent("over",
82
- f,d,a,b,c):f.tree._onDragEvent("enter",f,d,a,b,c)},stop:function(a,b){var c=g(this).data("draggable"),d=b.helper.data("dtSourceNode")||null,e=b.helper.data("dtTargetNode")||null,f=a.type=="mouseup"&&a.which==1;f||logMsg("Drag was cancelled");if(e){f&&e.tree._onDragEvent("drop",e,d,a,b,c);e.tree._onDragEvent("leave",e,d,a,b,c)}d&&d.tree._onDragEvent("stop",d,null,a,b,c)}});s=true}}})(jQuery);
47
+ e.render()}},lastentry:undefined};var n=o.create();n._getTreePersistData=function(a,b){var c=new n(a,b);c.read();return c.toDict()};getDynaTreePersistData=n._getTreePersistData;n.prototype={initialize:function(a,b){if(a===undefined)a=g.ui.dynatree.prototype.options.cookieId;b=g.extend({},g.ui.dynatree.prototype.options.cookie,b);this.cookieId=a;this.cookieOpts=b;this.cookiesFound=undefined;this.selectedKeyList=this.expandedKeyList=this.focusedKey=this.activeKey=null},_log:function(){Array.prototype.unshift.apply(arguments,
48
+ ["debug"]);_log.apply(this,arguments)},read:function(){this.cookiesFound=false;var a=g.cookie(this.cookieId+"-active");this.activeKey=a===null?"":a;if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+"-focus");this.focusedKey=a===null?"":a;if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+"-expand");this.expandedKeyList=a===null?[]:a.split(",");if(a!==null)this.cookiesFound=true;a=g.cookie(this.cookieId+"-select");this.selectedKeyList=a===null?[]:a.split(",");if(a!==null)this.cookiesFound=
49
+ true},write:function(){g.cookie(this.cookieId+"-active",this.activeKey===null?"":this.activeKey,this.cookieOpts);g.cookie(this.cookieId+"-focus",this.focusedKey===null?"":this.focusedKey,this.cookieOpts);g.cookie(this.cookieId+"-expand",this.expandedKeyList===null?"":this.expandedKeyList.join(","),this.cookieOpts);g.cookie(this.cookieId+"-select",this.selectedKeyList===null?"":this.selectedKeyList.join(","),this.cookieOpts)},addExpand:function(a){if(g.inArray(a,this.expandedKeyList)<0){this.expandedKeyList.push(a);
50
+ g.cookie(this.cookieId+"-expand",this.expandedKeyList.join(","),this.cookieOpts)}},clearExpand:function(a){a=g.inArray(a,this.expandedKeyList);if(a>=0){this.expandedKeyList.splice(a,1);g.cookie(this.cookieId+"-expand",this.expandedKeyList.join(","),this.cookieOpts)}},addSelect:function(a){if(g.inArray(a,this.selectedKeyList)<0){this.selectedKeyList.push(a);g.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},clearSelect:function(a){a=g.inArray(a,this.selectedKeyList);
51
+ if(a>=0){this.selectedKeyList.splice(a,1);g.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},isReloading:function(){return this.cookiesFound===true},toDict:function(){return{cookiesFound:this.cookiesFound,activeKey:this.activeKey,focusedKey:this.activeKey,expandedKeyList:this.expandedKeyList,selectedKeyList:this.selectedKeyList}},lastentry:undefined};var q=o.create();q.version="$Version:$";q.prototype={initialize:function(a){this.phase="init";this.$widget=a;this.options=
52
+ a.options;this.$tree=a.element;this.timer=null;this.divTree=this.$tree.get(0);m(this)},_load:function(a){var b=this.options,c=this;this.bEnableUpdate=true;this._nodeCount=1;this.focusNode=this.activeNode=null;b.rootVisible!==undefined&&this.logWarning("Option 'rootVisible' is no longer supported.");if(b.minExpandLevel<1){this.logWarning("Option 'minExpandLevel' must be >= 1.");b.minExpandLevel=1}if(b.classNames!==g.ui.dynatree.prototype.options.classNames)b.classNames=g.extend({},g.ui.dynatree.prototype.options.classNames,
53
+ b.classNames);if(b.ajaxDefaults!==g.ui.dynatree.prototype.options.ajaxDefaults)b.ajaxDefaults=g.extend({},g.ui.dynatree.prototype.options.ajaxDefaults,b.ajaxDefaults);if(b.dnd!==g.ui.dynatree.prototype.options.dnd)b.dnd=g.extend({},g.ui.dynatree.prototype.options.dnd,b.dnd);b.imagePath||g("script").each(function(){if(this.src.search(/.*dynatree[^\/]*\.js$/i)>=0){b.imagePath=this.src.indexOf("/")>=0?this.src.slice(0,this.src.lastIndexOf("/"))+"/skin/":"skin/";c.logDebug("Guessing imagePath from '%s': '%s'",
54
+ this.src,b.imagePath);return false}});this.persistence=new n(b.cookieId,b.cookie);if(b.persist){g.cookie||_log("warn","Please include jquery.cookie.js to use persistence.");this.persistence.read()}this.logDebug("DynaTree.persistence: %o",this.persistence.toDict());this.cache={tagEmpty:"<span class='"+b.classNames.empty+"'></span>",tagVline:"<span class='"+b.classNames.vline+"'></span>",tagExpander:"<span class='"+b.classNames.expander+"'></span>",tagConnector:"<span class='"+b.classNames.connector+
55
+ "'></span>",tagNodeIcon:"<span class='"+b.classNames.nodeIcon+"'></span>",tagCheckbox:"<span class='"+b.classNames.checkbox+"'></span>",lastentry:undefined};if(b.children||b.initAjax&&b.initAjax.url||b.initId)g(this.divTree).empty();var d=this.$tree.find(">ul:first").hide();this.tnRoot=new p(null,this,{});this.tnRoot.bExpanded=true;this.tnRoot.render();this.divTree.appendChild(this.tnRoot.ul);var e=this.tnRoot,f=b.persist&&this.persistence.isReloading(),h=false,i=this.enableUpdate(false);this.logDebug("Dynatree._load(): read tree structure...");
56
+ if(b.children)e.addChild(b.children);else if(b.initAjax&&b.initAjax.url){h=true;e.data.isLazy=true;this._reloadAjax(a)}else if(b.initId)this._createFromTag(e,g("#"+b.initId));else{this._createFromTag(e,d);d.remove()}this._checkConsistency();this.logDebug("Dynatree._load(): render nodes...");this.enableUpdate(i);this.logDebug("Dynatree._load(): bind events...");this.$widget.bind();this.logDebug("Dynatree._load(): postInit...");this.phase="postInit";b.persist&&this.persistence.write();if(this.focusNode&&
57
+ this.focusNode.isVisible()){this.logDebug("Focus on init: %o",this.focusNode);this.focusNode.focus()}!h&&b.onPostInit&&b.onPostInit.call(this,f,false);this.phase="idle"},_reloadAjax:function(a){var b=this.options;if(!b.initAjax||!b.initAjax.url)throw"tree.reload() requires 'initAjax' mode.";var c=this.persistence,d=g.extend({},b.initAjax);if(d.addActiveKey)d.data.activeKey=c.activeKey;if(d.addFocusedKey)d.data.focusedKey=c.focusedKey;if(d.addExpandedKeyList)d.data.expandedKeyList=c.expandedKeyList.join(",");
58
+ if(d.addSelectedKeyList)d.data.selectedKeyList=c.selectedKeyList.join(",");if(b.onPostInit){d.success&&this.logWarning("initAjax: success callback is ignored when onPostInit was specified.");d.error&&this.logWarning("initAjax: error callback is ignored when onPostInit was specified.");var e=c.isReloading();d.success=function(f){b.onPostInit.call(f.tree,e,false);a&&a.call(f.tree,"ok")};d.error=function(f){b.onPostInit.call(f.tree,e,true);a&&a.call(f.tree,"error")}}this.logDebug("Dynatree._init(): send Ajax request...");
59
+ this.tnRoot.appendAjax(d)},toString:function(){return"Dynatree '"+this.$tree.attr("id")+"'"},toDict:function(){return this.tnRoot.toDict(true)},serializeArray:function(a){a=this.getSelectedNodes(a);for(var b=this.$tree.attr("name")||this.$tree.attr("id"),c=[],d=0,e=a.length;d<e;d++)c.push({name:b,value:a[d].data.key});return c},getPersistData:function(){return this.persistence.toDict()},logDebug:function(){if(this.options.debugLevel>=2){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,
60
+ arguments)}},logInfo:function(){if(this.options.debugLevel>=1){Array.prototype.unshift.apply(arguments,["info"]);_log.apply(this,arguments)}},logWarning:function(){Array.prototype.unshift.apply(arguments,["warn"]);_log.apply(this,arguments)},isInitializing:function(){return this.phase=="init"||this.phase=="postInit"},isReloading:function(){return(this.phase=="init"||this.phase=="postInit")&&this.options.persist&&this.persistence.cookiesFound},isUserEvent:function(){return this.phase=="userEvent"},
61
+ redraw:function(){this.tnRoot.render(false,false)},renderInvisibleNodes:function(){this.tnRoot.render(false,true)},reload:function(a){this._load(a)},getRoot:function(){return this.tnRoot},enable:function(){this.$widget.enable()},disable:function(){this.$widget.disable()},getNodeByKey:function(a){var b=document.getElementById(this.options.idPrefix+a);if(b)return b.dtnode?b.dtnode:null;var c=null;this.visit(function(d){if(d.data.key==a){c=d;return false}},true);return c},getActiveNode:function(){return this.activeNode},
62
+ reactivate:function(a){var b=this.activeNode;if(b){this.activeNode=null;b.activate();a&&b.focus()}},getSelectedNodes:function(a){var b=[];this.tnRoot.visit(function(c){if(c.bSelected){b.push(c);if(a===true)return"skip"}});return b},activateKey:function(a){a=a===null?null:this.getNodeByKey(a);if(!a){this.activeNode&&this.activeNode.deactivate();return this.activeNode=null}a.focus();a.activate();return a},loadKeyPath:function(a,b){var c=a.split(this.options.keyPathSeparator);c[0]===""&&c.shift();if(c[0]==
63
+ this.tnRoot.data.key){this.logDebug("Removed leading root key.");c.shift()}a=c.join(this.options.keyPathSeparator);return this.tnRoot._loadKeyPath(a,b)},selectKey:function(a,b){var c=this.getNodeByKey(a);if(!c)return null;c.select(b);return c},enableUpdate:function(a){if(this.bEnableUpdate==a)return a;(this.bEnableUpdate=a)&&this.redraw();return!a},count:function(){return this.tnRoot.countChildren()},visit:function(a,b){return this.tnRoot.visit(a,b)},_createFromTag:function(a,b){var c=this;b.find(">li").each(function(){var d=
64
+ g(this),e=d.find(">span:first");if(e.length)e=e.html();else{e=d.html();var f=e.search(/<ul/i);e=f>=0?g.trim(e.substring(0,f)):g.trim(e)}e={title:e,isFolder:d.hasClass("folder"),isLazy:d.hasClass("lazy"),expand:d.hasClass("expanded"),select:d.hasClass("selected"),activate:d.hasClass("active"),focus:d.hasClass("focused"),noLink:d.hasClass("noLink")};if(d.attr("title"))e.tooltip=d.attr("title");if(d.attr("id"))e.key=d.attr("id");if(d.attr("data"))if(f=g.trim(d.attr("data"))){if(f.charAt(0)!="{")f="{"+
65
+ f+"}";try{g.extend(e,eval("("+f+")"))}catch(h){throw"Error parsing node data: "+h+"\ndata:\n'"+f+"'";}}e=a.addChild(e);d=d.find(">ul:first");d.length&&c._createFromTag(e,d)})},_checkConsistency:function(){},_setDndStatus:function(a,b,c,d,e){a=a?g(a.span):null;b=g(b.span);if(!this.$dndMarker)this.$dndMarker=g("<div id='dynatree-drop-marker'></div>").hide().prependTo(g(this.divTree).parent());if(d==="after"||d==="before"||d==="over"){var f=b.position();switch(d){case "before":this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-over");
66
+ this.$dndMarker.addClass("dynatree-drop-before");f.top-=8;break;case "after":this.$dndMarker.removeClass("dynatree-drop-before dynatree-drop-over");this.$dndMarker.addClass("dynatree-drop-after");f.top+=8;break;default:this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-before");this.$dndMarker.addClass("dynatree-drop-over");b.addClass("dynatree-drop-target");f.left+=8}this.$dndMarker.css({left:f.left+"px",top:f.top+"px"}).show()}else{b.removeClass("dynatree-drop-target");this.$dndMarker.hide()}d===
67
+ "after"?b.addClass("dynatree-drop-after"):b.removeClass("dynatree-drop-after");d==="before"?b.addClass("dynatree-drop-before"):b.removeClass("dynatree-drop-before");if(e===true){a&&a.addClass("dynatree-drop-accept");b.addClass("dynatree-drop-accept");c.addClass("dynatree-drop-accept")}else{a&&a.removeClass("dynatree-drop-accept");b.removeClass("dynatree-drop-accept");c.removeClass("dynatree-drop-accept")}if(e===false){a&&a.addClass("dynatree-drop-reject");b.addClass("dynatree-drop-reject");c.addClass("dynatree-drop-reject")}else{a&&
68
+ a.removeClass("dynatree-drop-reject");b.removeClass("dynatree-drop-reject");c.removeClass("dynatree-drop-reject")}},_onDragEvent:function(a,b,c,d,e,f){var h=this.options.dnd,i=null,j=g(b.span);switch(a){case "helper":c=g("<div class='dynatree-drag-helper'><span class='dynatree-drag-helper-img' /></div>").append(g(d.target).closest("a").clone());c.data("dtSourceNode",b);i=c;break;case "start":if(b.isStatusNode())i=false;else if(h.onDragStart)i=h.onDragStart(b);if(i===false){this.logDebug("tree.onDragStart() cancelled");
69
+ e.helper.trigger("mouseup");e.helper.hide()}else j.addClass("dynatree-drag-source");break;case "enter":i=h.onDragEnter?h.onDragEnter(b,c):null;i={over:i!==false&&(i===true||i==="over"||g.inArray("over",i)>=0),before:i!==false&&(i===true||i==="before"||g.inArray("before",i)>=0),after:i!==false&&(i===true||i==="after"||g.inArray("after",i)>=0)};e.helper.data("enterResponse",i);break;case "over":f=e.helper.data("enterResponse");a=null;if(f===false)break;else if(typeof f==="string")a=f;else{var k=j.offset();
70
+ d={x:d.pageX-k.left,y:d.pageY-k.top};j={x:d.x/j.width(),y:d.y/j.height()};if(f.after&&j.y>0.75)a="after";else if(!f.over&&f.after&&j.y>0.5)a="after";else if(f.before&&j.y<=0.25)a="before";else if(!f.over&&f.before&&j.y<=0.5)a="before";else if(f.over)a="over";if(h.preventVoidMoves)if(b===c)a=null;else if(a==="before"&&c&&b===c.getNextSibling())a=null;else if(a==="after"&&c&&b===c.getPrevSibling())a=null;else if(a==="over"&&c&&c.parent===b&&c.isLastSibling())a=null;e.helper.data("hitMode",a)}a==="over"&&
71
+ h.autoExpandMS&&b.hasChildren()!==false&&!b.bExpanded&&b.scheduleAction("expand",h.autoExpandMS);if(a&&h.onDragOver)i=h.onDragOver(b,c,a);this._setDndStatus(c,b,e.helper,a,i!==false);break;case "drop":(a=e.helper.data("hitMode"))&&h.onDrop&&h.onDrop(b,c,a,e,f);break;case "leave":b.scheduleAction("cancel");e.helper.data("enterResponse",null);e.helper.data("hitMode",null);this._setDndStatus(c,b,e.helper,"out",undefined);h.onDragLeave&&h.onDragLeave(b,c);break;case "stop":j.removeClass("dynatree-drag-source");
72
+ h.onDragStop&&h.onDragStop(b);break;default:throw"Unsupported drag event: "+a;}return i},cancelDrag:function(){var a=g.ui.ddmanager.current;a&&a.cancel()},lastentry:undefined};g.widget("ui.dynatree",{_init:function(){if(parseFloat(g.ui.version)<1.8){this.options.debugLevel>=0&&_log("warn","ui.dynatree._init() was called; you should upgrade to jquery.ui.core.js v1.8 or higher.");return this._create()}this.options.debugLevel>=2&&_log("debug","ui.dynatree._init() was called; no current default functionality.")},
73
+ _create:function(){this.options.debugLevel>=1&&logMsg("Dynatree._create(): version='%s', debugLevel=%o.",q.version,this.options.debugLevel);this.options.event+=".dynatree";this.element.get(0);this.tree=new q(this);this.tree._load();this.tree.logDebug("Dynatree._init(): done.")},bind:function(){function a(c){c=g.event.fix(c||window.event);var d=l(c.target);return d?d._onFocus(c):false}this.unbind();var b="click.dynatree dblclick.dynatree";if(this.options.keyboard)b+=" keypress.dynatree keydown.dynatree";
74
+ this.element.bind(b,function(c){var d=l(c.target);if(!d)return true;var e=d.tree,f=e.options;e.logDebug("event(%s): dtnode: %s",c.type,d);var h=e.phase;e.phase="userEvent";try{switch(c.type){case "click":return f.onClick&&f.onClick.call(e,d,c)===false?false:d._onClick(c);case "dblclick":return f.onDblClick&&f.onDblClick.call(e,d,c)===false?false:d._onDblClick(c);case "keydown":return f.onKeydown&&f.onKeydown.call(e,d,c)===false?false:d._onKeydown(c);case "keypress":return f.onKeypress&&f.onKeypress.call(e,
75
+ d,c)===false?false:d._onKeypress(c)}}catch(i){e.logWarning("bind(%o): dtnode: %o, error: %o",c,d,i)}finally{e.phase=h}});b=this.tree.divTree;if(b.addEventListener){b.addEventListener("focus",a,true);b.addEventListener("blur",a,true)}else b.onfocusin=b.onfocusout=a},unbind:function(){this.element.unbind(".dynatree")},enable:function(){this.bind();g.Widget.prototype.enable.apply(this,arguments)},disable:function(){this.unbind();g.Widget.prototype.disable.apply(this,arguments)},getTree:function(){return this.tree},
76
+ getRoot:function(){return this.tree.getRoot()},getActiveNode:function(){return this.tree.getActiveNode()},getSelectedNodes:function(){return this.tree.getSelectedNodes()},lastentry:undefined});if(parseFloat(g.ui.version)<1.8)g.ui.dynatree.getter="getTree getRoot getActiveNode getSelectedNodes";g.ui.dynatree.prototype.options={title:"Dynatree",minExpandLevel:1,imagePath:null,children:null,initId:null,initAjax:null,autoFocus:true,keyboard:true,persist:false,autoCollapse:false,clickFolderMode:3,activeVisible:true,
77
+ checkbox:false,selectMode:2,fx:null,noLink:false,onClick:null,onDblClick:null,onKeydown:null,onKeypress:null,onFocus:null,onBlur:null,onQueryActivate:null,onQuerySelect:null,onQueryExpand:null,onPostInit:null,onActivate:null,onDeactivate:null,onSelect:null,onExpand:null,onLazyRead:null,onCustomRender:null,onRender:null,dnd:{onDragStart:null,onDragStop:null,autoExpandMS:1E3,preventVoidMoves:true,onDragEnter:null,onDragOver:null,onDrop:null,onDragLeave:null},ajaxDefaults:{cache:false,dataType:"json"},
78
+ strings:{loading:"Loading&#8230;",loadError:"Load error!"},generateIds:false,idPrefix:"dynatree-id-",keyPathSeparator:"/",cookieId:"dynatree",cookie:{expires:null},classNames:{container:"dynatree-container",node:"dynatree-node",folder:"dynatree-folder",empty:"dynatree-empty",vline:"dynatree-vline",expander:"dynatree-expander",connector:"dynatree-connector",checkbox:"dynatree-checkbox",nodeIcon:"dynatree-icon",title:"dynatree-title",noConnector:"dynatree-no-connector",nodeError:"dynatree-statusnode-error",
79
+ nodeWait:"dynatree-statusnode-wait",hidden:"dynatree-hidden",combinedExpanderPrefix:"dynatree-exp-",combinedIconPrefix:"dynatree-ico-",nodeLoading:"dynatree-loading",hasChildren:"dynatree-has-children",active:"dynatree-active",selected:"dynatree-selected",expanded:"dynatree-expanded",lazy:"dynatree-lazy",focused:"dynatree-focused",partsel:"dynatree-partsel",lastsib:"dynatree-lastsib"},debugLevel:2,lastentry:undefined};if(parseFloat(g.ui.version)<1.8)g.ui.dynatree.defaults=g.ui.dynatree.prototype.options;
80
+ g.ui.dynatree.nodedatadefaults={title:null,key:null,isFolder:false,isLazy:false,tooltip:null,icon:null,addClass:null,noLink:false,activate:false,focus:false,expand:false,select:false,hideCheckbox:false,unselectable:false,children:null,lastentry:undefined};var s=false,t=function(){if(!s){g.ui.plugin.add("draggable","connectToDynatree",{start:function(a,b){var c=g(this).data("draggable"),d=b.helper.data("dtSourceNode")||null;if(d){c.offset.click.top=-2;c.offset.click.left=+16;return d.tree._onDragEvent("start",
81
+ d,null,a,b,c)}},drag:function(a,b){var c=g(this).data("draggable"),d=b.helper.data("dtSourceNode")||null,e=b.helper.data("dtTargetNode")||null,f=l(a.target);if(a.target&&!f)if(g(a.target).closest("div.dynatree-drag-helper,#dynatree-drop-marker").length>0)return;b.helper.data("dtTargetNode",f);e&&e!==f&&e.tree._onDragEvent("leave",e,d,a,b,c);if(f)if(f.tree.options.dnd.onDrop)f===e?f.tree._onDragEvent("over",f,d,a,b,c):f.tree._onDragEvent("enter",f,d,a,b,c)},stop:function(a,b){var c=g(this).data("draggable"),
82
+ d=b.helper.data("dtSourceNode")||null,e=b.helper.data("dtTargetNode")||null,f=a.type=="mouseup"&&a.which==1;f||logMsg("Drag was cancelled");if(e){f&&e.tree._onDragEvent("drop",e,d,a,b,c);e.tree._onDragEvent("leave",e,d,a,b,c)}d&&d.tree._onDragEvent("stop",d,null,a,b,c)}});s=true}}})(jQuery);
@@ -334,7 +334,7 @@ span {
334
334
  background-image: url("drop_child.gif");*/ }
335
335
  &.dynatree-drop-accept a {
336
336
  /*border: 1px solid green;*/
337
- background-color: #3169C6 !important;
337
+ background-color: #3169c6 !important;
338
338
  color: white !important;
339
339
  /* @ IE6 */
340
340
  text-decoration: none; }
@@ -334,7 +334,7 @@ span {
334
334
  background-image: url("drop_child.gif");*/ }
335
335
  &.dynatree-drop-accept a {
336
336
  /*border: 1px solid green;*/
337
- background-color: #3169C6 !important;
337
+ background-color: #3169c6 !important;
338
338
  color: white !important;
339
339
  /* @ IE6 */
340
340
  text-decoration: none; }
@@ -334,7 +334,7 @@ span {
334
334
  background-image: url("drop_child.gif");*/ }
335
335
  &.dynatree-drop-accept a {
336
336
  /*border: 1px solid green;*/
337
- background-color: #3169C6 !important;
337
+ background-color: #3169c6 !important;
338
338
  color: white !important;
339
339
  /* @ IE6 */
340
340
  text-decoration: none; }
@@ -256,7 +256,7 @@ span {
256
256
  color: green;
257
257
  font-style: italic; }
258
258
  &.dynatree-active a {
259
- background-color: #3169C6 !important;
259
+ background-color: #3169c6 !important;
260
260
  color: white !important;
261
261
  /* @ IE6 */ } }
262
262
 
@@ -318,7 +318,7 @@ span {
318
318
  background-image: url("drop_child.gif");*/ }
319
319
  &.dynatree-drop-accept a {
320
320
  /*border: 1px solid green;*/
321
- background-color: #3169C6 !important;
321
+ background-color: #3169c6 !important;
322
322
  color: white !important;
323
323
  /* @ IE6 */
324
324
  text-decoration: none; }
@@ -757,17 +757,17 @@ table.fc-header {
757
757
 
758
758
  .fc-event-hori {
759
759
  .ui-resizable-e {
760
- top: 0 !important;
760
+ top: 0 !important;
761
761
  /* importants override pre jquery ui 1.7 styles */
762
762
  right: -3px !important;
763
- width: 7px !important;
764
- height: 100% !important;
763
+ width: 7px !important;
764
+ height: 100% !important;
765
765
  cursor: e-resize; }
766
766
  .ui-resizable-w {
767
- top: 0 !important;
767
+ top: 0 !important;
768
768
  left: -3px !important;
769
- width: 7px !important;
770
- height: 100% !important;
769
+ width: 7px !important;
770
+ height: 100% !important;
771
771
  cursor: w-resize; }
772
772
  .ui-resizable-handle {
773
773
  _padding-bottom: 14px;
@@ -937,12 +937,12 @@ table.fc-header {
937
937
  filter: alpha(opacity = 30);
938
938
  /* for IE */ } }
939
939
  .ui-resizable-s {
940
- bottom: 0 !important;
940
+ bottom: 0 !important;
941
941
  /* importants override pre jquery ui 1.7 styles */
942
- width: 100% !important;
943
- height: 8px !important;
942
+ width: 100% !important;
943
+ height: 8px !important;
944
944
  line-height: 8px !important;
945
- font-size: 11px !important;
945
+ font-size: 11px !important;
946
946
  font-family: monospace;
947
947
  text-align: center;
948
948
  cursor: s-resize; } }
@@ -0,0 +1,134 @@
1
+ ;
2
+ (function($) {
3
+ /**
4
+ * jqGrid Lithuanian Translation
5
+ * aur1mas aur1mas@devnet.lt
6
+ * http://aur1mas.devnet.lt
7
+ * Dual licensed under the MIT and GPL licenses:
8
+ * http://www.opensource.org/licenses/mit-license.php
9
+ * http://www.gnu.org/licenses/gpl.html
10
+ **/
11
+ $.jgrid = {
12
+ defaults : {
13
+ recordtext: "Peržiūrima {0} - {1} iš {2}",
14
+ emptyrecords: "Įrašų nėra",
15
+ loadtext: "Kraunama...",
16
+ pgtext : "Puslapis {0} iš {1}"
17
+ },
18
+ search : {
19
+ caption: "Paieška...",
20
+ Find: "Ieškoti",
21
+ Reset: "Atstatyti",
22
+ odata : ['lygu', 'nelygu', 'mažiau', 'mažiau arba lygu','daugiau','daugiau arba lygu', 'prasideda','neprasideda','reikšmė yra','reikšmės nėra','baigiasi','nesibaigia','yra sudarytas','nėra sudarytas'],
23
+ groupOps: [
24
+ { op: "AND", text: "visi" },
25
+ { op: "OR", text: "bet kuris" }
26
+ ],
27
+ matchText: " match",
28
+ rulesText: " rules"
29
+ },
30
+ edit : {
31
+ addCaption: "Sukurti įrašą",
32
+ editCaption: "Redaguoti įrašą",
33
+ bSubmit: "Išsaugoti",
34
+ bCancel: "Atšaukti",
35
+ bClose: "Uždaryti",
36
+ saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?",
37
+ bYes : "Taip",
38
+ bNo : "Ne",
39
+ bExit : "Atšaukti",
40
+ msg: {
41
+ required:"Privalomas laukas",
42
+ number:"Įveskite tinkamą numerį",
43
+ minValue:"reikšmė turi būti didesnė arba lygi ",
44
+ maxValue:"reikšmė turi būti mažesnė arba lygi",
45
+ email: "neteisingas el. pašto adresas",
46
+ integer: "Įveskite teisingą sveikąjį skaičių",
47
+ date: "Įveskite teisingą datą",
48
+ url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')",
49
+ nodefined : " nėra apibrėžta!",
50
+ novalue : " turi būti gražinama kokia nors reikšmė!",
51
+ customarray : "Custom f-ja turi grąžinti masyvą!",
52
+ customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!"
53
+
54
+ }
55
+ },
56
+ view : {
57
+ caption: "Peržiūrėti įrašus",
58
+ bClose: "Uždaryti"
59
+ },
60
+ del : {
61
+ caption: "Ištrinti",
62
+ msg: "Ištrinti pažymėtus įrašus(-ą)?",
63
+ bSubmit: "Ištrinti",
64
+ bCancel: "Atšaukti"
65
+ },
66
+ nav : {
67
+ edittext: "",
68
+ edittitle: "Redaguoti pažymėtą eilutę",
69
+ addtext:"",
70
+ addtitle: "Pridėti naują eilutę",
71
+ deltext: "",
72
+ deltitle: "Ištrinti pažymėtą eilutę",
73
+ searchtext: "",
74
+ searchtitle: "Rasti įrašus",
75
+ refreshtext: "",
76
+ refreshtitle: "Perkrauti lentelę",
77
+ alertcap: "Įspėjimas",
78
+ alerttext: "Pasirinkite eilutę",
79
+ viewtext: "",
80
+ viewtitle: "Peržiūrėti pasirinktą eilutę"
81
+ },
82
+ col : {
83
+ caption: "Pasirinkti stulpelius",
84
+ bSubmit: "Gerai",
85
+ bCancel: "Atšaukti"
86
+ },
87
+ errors : {
88
+ errcap : "Klaida",
89
+ nourl : "Url reikšmė turi būti perduota",
90
+ norecords: "Nėra įrašų, kuriuos būtų galima apdoroti",
91
+ model : "colNames skaičius <> colModel skaičiui!"
92
+ },
93
+ formatter : {
94
+ integer : {thousandsSeparator: "", defaultValue: '0'},
95
+ number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'},
96
+ currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
97
+ date : {
98
+ dayNames: [
99
+ "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš",
100
+ "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"
101
+ ],
102
+ monthNames: [
103
+ "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru",
104
+ "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"
105
+ ],
106
+ AmPm : ["am","pm","AM","PM"],
107
+ S: function (j) {
108
+ return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'
109
+ },
110
+ srcformat: 'Y-m-d',
111
+ newformat: 'd/m/Y',
112
+ masks : {
113
+ ISO8601Long:"Y-m-d H:i:s",
114
+ ISO8601Short:"Y-m-d",
115
+ ShortDate: "n/j/Y",
116
+ LongDate: "l, F d, Y",
117
+ FullDateTime: "l, F d, Y g:i:s A",
118
+ MonthDay: "F d",
119
+ ShortTime: "g:i A",
120
+ LongTime: "g:i:s A",
121
+ SortableDateTime: "Y-m-d\\TH:i:s",
122
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
123
+ YearMonth: "F, Y"
124
+ },
125
+ reformatAfterEdit : false
126
+ },
127
+ baseLinkUrl: '',
128
+ showAction: '',
129
+ target: '',
130
+ checkbox : {disabled:true},
131
+ idName : 'id'
132
+ }
133
+ };
134
+ })(jQuery);