liquid_cms 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1329) hide show
  1. data/.gitignore +5 -0
  2. data/CHANGELOG.rdoc +3 -0
  3. data/Gemfile +4 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.rdoc +57 -0
  6. data/Rakefile +19 -0
  7. data/TODO.rdoc +7 -0
  8. data/app/controllers/cms/assets_controller.rb +47 -0
  9. data/app/controllers/cms/components_controller.rb +56 -0
  10. data/app/controllers/cms/documentation_controller.rb +4 -0
  11. data/app/controllers/cms/main_controller.rb +22 -0
  12. data/app/controllers/cms/pages_controller.rb +92 -0
  13. data/app/helpers/cms/assets_helper.rb +2 -0
  14. data/app/helpers/cms/common_helper.rb +99 -0
  15. data/app/helpers/cms/components_helper.rb +35 -0
  16. data/app/helpers/cms/pages_helper.rb +17 -0
  17. data/app/liquid/cms_paperclip_extension.rb +16 -0
  18. data/app/liquid/drops/cms_common_drop.rb +11 -0
  19. data/app/liquid/drops/cms_params_drop.rb +14 -0
  20. data/app/liquid/filters/cms_filters.rb +95 -0
  21. data/app/liquid/tags/cms_include_tag.rb +39 -0
  22. data/app/models/cms/asset.rb +33 -0
  23. data/app/models/cms/component.rb +90 -0
  24. data/app/models/cms/editable.rb +20 -0
  25. data/app/models/cms/page.rb +124 -0
  26. data/app/views/cms/assets/_asset.html.erb +14 -0
  27. data/app/views/cms/assets/_form.html.erb +6 -0
  28. data/app/views/cms/assets/_list.html.erb +14 -0
  29. data/app/views/cms/assets/destroy.js.rjs +2 -0
  30. data/app/views/cms/assets/edit.html.erb +3 -0
  31. data/app/views/cms/assets/new.html.erb +3 -0
  32. data/app/views/cms/assets/show.html.erb +12 -0
  33. data/app/views/cms/components/_list.html.erb +8 -0
  34. data/app/views/cms/components/edit.html.erb +20 -0
  35. data/app/views/cms/documentation/_app_blocks.html.erb +0 -0
  36. data/app/views/cms/documentation/_app_drops.html.erb +0 -0
  37. data/app/views/cms/documentation/_app_filters.html.erb +0 -0
  38. data/app/views/cms/documentation/_app_tags.html.erb +0 -0
  39. data/app/views/cms/documentation/_blocks.html.erb +4 -0
  40. data/app/views/cms/documentation/_cms_blocks.html.erb +3 -0
  41. data/app/views/cms/documentation/_cms_drops.html.erb +15 -0
  42. data/app/views/cms/documentation/_cms_filters.html.erb +175 -0
  43. data/app/views/cms/documentation/_cms_tags.html.erb +11 -0
  44. data/app/views/cms/documentation/_drops.html.erb +4 -0
  45. data/app/views/cms/documentation/_filters.html.erb +15 -0
  46. data/app/views/cms/documentation/_notes.html.erb +33 -0
  47. data/app/views/cms/documentation/_preamble.html.erb +5 -0
  48. data/app/views/cms/documentation/_special_vars.html.erb +53 -0
  49. data/app/views/cms/documentation/_tags.html.erb +4 -0
  50. data/app/views/cms/documentation/index.html.erb +11 -0
  51. data/app/views/cms/pages/_form.html.erb +14 -0
  52. data/app/views/cms/pages/_list.html.erb +13 -0
  53. data/app/views/cms/pages/_page.html.erb +19 -0
  54. data/app/views/cms/pages/destroy.js.rjs +2 -0
  55. data/app/views/cms/pages/edit.html.erb +3 -0
  56. data/app/views/cms/pages/new.html.erb +3 -0
  57. data/app/views/cms/shared/_index.html.erb +1 -0
  58. data/app/views/cms/shared/_sidebar.html.erb +11 -0
  59. data/app/views/layouts/cms.html.erb +33 -0
  60. data/config/routes.rb +12 -0
  61. data/generators/liquid_cms/lib/insert_commands.rb +21 -0
  62. data/generators/liquid_cms/liquid_cms_generator.rb +72 -0
  63. data/generators/liquid_cms/templates/config/initializers/cms/liquid_cms.rb +4 -0
  64. data/generators/liquid_cms/templates/config/initializers/cms/remote_indicator.rb +1 -0
  65. data/generators/liquid_cms/templates/config/initializers/cms/simple_form.rb +36 -0
  66. data/generators/liquid_cms/templates/config/initializers/cms/simple_form_updates.rb +11 -0
  67. data/generators/liquid_cms/templates/config/initializers/cms/vestal_versions.rb +9 -0
  68. data/generators/liquid_cms/templates/config/locales/cms/en.yml +62 -0
  69. data/generators/liquid_cms/templates/migration.rb +55 -0
  70. data/generators/liquid_cms/templates/public/cms/codemirror/LICENSE +23 -0
  71. data/generators/liquid_cms/templates/public/cms/codemirror/bigtest.html +1296 -0
  72. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/LICENSE +32 -0
  73. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/css/luacolors.css +63 -0
  74. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/index.html +68 -0
  75. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/js/parselua.js +253 -0
  76. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/LICENSE +37 -0
  77. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/css/phpcolors.css +114 -0
  78. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/index.html +292 -0
  79. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephp.js +371 -0
  80. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephphtmlmixed.js +90 -0
  81. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/tokenizephp.js +1006 -0
  82. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/LICENSE +22 -0
  83. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/css/plsqlcolors.css +57 -0
  84. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/index.html +67 -0
  85. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/js/parseplsql.js +233 -0
  86. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/LICENSE +32 -0
  87. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/css/pythoncolors.css +58 -0
  88. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/index.html +141 -0
  89. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/js/parsepython.js +542 -0
  90. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/LICENSE +22 -0
  91. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/css/sqlcolors.css +57 -0
  92. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/index.html +56 -0
  93. data/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/js/parsesql.js +211 -0
  94. data/generators/liquid_cms/templates/public/cms/codemirror/css/csscolors.css +51 -0
  95. data/generators/liquid_cms/templates/public/cms/codemirror/css/docs.css +50 -0
  96. data/generators/liquid_cms/templates/public/cms/codemirror/css/jscolors.css +59 -0
  97. data/generators/liquid_cms/templates/public/cms/codemirror/css/people.jpg +0 -0
  98. data/generators/liquid_cms/templates/public/cms/codemirror/css/sparqlcolors.css +43 -0
  99. data/generators/liquid_cms/templates/public/cms/codemirror/css/xmlcolors.css +55 -0
  100. data/generators/liquid_cms/templates/public/cms/codemirror/csstest.html +60 -0
  101. data/generators/liquid_cms/templates/public/cms/codemirror/highlight.html +82 -0
  102. data/generators/liquid_cms/templates/public/cms/codemirror/htmltest.html +52 -0
  103. data/generators/liquid_cms/templates/public/cms/codemirror/index.html +192 -0
  104. data/generators/liquid_cms/templates/public/cms/codemirror/js/codemirror.js +403 -0
  105. data/generators/liquid_cms/templates/public/cms/codemirror/js/editor.js +1427 -0
  106. data/generators/liquid_cms/templates/public/cms/codemirror/js/highlight.js +68 -0
  107. data/generators/liquid_cms/templates/public/cms/codemirror/js/mirrorframe.js +81 -0
  108. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsecss.js +155 -0
  109. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsedummy.js +32 -0
  110. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsehtmlmixed.js +74 -0
  111. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsejavascript.js +350 -0
  112. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsesparql.js +162 -0
  113. data/generators/liquid_cms/templates/public/cms/codemirror/js/parsexml.js +286 -0
  114. data/generators/liquid_cms/templates/public/cms/codemirror/js/select.js +619 -0
  115. data/generators/liquid_cms/templates/public/cms/codemirror/js/stringstream.js +140 -0
  116. data/generators/liquid_cms/templates/public/cms/codemirror/js/tokenize.js +57 -0
  117. data/generators/liquid_cms/templates/public/cms/codemirror/js/tokenizejavascript.js +174 -0
  118. data/generators/liquid_cms/templates/public/cms/codemirror/js/undo.js +410 -0
  119. data/generators/liquid_cms/templates/public/cms/codemirror/js/util.js +130 -0
  120. data/generators/liquid_cms/templates/public/cms/codemirror/jstest.html +56 -0
  121. data/generators/liquid_cms/templates/public/cms/codemirror/manual.html +663 -0
  122. data/generators/liquid_cms/templates/public/cms/codemirror/mixedtest.html +52 -0
  123. data/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html +41 -0
  124. data/generators/liquid_cms/templates/public/cms/codemirror/story.html +654 -0
  125. data/generators/liquid_cms/templates/public/cms/images/icons/accept.png +0 -0
  126. data/generators/liquid_cms/templates/public/cms/images/icons/add.png +0 -0
  127. data/generators/liquid_cms/templates/public/cms/images/icons/anchor.png +0 -0
  128. data/generators/liquid_cms/templates/public/cms/images/icons/application.png +0 -0
  129. data/generators/liquid_cms/templates/public/cms/images/icons/application_add.png +0 -0
  130. data/generators/liquid_cms/templates/public/cms/images/icons/application_cascade.png +0 -0
  131. data/generators/liquid_cms/templates/public/cms/images/icons/application_delete.png +0 -0
  132. data/generators/liquid_cms/templates/public/cms/images/icons/application_double.png +0 -0
  133. data/generators/liquid_cms/templates/public/cms/images/icons/application_edit.png +0 -0
  134. data/generators/liquid_cms/templates/public/cms/images/icons/application_error.png +0 -0
  135. data/generators/liquid_cms/templates/public/cms/images/icons/application_form.png +0 -0
  136. data/generators/liquid_cms/templates/public/cms/images/icons/application_form_add.png +0 -0
  137. data/generators/liquid_cms/templates/public/cms/images/icons/application_form_delete.png +0 -0
  138. data/generators/liquid_cms/templates/public/cms/images/icons/application_form_edit.png +0 -0
  139. data/generators/liquid_cms/templates/public/cms/images/icons/application_form_magnify.png +0 -0
  140. data/generators/liquid_cms/templates/public/cms/images/icons/application_get.png +0 -0
  141. data/generators/liquid_cms/templates/public/cms/images/icons/application_go.png +0 -0
  142. data/generators/liquid_cms/templates/public/cms/images/icons/application_home.png +0 -0
  143. data/generators/liquid_cms/templates/public/cms/images/icons/application_key.png +0 -0
  144. data/generators/liquid_cms/templates/public/cms/images/icons/application_lightning.png +0 -0
  145. data/generators/liquid_cms/templates/public/cms/images/icons/application_link.png +0 -0
  146. data/generators/liquid_cms/templates/public/cms/images/icons/application_osx.png +0 -0
  147. data/generators/liquid_cms/templates/public/cms/images/icons/application_osx_terminal.png +0 -0
  148. data/generators/liquid_cms/templates/public/cms/images/icons/application_put.png +0 -0
  149. data/generators/liquid_cms/templates/public/cms/images/icons/application_side_boxes.png +0 -0
  150. data/generators/liquid_cms/templates/public/cms/images/icons/application_side_contract.png +0 -0
  151. data/generators/liquid_cms/templates/public/cms/images/icons/application_side_expand.png +0 -0
  152. data/generators/liquid_cms/templates/public/cms/images/icons/application_side_list.png +0 -0
  153. data/generators/liquid_cms/templates/public/cms/images/icons/application_side_tree.png +0 -0
  154. data/generators/liquid_cms/templates/public/cms/images/icons/application_split.png +0 -0
  155. data/generators/liquid_cms/templates/public/cms/images/icons/application_tile_horizontal.png +0 -0
  156. data/generators/liquid_cms/templates/public/cms/images/icons/application_tile_vertical.png +0 -0
  157. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_columns.png +0 -0
  158. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_detail.png +0 -0
  159. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_gallery.png +0 -0
  160. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_icons.png +0 -0
  161. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_list.png +0 -0
  162. data/generators/liquid_cms/templates/public/cms/images/icons/application_view_tile.png +0 -0
  163. data/generators/liquid_cms/templates/public/cms/images/icons/application_xp.png +0 -0
  164. data/generators/liquid_cms/templates/public/cms/images/icons/application_xp_terminal.png +0 -0
  165. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_branch.png +0 -0
  166. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_divide.png +0 -0
  167. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_down.png +0 -0
  168. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_in.png +0 -0
  169. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_inout.png +0 -0
  170. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_join.png +0 -0
  171. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_left.png +0 -0
  172. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_merge.png +0 -0
  173. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_out.png +0 -0
  174. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_redo.png +0 -0
  175. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_refresh.png +0 -0
  176. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_refresh_small.png +0 -0
  177. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_right.png +0 -0
  178. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_rotate_anticlockwise.png +0 -0
  179. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_rotate_clockwise.png +0 -0
  180. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_switch.png +0 -0
  181. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_turn_left.png +0 -0
  182. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_turn_right.png +0 -0
  183. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_undo.png +0 -0
  184. data/generators/liquid_cms/templates/public/cms/images/icons/arrow_up.png +0 -0
  185. data/generators/liquid_cms/templates/public/cms/images/icons/asterisk_orange.png +0 -0
  186. data/generators/liquid_cms/templates/public/cms/images/icons/asterisk_yellow.png +0 -0
  187. data/generators/liquid_cms/templates/public/cms/images/icons/attach.png +0 -0
  188. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_add.png +0 -0
  189. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_bronze_1.png +0 -0
  190. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_bronze_2.png +0 -0
  191. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_bronze_3.png +0 -0
  192. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_delete.png +0 -0
  193. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_gold_1.png +0 -0
  194. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_gold_2.png +0 -0
  195. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_gold_3.png +0 -0
  196. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_silver_1.png +0 -0
  197. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_silver_2.png +0 -0
  198. data/generators/liquid_cms/templates/public/cms/images/icons/award_star_silver_3.png +0 -0
  199. data/generators/liquid_cms/templates/public/cms/images/icons/basket.png +0 -0
  200. data/generators/liquid_cms/templates/public/cms/images/icons/basket_add.png +0 -0
  201. data/generators/liquid_cms/templates/public/cms/images/icons/basket_delete.png +0 -0
  202. data/generators/liquid_cms/templates/public/cms/images/icons/basket_edit.png +0 -0
  203. data/generators/liquid_cms/templates/public/cms/images/icons/basket_error.png +0 -0
  204. data/generators/liquid_cms/templates/public/cms/images/icons/basket_go.png +0 -0
  205. data/generators/liquid_cms/templates/public/cms/images/icons/basket_put.png +0 -0
  206. data/generators/liquid_cms/templates/public/cms/images/icons/basket_remove.png +0 -0
  207. data/generators/liquid_cms/templates/public/cms/images/icons/bell.png +0 -0
  208. data/generators/liquid_cms/templates/public/cms/images/icons/bell_add.png +0 -0
  209. data/generators/liquid_cms/templates/public/cms/images/icons/bell_delete.png +0 -0
  210. data/generators/liquid_cms/templates/public/cms/images/icons/bell_error.png +0 -0
  211. data/generators/liquid_cms/templates/public/cms/images/icons/bell_go.png +0 -0
  212. data/generators/liquid_cms/templates/public/cms/images/icons/bell_link.png +0 -0
  213. data/generators/liquid_cms/templates/public/cms/images/icons/bin.png +0 -0
  214. data/generators/liquid_cms/templates/public/cms/images/icons/bin_closed.png +0 -0
  215. data/generators/liquid_cms/templates/public/cms/images/icons/bin_empty.png +0 -0
  216. data/generators/liquid_cms/templates/public/cms/images/icons/bomb.png +0 -0
  217. data/generators/liquid_cms/templates/public/cms/images/icons/book.png +0 -0
  218. data/generators/liquid_cms/templates/public/cms/images/icons/book_add.png +0 -0
  219. data/generators/liquid_cms/templates/public/cms/images/icons/book_addresses.png +0 -0
  220. data/generators/liquid_cms/templates/public/cms/images/icons/book_delete.png +0 -0
  221. data/generators/liquid_cms/templates/public/cms/images/icons/book_edit.png +0 -0
  222. data/generators/liquid_cms/templates/public/cms/images/icons/book_error.png +0 -0
  223. data/generators/liquid_cms/templates/public/cms/images/icons/book_go.png +0 -0
  224. data/generators/liquid_cms/templates/public/cms/images/icons/book_key.png +0 -0
  225. data/generators/liquid_cms/templates/public/cms/images/icons/book_link.png +0 -0
  226. data/generators/liquid_cms/templates/public/cms/images/icons/book_next.png +0 -0
  227. data/generators/liquid_cms/templates/public/cms/images/icons/book_open.png +0 -0
  228. data/generators/liquid_cms/templates/public/cms/images/icons/book_previous.png +0 -0
  229. data/generators/liquid_cms/templates/public/cms/images/icons/box.png +0 -0
  230. data/generators/liquid_cms/templates/public/cms/images/icons/brick.png +0 -0
  231. data/generators/liquid_cms/templates/public/cms/images/icons/brick_add.png +0 -0
  232. data/generators/liquid_cms/templates/public/cms/images/icons/brick_delete.png +0 -0
  233. data/generators/liquid_cms/templates/public/cms/images/icons/brick_edit.png +0 -0
  234. data/generators/liquid_cms/templates/public/cms/images/icons/brick_error.png +0 -0
  235. data/generators/liquid_cms/templates/public/cms/images/icons/brick_go.png +0 -0
  236. data/generators/liquid_cms/templates/public/cms/images/icons/brick_link.png +0 -0
  237. data/generators/liquid_cms/templates/public/cms/images/icons/bricks.png +0 -0
  238. data/generators/liquid_cms/templates/public/cms/images/icons/briefcase.png +0 -0
  239. data/generators/liquid_cms/templates/public/cms/images/icons/browser_aol.png +0 -0
  240. data/generators/liquid_cms/templates/public/cms/images/icons/browser_camino.png +0 -0
  241. data/generators/liquid_cms/templates/public/cms/images/icons/browser_firefox.png +0 -0
  242. data/generators/liquid_cms/templates/public/cms/images/icons/browser_galeon.png +0 -0
  243. data/generators/liquid_cms/templates/public/cms/images/icons/browser_icab.png +0 -0
  244. data/generators/liquid_cms/templates/public/cms/images/icons/browser_internetexplorer.png +0 -0
  245. data/generators/liquid_cms/templates/public/cms/images/icons/browser_konqueror.png +0 -0
  246. data/generators/liquid_cms/templates/public/cms/images/icons/browser_mozilla.png +0 -0
  247. data/generators/liquid_cms/templates/public/cms/images/icons/browser_msnexplorer.png +0 -0
  248. data/generators/liquid_cms/templates/public/cms/images/icons/browser_netscape.png +0 -0
  249. data/generators/liquid_cms/templates/public/cms/images/icons/browser_omniweb.png +0 -0
  250. data/generators/liquid_cms/templates/public/cms/images/icons/browser_opera.png +0 -0
  251. data/generators/liquid_cms/templates/public/cms/images/icons/browser_safari.png +0 -0
  252. data/generators/liquid_cms/templates/public/cms/images/icons/browser_shiira.png +0 -0
  253. data/generators/liquid_cms/templates/public/cms/images/icons/browser_sunrise.png +0 -0
  254. data/generators/liquid_cms/templates/public/cms/images/icons/bug.png +0 -0
  255. data/generators/liquid_cms/templates/public/cms/images/icons/bug_add.png +0 -0
  256. data/generators/liquid_cms/templates/public/cms/images/icons/bug_delete.png +0 -0
  257. data/generators/liquid_cms/templates/public/cms/images/icons/bug_edit.png +0 -0
  258. data/generators/liquid_cms/templates/public/cms/images/icons/bug_error.png +0 -0
  259. data/generators/liquid_cms/templates/public/cms/images/icons/bug_go.png +0 -0
  260. data/generators/liquid_cms/templates/public/cms/images/icons/bug_link.png +0 -0
  261. data/generators/liquid_cms/templates/public/cms/images/icons/building.png +0 -0
  262. data/generators/liquid_cms/templates/public/cms/images/icons/building_add.png +0 -0
  263. data/generators/liquid_cms/templates/public/cms/images/icons/building_delete.png +0 -0
  264. data/generators/liquid_cms/templates/public/cms/images/icons/building_edit.png +0 -0
  265. data/generators/liquid_cms/templates/public/cms/images/icons/building_error.png +0 -0
  266. data/generators/liquid_cms/templates/public/cms/images/icons/building_go.png +0 -0
  267. data/generators/liquid_cms/templates/public/cms/images/icons/building_key.png +0 -0
  268. data/generators/liquid_cms/templates/public/cms/images/icons/building_link.png +0 -0
  269. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_add.png +0 -0
  270. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_arrow_bottom.png +0 -0
  271. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_arrow_down.png +0 -0
  272. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_arrow_top.png +0 -0
  273. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_arrow_up.png +0 -0
  274. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_black.png +0 -0
  275. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_blue.png +0 -0
  276. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_delete.png +0 -0
  277. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_disk.png +0 -0
  278. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_error.png +0 -0
  279. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_feed.png +0 -0
  280. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_go.png +0 -0
  281. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_green.png +0 -0
  282. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_key.png +0 -0
  283. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_orange.png +0 -0
  284. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_picture.png +0 -0
  285. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_pink.png +0 -0
  286. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_purple.png +0 -0
  287. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_red.png +0 -0
  288. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_star.png +0 -0
  289. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_toggle_minus.png +0 -0
  290. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_toggle_plus.png +0 -0
  291. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_white.png +0 -0
  292. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_wrench.png +0 -0
  293. data/generators/liquid_cms/templates/public/cms/images/icons/bullet_yellow.png +0 -0
  294. data/generators/liquid_cms/templates/public/cms/images/icons/cake.png +0 -0
  295. data/generators/liquid_cms/templates/public/cms/images/icons/calculator.png +0 -0
  296. data/generators/liquid_cms/templates/public/cms/images/icons/calculator_add.png +0 -0
  297. data/generators/liquid_cms/templates/public/cms/images/icons/calculator_delete.png +0 -0
  298. data/generators/liquid_cms/templates/public/cms/images/icons/calculator_edit.png +0 -0
  299. data/generators/liquid_cms/templates/public/cms/images/icons/calculator_error.png +0 -0
  300. data/generators/liquid_cms/templates/public/cms/images/icons/calculator_link.png +0 -0
  301. data/generators/liquid_cms/templates/public/cms/images/icons/calendar.png +0 -0
  302. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_add.png +0 -0
  303. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_delete.png +0 -0
  304. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_edit.png +0 -0
  305. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_link.png +0 -0
  306. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_view_day.png +0 -0
  307. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_view_month.png +0 -0
  308. data/generators/liquid_cms/templates/public/cms/images/icons/calendar_view_week.png +0 -0
  309. data/generators/liquid_cms/templates/public/cms/images/icons/camera.png +0 -0
  310. data/generators/liquid_cms/templates/public/cms/images/icons/camera_add.png +0 -0
  311. data/generators/liquid_cms/templates/public/cms/images/icons/camera_delete.png +0 -0
  312. data/generators/liquid_cms/templates/public/cms/images/icons/camera_edit.png +0 -0
  313. data/generators/liquid_cms/templates/public/cms/images/icons/camera_error.png +0 -0
  314. data/generators/liquid_cms/templates/public/cms/images/icons/camera_go.png +0 -0
  315. data/generators/liquid_cms/templates/public/cms/images/icons/camera_link.png +0 -0
  316. data/generators/liquid_cms/templates/public/cms/images/icons/camera_small.png +0 -0
  317. data/generators/liquid_cms/templates/public/cms/images/icons/cancel.png +0 -0
  318. data/generators/liquid_cms/templates/public/cms/images/icons/car.png +0 -0
  319. data/generators/liquid_cms/templates/public/cms/images/icons/car_add.png +0 -0
  320. data/generators/liquid_cms/templates/public/cms/images/icons/car_delete.png +0 -0
  321. data/generators/liquid_cms/templates/public/cms/images/icons/cart.png +0 -0
  322. data/generators/liquid_cms/templates/public/cms/images/icons/cart_add.png +0 -0
  323. data/generators/liquid_cms/templates/public/cms/images/icons/cart_delete.png +0 -0
  324. data/generators/liquid_cms/templates/public/cms/images/icons/cart_edit.png +0 -0
  325. data/generators/liquid_cms/templates/public/cms/images/icons/cart_error.png +0 -0
  326. data/generators/liquid_cms/templates/public/cms/images/icons/cart_go.png +0 -0
  327. data/generators/liquid_cms/templates/public/cms/images/icons/cart_put.png +0 -0
  328. data/generators/liquid_cms/templates/public/cms/images/icons/cart_remove.png +0 -0
  329. data/generators/liquid_cms/templates/public/cms/images/icons/cd.png +0 -0
  330. data/generators/liquid_cms/templates/public/cms/images/icons/cd_add.png +0 -0
  331. data/generators/liquid_cms/templates/public/cms/images/icons/cd_burn.png +0 -0
  332. data/generators/liquid_cms/templates/public/cms/images/icons/cd_delete.png +0 -0
  333. data/generators/liquid_cms/templates/public/cms/images/icons/cd_edit.png +0 -0
  334. data/generators/liquid_cms/templates/public/cms/images/icons/cd_eject.png +0 -0
  335. data/generators/liquid_cms/templates/public/cms/images/icons/cd_go.png +0 -0
  336. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar.png +0 -0
  337. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar_add.png +0 -0
  338. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar_delete.png +0 -0
  339. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar_edit.png +0 -0
  340. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar_error.png +0 -0
  341. data/generators/liquid_cms/templates/public/cms/images/icons/chart_bar_link.png +0 -0
  342. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve.png +0 -0
  343. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_add.png +0 -0
  344. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_delete.png +0 -0
  345. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_edit.png +0 -0
  346. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_error.png +0 -0
  347. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_go.png +0 -0
  348. data/generators/liquid_cms/templates/public/cms/images/icons/chart_curve_link.png +0 -0
  349. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line.png +0 -0
  350. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line_add.png +0 -0
  351. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line_delete.png +0 -0
  352. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line_edit.png +0 -0
  353. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line_error.png +0 -0
  354. data/generators/liquid_cms/templates/public/cms/images/icons/chart_line_link.png +0 -0
  355. data/generators/liquid_cms/templates/public/cms/images/icons/chart_organisation.png +0 -0
  356. data/generators/liquid_cms/templates/public/cms/images/icons/chart_organisation_add.png +0 -0
  357. data/generators/liquid_cms/templates/public/cms/images/icons/chart_organisation_delete.png +0 -0
  358. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie.png +0 -0
  359. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie_add.png +0 -0
  360. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie_delete.png +0 -0
  361. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie_edit.png +0 -0
  362. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie_error.png +0 -0
  363. data/generators/liquid_cms/templates/public/cms/images/icons/chart_pie_link.png +0 -0
  364. data/generators/liquid_cms/templates/public/cms/images/icons/clock.png +0 -0
  365. data/generators/liquid_cms/templates/public/cms/images/icons/clock_add.png +0 -0
  366. data/generators/liquid_cms/templates/public/cms/images/icons/clock_delete.png +0 -0
  367. data/generators/liquid_cms/templates/public/cms/images/icons/clock_edit.png +0 -0
  368. data/generators/liquid_cms/templates/public/cms/images/icons/clock_error.png +0 -0
  369. data/generators/liquid_cms/templates/public/cms/images/icons/clock_go.png +0 -0
  370. data/generators/liquid_cms/templates/public/cms/images/icons/clock_link.png +0 -0
  371. data/generators/liquid_cms/templates/public/cms/images/icons/clock_pause.png +0 -0
  372. data/generators/liquid_cms/templates/public/cms/images/icons/clock_play.png +0 -0
  373. data/generators/liquid_cms/templates/public/cms/images/icons/clock_red.png +0 -0
  374. data/generators/liquid_cms/templates/public/cms/images/icons/clock_stop.png +0 -0
  375. data/generators/liquid_cms/templates/public/cms/images/icons/cog.png +0 -0
  376. data/generators/liquid_cms/templates/public/cms/images/icons/cog_add.png +0 -0
  377. data/generators/liquid_cms/templates/public/cms/images/icons/cog_delete.png +0 -0
  378. data/generators/liquid_cms/templates/public/cms/images/icons/cog_edit.png +0 -0
  379. data/generators/liquid_cms/templates/public/cms/images/icons/cog_error.png +0 -0
  380. data/generators/liquid_cms/templates/public/cms/images/icons/cog_go.png +0 -0
  381. data/generators/liquid_cms/templates/public/cms/images/icons/coins.png +0 -0
  382. data/generators/liquid_cms/templates/public/cms/images/icons/coins_add.png +0 -0
  383. data/generators/liquid_cms/templates/public/cms/images/icons/coins_delete.png +0 -0
  384. data/generators/liquid_cms/templates/public/cms/images/icons/color_swatch.png +0 -0
  385. data/generators/liquid_cms/templates/public/cms/images/icons/color_wheel.png +0 -0
  386. data/generators/liquid_cms/templates/public/cms/images/icons/comment.png +0 -0
  387. data/generators/liquid_cms/templates/public/cms/images/icons/comment_add.png +0 -0
  388. data/generators/liquid_cms/templates/public/cms/images/icons/comment_delete.png +0 -0
  389. data/generators/liquid_cms/templates/public/cms/images/icons/comment_edit.png +0 -0
  390. data/generators/liquid_cms/templates/public/cms/images/icons/comments.png +0 -0
  391. data/generators/liquid_cms/templates/public/cms/images/icons/comments_add.png +0 -0
  392. data/generators/liquid_cms/templates/public/cms/images/icons/comments_delete.png +0 -0
  393. data/generators/liquid_cms/templates/public/cms/images/icons/compress.png +0 -0
  394. data/generators/liquid_cms/templates/public/cms/images/icons/computer.png +0 -0
  395. data/generators/liquid_cms/templates/public/cms/images/icons/computer_add.png +0 -0
  396. data/generators/liquid_cms/templates/public/cms/images/icons/computer_delete.png +0 -0
  397. data/generators/liquid_cms/templates/public/cms/images/icons/computer_edit.png +0 -0
  398. data/generators/liquid_cms/templates/public/cms/images/icons/computer_error.png +0 -0
  399. data/generators/liquid_cms/templates/public/cms/images/icons/computer_go.png +0 -0
  400. data/generators/liquid_cms/templates/public/cms/images/icons/computer_key.png +0 -0
  401. data/generators/liquid_cms/templates/public/cms/images/icons/computer_link.png +0 -0
  402. data/generators/liquid_cms/templates/public/cms/images/icons/connect.png +0 -0
  403. data/generators/liquid_cms/templates/public/cms/images/icons/contrast.png +0 -0
  404. data/generators/liquid_cms/templates/public/cms/images/icons/contrast_decrease.png +0 -0
  405. data/generators/liquid_cms/templates/public/cms/images/icons/contrast_high.png +0 -0
  406. data/generators/liquid_cms/templates/public/cms/images/icons/contrast_increase.png +0 -0
  407. data/generators/liquid_cms/templates/public/cms/images/icons/contrast_low.png +0 -0
  408. data/generators/liquid_cms/templates/public/cms/images/icons/control_eject.png +0 -0
  409. data/generators/liquid_cms/templates/public/cms/images/icons/control_eject_blue.png +0 -0
  410. data/generators/liquid_cms/templates/public/cms/images/icons/control_end.png +0 -0
  411. data/generators/liquid_cms/templates/public/cms/images/icons/control_end_blue.png +0 -0
  412. data/generators/liquid_cms/templates/public/cms/images/icons/control_equalizer.png +0 -0
  413. data/generators/liquid_cms/templates/public/cms/images/icons/control_equalizer_blue.png +0 -0
  414. data/generators/liquid_cms/templates/public/cms/images/icons/control_fastforward.png +0 -0
  415. data/generators/liquid_cms/templates/public/cms/images/icons/control_fastforward_blue.png +0 -0
  416. data/generators/liquid_cms/templates/public/cms/images/icons/control_pause.png +0 -0
  417. data/generators/liquid_cms/templates/public/cms/images/icons/control_pause_blue.png +0 -0
  418. data/generators/liquid_cms/templates/public/cms/images/icons/control_play.png +0 -0
  419. data/generators/liquid_cms/templates/public/cms/images/icons/control_play_blue.png +0 -0
  420. data/generators/liquid_cms/templates/public/cms/images/icons/control_repeat.png +0 -0
  421. data/generators/liquid_cms/templates/public/cms/images/icons/control_repeat_blue.png +0 -0
  422. data/generators/liquid_cms/templates/public/cms/images/icons/control_rewind.png +0 -0
  423. data/generators/liquid_cms/templates/public/cms/images/icons/control_rewind_blue.png +0 -0
  424. data/generators/liquid_cms/templates/public/cms/images/icons/control_start.png +0 -0
  425. data/generators/liquid_cms/templates/public/cms/images/icons/control_start_blue.png +0 -0
  426. data/generators/liquid_cms/templates/public/cms/images/icons/control_stop.png +0 -0
  427. data/generators/liquid_cms/templates/public/cms/images/icons/control_stop_blue.png +0 -0
  428. data/generators/liquid_cms/templates/public/cms/images/icons/controller.png +0 -0
  429. data/generators/liquid_cms/templates/public/cms/images/icons/controller_add.png +0 -0
  430. data/generators/liquid_cms/templates/public/cms/images/icons/controller_delete.png +0 -0
  431. data/generators/liquid_cms/templates/public/cms/images/icons/controller_error.png +0 -0
  432. data/generators/liquid_cms/templates/public/cms/images/icons/creditcards.png +0 -0
  433. data/generators/liquid_cms/templates/public/cms/images/icons/cross.png +0 -0
  434. data/generators/liquid_cms/templates/public/cms/images/icons/css.png +0 -0
  435. data/generators/liquid_cms/templates/public/cms/images/icons/css_add.png +0 -0
  436. data/generators/liquid_cms/templates/public/cms/images/icons/css_delete.png +0 -0
  437. data/generators/liquid_cms/templates/public/cms/images/icons/css_go.png +0 -0
  438. data/generators/liquid_cms/templates/public/cms/images/icons/css_valid.png +0 -0
  439. data/generators/liquid_cms/templates/public/cms/images/icons/cup.png +0 -0
  440. data/generators/liquid_cms/templates/public/cms/images/icons/cup_add.png +0 -0
  441. data/generators/liquid_cms/templates/public/cms/images/icons/cup_delete.png +0 -0
  442. data/generators/liquid_cms/templates/public/cms/images/icons/cup_edit.png +0 -0
  443. data/generators/liquid_cms/templates/public/cms/images/icons/cup_error.png +0 -0
  444. data/generators/liquid_cms/templates/public/cms/images/icons/cup_go.png +0 -0
  445. data/generators/liquid_cms/templates/public/cms/images/icons/cup_key.png +0 -0
  446. data/generators/liquid_cms/templates/public/cms/images/icons/cup_link.png +0 -0
  447. data/generators/liquid_cms/templates/public/cms/images/icons/cursor.png +0 -0
  448. data/generators/liquid_cms/templates/public/cms/images/icons/cut.png +0 -0
  449. data/generators/liquid_cms/templates/public/cms/images/icons/cut_red.png +0 -0
  450. data/generators/liquid_cms/templates/public/cms/images/icons/database.png +0 -0
  451. data/generators/liquid_cms/templates/public/cms/images/icons/database_add.png +0 -0
  452. data/generators/liquid_cms/templates/public/cms/images/icons/database_connect.png +0 -0
  453. data/generators/liquid_cms/templates/public/cms/images/icons/database_delete.png +0 -0
  454. data/generators/liquid_cms/templates/public/cms/images/icons/database_edit.png +0 -0
  455. data/generators/liquid_cms/templates/public/cms/images/icons/database_error.png +0 -0
  456. data/generators/liquid_cms/templates/public/cms/images/icons/database_gear.png +0 -0
  457. data/generators/liquid_cms/templates/public/cms/images/icons/database_go.png +0 -0
  458. data/generators/liquid_cms/templates/public/cms/images/icons/database_key.png +0 -0
  459. data/generators/liquid_cms/templates/public/cms/images/icons/database_lightning.png +0 -0
  460. data/generators/liquid_cms/templates/public/cms/images/icons/database_link.png +0 -0
  461. data/generators/liquid_cms/templates/public/cms/images/icons/database_refresh.png +0 -0
  462. data/generators/liquid_cms/templates/public/cms/images/icons/database_save.png +0 -0
  463. data/generators/liquid_cms/templates/public/cms/images/icons/database_table.png +0 -0
  464. data/generators/liquid_cms/templates/public/cms/images/icons/date.png +0 -0
  465. data/generators/liquid_cms/templates/public/cms/images/icons/date_add.png +0 -0
  466. data/generators/liquid_cms/templates/public/cms/images/icons/date_delete.png +0 -0
  467. data/generators/liquid_cms/templates/public/cms/images/icons/date_edit.png +0 -0
  468. data/generators/liquid_cms/templates/public/cms/images/icons/date_error.png +0 -0
  469. data/generators/liquid_cms/templates/public/cms/images/icons/date_go.png +0 -0
  470. data/generators/liquid_cms/templates/public/cms/images/icons/date_link.png +0 -0
  471. data/generators/liquid_cms/templates/public/cms/images/icons/date_magnify.png +0 -0
  472. data/generators/liquid_cms/templates/public/cms/images/icons/date_next.png +0 -0
  473. data/generators/liquid_cms/templates/public/cms/images/icons/date_previous.png +0 -0
  474. data/generators/liquid_cms/templates/public/cms/images/icons/delete.png +0 -0
  475. data/generators/liquid_cms/templates/public/cms/images/icons/disconnect.png +0 -0
  476. data/generators/liquid_cms/templates/public/cms/images/icons/disk.png +0 -0
  477. data/generators/liquid_cms/templates/public/cms/images/icons/disk_multiple.png +0 -0
  478. data/generators/liquid_cms/templates/public/cms/images/icons/door.png +0 -0
  479. data/generators/liquid_cms/templates/public/cms/images/icons/door_in.png +0 -0
  480. data/generators/liquid_cms/templates/public/cms/images/icons/door_open.png +0 -0
  481. data/generators/liquid_cms/templates/public/cms/images/icons/door_out.png +0 -0
  482. data/generators/liquid_cms/templates/public/cms/images/icons/drink.png +0 -0
  483. data/generators/liquid_cms/templates/public/cms/images/icons/drink_empty.png +0 -0
  484. data/generators/liquid_cms/templates/public/cms/images/icons/drive.png +0 -0
  485. data/generators/liquid_cms/templates/public/cms/images/icons/drive_add.png +0 -0
  486. data/generators/liquid_cms/templates/public/cms/images/icons/drive_burn.png +0 -0
  487. data/generators/liquid_cms/templates/public/cms/images/icons/drive_cd.png +0 -0
  488. data/generators/liquid_cms/templates/public/cms/images/icons/drive_cd_empty.png +0 -0
  489. data/generators/liquid_cms/templates/public/cms/images/icons/drive_delete.png +0 -0
  490. data/generators/liquid_cms/templates/public/cms/images/icons/drive_disk.png +0 -0
  491. data/generators/liquid_cms/templates/public/cms/images/icons/drive_edit.png +0 -0
  492. data/generators/liquid_cms/templates/public/cms/images/icons/drive_error.png +0 -0
  493. data/generators/liquid_cms/templates/public/cms/images/icons/drive_go.png +0 -0
  494. data/generators/liquid_cms/templates/public/cms/images/icons/drive_key.png +0 -0
  495. data/generators/liquid_cms/templates/public/cms/images/icons/drive_link.png +0 -0
  496. data/generators/liquid_cms/templates/public/cms/images/icons/drive_magnify.png +0 -0
  497. data/generators/liquid_cms/templates/public/cms/images/icons/drive_network.png +0 -0
  498. data/generators/liquid_cms/templates/public/cms/images/icons/drive_rename.png +0 -0
  499. data/generators/liquid_cms/templates/public/cms/images/icons/drive_user.png +0 -0
  500. data/generators/liquid_cms/templates/public/cms/images/icons/drive_web.png +0 -0
  501. data/generators/liquid_cms/templates/public/cms/images/icons/dvd.png +0 -0
  502. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_add.png +0 -0
  503. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_delete.png +0 -0
  504. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_edit.png +0 -0
  505. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_error.png +0 -0
  506. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_go.png +0 -0
  507. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_key.png +0 -0
  508. data/generators/liquid_cms/templates/public/cms/images/icons/dvd_link.png +0 -0
  509. data/generators/liquid_cms/templates/public/cms/images/icons/email.png +0 -0
  510. data/generators/liquid_cms/templates/public/cms/images/icons/email_add.png +0 -0
  511. data/generators/liquid_cms/templates/public/cms/images/icons/email_attach.png +0 -0
  512. data/generators/liquid_cms/templates/public/cms/images/icons/email_delete.png +0 -0
  513. data/generators/liquid_cms/templates/public/cms/images/icons/email_edit.png +0 -0
  514. data/generators/liquid_cms/templates/public/cms/images/icons/email_error.png +0 -0
  515. data/generators/liquid_cms/templates/public/cms/images/icons/email_go.png +0 -0
  516. data/generators/liquid_cms/templates/public/cms/images/icons/email_link.png +0 -0
  517. data/generators/liquid_cms/templates/public/cms/images/icons/email_open.png +0 -0
  518. data/generators/liquid_cms/templates/public/cms/images/icons/email_open_image.png +0 -0
  519. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_evilgrin.png +0 -0
  520. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_grin.png +0 -0
  521. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_happy.png +0 -0
  522. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_smile.png +0 -0
  523. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_surprised.png +0 -0
  524. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_tongue.png +0 -0
  525. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_unhappy.png +0 -0
  526. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_waii.png +0 -0
  527. data/generators/liquid_cms/templates/public/cms/images/icons/emoticon_wink.png +0 -0
  528. data/generators/liquid_cms/templates/public/cms/images/icons/error.png +0 -0
  529. data/generators/liquid_cms/templates/public/cms/images/icons/error_add.png +0 -0
  530. data/generators/liquid_cms/templates/public/cms/images/icons/error_delete.png +0 -0
  531. data/generators/liquid_cms/templates/public/cms/images/icons/error_go.png +0 -0
  532. data/generators/liquid_cms/templates/public/cms/images/icons/exclamation.png +0 -0
  533. data/generators/liquid_cms/templates/public/cms/images/icons/eye.png +0 -0
  534. data/generators/liquid_cms/templates/public/cms/images/icons/feed.png +0 -0
  535. data/generators/liquid_cms/templates/public/cms/images/icons/feed_add.png +0 -0
  536. data/generators/liquid_cms/templates/public/cms/images/icons/feed_delete.png +0 -0
  537. data/generators/liquid_cms/templates/public/cms/images/icons/feed_disk.png +0 -0
  538. data/generators/liquid_cms/templates/public/cms/images/icons/feed_edit.png +0 -0
  539. data/generators/liquid_cms/templates/public/cms/images/icons/feed_error.png +0 -0
  540. data/generators/liquid_cms/templates/public/cms/images/icons/feed_go.png +0 -0
  541. data/generators/liquid_cms/templates/public/cms/images/icons/feed_key.png +0 -0
  542. data/generators/liquid_cms/templates/public/cms/images/icons/feed_link.png +0 -0
  543. data/generators/liquid_cms/templates/public/cms/images/icons/feed_magnify.png +0 -0
  544. data/generators/liquid_cms/templates/public/cms/images/icons/female.png +0 -0
  545. data/generators/liquid_cms/templates/public/cms/images/icons/film.png +0 -0
  546. data/generators/liquid_cms/templates/public/cms/images/icons/film_add.png +0 -0
  547. data/generators/liquid_cms/templates/public/cms/images/icons/film_delete.png +0 -0
  548. data/generators/liquid_cms/templates/public/cms/images/icons/film_edit.png +0 -0
  549. data/generators/liquid_cms/templates/public/cms/images/icons/film_error.png +0 -0
  550. data/generators/liquid_cms/templates/public/cms/images/icons/film_go.png +0 -0
  551. data/generators/liquid_cms/templates/public/cms/images/icons/film_key.png +0 -0
  552. data/generators/liquid_cms/templates/public/cms/images/icons/film_link.png +0 -0
  553. data/generators/liquid_cms/templates/public/cms/images/icons/film_save.png +0 -0
  554. data/generators/liquid_cms/templates/public/cms/images/icons/find.png +0 -0
  555. data/generators/liquid_cms/templates/public/cms/images/icons/flag_blue.png +0 -0
  556. data/generators/liquid_cms/templates/public/cms/images/icons/flag_green.png +0 -0
  557. data/generators/liquid_cms/templates/public/cms/images/icons/flag_orange.png +0 -0
  558. data/generators/liquid_cms/templates/public/cms/images/icons/flag_pink.png +0 -0
  559. data/generators/liquid_cms/templates/public/cms/images/icons/flag_purple.png +0 -0
  560. data/generators/liquid_cms/templates/public/cms/images/icons/flag_red.png +0 -0
  561. data/generators/liquid_cms/templates/public/cms/images/icons/flag_yellow.png +0 -0
  562. data/generators/liquid_cms/templates/public/cms/images/icons/folder.png +0 -0
  563. data/generators/liquid_cms/templates/public/cms/images/icons/folder_add.png +0 -0
  564. data/generators/liquid_cms/templates/public/cms/images/icons/folder_bell.png +0 -0
  565. data/generators/liquid_cms/templates/public/cms/images/icons/folder_brick.png +0 -0
  566. data/generators/liquid_cms/templates/public/cms/images/icons/folder_bug.png +0 -0
  567. data/generators/liquid_cms/templates/public/cms/images/icons/folder_camera.png +0 -0
  568. data/generators/liquid_cms/templates/public/cms/images/icons/folder_database.png +0 -0
  569. data/generators/liquid_cms/templates/public/cms/images/icons/folder_delete.png +0 -0
  570. data/generators/liquid_cms/templates/public/cms/images/icons/folder_edit.png +0 -0
  571. data/generators/liquid_cms/templates/public/cms/images/icons/folder_error.png +0 -0
  572. data/generators/liquid_cms/templates/public/cms/images/icons/folder_explore.png +0 -0
  573. data/generators/liquid_cms/templates/public/cms/images/icons/folder_feed.png +0 -0
  574. data/generators/liquid_cms/templates/public/cms/images/icons/folder_find.png +0 -0
  575. data/generators/liquid_cms/templates/public/cms/images/icons/folder_go.png +0 -0
  576. data/generators/liquid_cms/templates/public/cms/images/icons/folder_heart.png +0 -0
  577. data/generators/liquid_cms/templates/public/cms/images/icons/folder_image.png +0 -0
  578. data/generators/liquid_cms/templates/public/cms/images/icons/folder_key.png +0 -0
  579. data/generators/liquid_cms/templates/public/cms/images/icons/folder_lightbulb.png +0 -0
  580. data/generators/liquid_cms/templates/public/cms/images/icons/folder_link.png +0 -0
  581. data/generators/liquid_cms/templates/public/cms/images/icons/folder_magnify.png +0 -0
  582. data/generators/liquid_cms/templates/public/cms/images/icons/folder_page.png +0 -0
  583. data/generators/liquid_cms/templates/public/cms/images/icons/folder_page_white.png +0 -0
  584. data/generators/liquid_cms/templates/public/cms/images/icons/folder_palette.png +0 -0
  585. data/generators/liquid_cms/templates/public/cms/images/icons/folder_picture.png +0 -0
  586. data/generators/liquid_cms/templates/public/cms/images/icons/folder_star.png +0 -0
  587. data/generators/liquid_cms/templates/public/cms/images/icons/folder_table.png +0 -0
  588. data/generators/liquid_cms/templates/public/cms/images/icons/folder_user.png +0 -0
  589. data/generators/liquid_cms/templates/public/cms/images/icons/folder_wrench.png +0 -0
  590. data/generators/liquid_cms/templates/public/cms/images/icons/font.png +0 -0
  591. data/generators/liquid_cms/templates/public/cms/images/icons/font_add.png +0 -0
  592. data/generators/liquid_cms/templates/public/cms/images/icons/font_delete.png +0 -0
  593. data/generators/liquid_cms/templates/public/cms/images/icons/font_go.png +0 -0
  594. data/generators/liquid_cms/templates/public/cms/images/icons/group.png +0 -0
  595. data/generators/liquid_cms/templates/public/cms/images/icons/group_add.png +0 -0
  596. data/generators/liquid_cms/templates/public/cms/images/icons/group_delete.png +0 -0
  597. data/generators/liquid_cms/templates/public/cms/images/icons/group_edit.png +0 -0
  598. data/generators/liquid_cms/templates/public/cms/images/icons/group_error.png +0 -0
  599. data/generators/liquid_cms/templates/public/cms/images/icons/group_gear.png +0 -0
  600. data/generators/liquid_cms/templates/public/cms/images/icons/group_go.png +0 -0
  601. data/generators/liquid_cms/templates/public/cms/images/icons/group_key.png +0 -0
  602. data/generators/liquid_cms/templates/public/cms/images/icons/group_link.png +0 -0
  603. data/generators/liquid_cms/templates/public/cms/images/icons/heart.png +0 -0
  604. data/generators/liquid_cms/templates/public/cms/images/icons/heart_add.png +0 -0
  605. data/generators/liquid_cms/templates/public/cms/images/icons/heart_delete.png +0 -0
  606. data/generators/liquid_cms/templates/public/cms/images/icons/help.png +0 -0
  607. data/generators/liquid_cms/templates/public/cms/images/icons/hourglass.png +0 -0
  608. data/generators/liquid_cms/templates/public/cms/images/icons/hourglass_add.png +0 -0
  609. data/generators/liquid_cms/templates/public/cms/images/icons/hourglass_delete.png +0 -0
  610. data/generators/liquid_cms/templates/public/cms/images/icons/hourglass_go.png +0 -0
  611. data/generators/liquid_cms/templates/public/cms/images/icons/hourglass_link.png +0 -0
  612. data/generators/liquid_cms/templates/public/cms/images/icons/house.png +0 -0
  613. data/generators/liquid_cms/templates/public/cms/images/icons/house_go.png +0 -0
  614. data/generators/liquid_cms/templates/public/cms/images/icons/house_link.png +0 -0
  615. data/generators/liquid_cms/templates/public/cms/images/icons/html.png +0 -0
  616. data/generators/liquid_cms/templates/public/cms/images/icons/html_add.png +0 -0
  617. data/generators/liquid_cms/templates/public/cms/images/icons/html_delete.png +0 -0
  618. data/generators/liquid_cms/templates/public/cms/images/icons/html_edit.png +0 -0
  619. data/generators/liquid_cms/templates/public/cms/images/icons/html_go.png +0 -0
  620. data/generators/liquid_cms/templates/public/cms/images/icons/html_valid.png +0 -0
  621. data/generators/liquid_cms/templates/public/cms/images/icons/image.png +0 -0
  622. data/generators/liquid_cms/templates/public/cms/images/icons/image_add.png +0 -0
  623. data/generators/liquid_cms/templates/public/cms/images/icons/image_delete.png +0 -0
  624. data/generators/liquid_cms/templates/public/cms/images/icons/image_edit.png +0 -0
  625. data/generators/liquid_cms/templates/public/cms/images/icons/image_link.png +0 -0
  626. data/generators/liquid_cms/templates/public/cms/images/icons/images.png +0 -0
  627. data/generators/liquid_cms/templates/public/cms/images/icons/information.png +0 -0
  628. data/generators/liquid_cms/templates/public/cms/images/icons/ipod.png +0 -0
  629. data/generators/liquid_cms/templates/public/cms/images/icons/ipod_cast.png +0 -0
  630. data/generators/liquid_cms/templates/public/cms/images/icons/ipod_cast_add.png +0 -0
  631. data/generators/liquid_cms/templates/public/cms/images/icons/ipod_cast_delete.png +0 -0
  632. data/generators/liquid_cms/templates/public/cms/images/icons/ipod_sound.png +0 -0
  633. data/generators/liquid_cms/templates/public/cms/images/icons/joystick.png +0 -0
  634. data/generators/liquid_cms/templates/public/cms/images/icons/joystick_add.png +0 -0
  635. data/generators/liquid_cms/templates/public/cms/images/icons/joystick_delete.png +0 -0
  636. data/generators/liquid_cms/templates/public/cms/images/icons/joystick_error.png +0 -0
  637. data/generators/liquid_cms/templates/public/cms/images/icons/key.png +0 -0
  638. data/generators/liquid_cms/templates/public/cms/images/icons/key_add.png +0 -0
  639. data/generators/liquid_cms/templates/public/cms/images/icons/key_delete.png +0 -0
  640. data/generators/liquid_cms/templates/public/cms/images/icons/key_go.png +0 -0
  641. data/generators/liquid_cms/templates/public/cms/images/icons/keyboard.png +0 -0
  642. data/generators/liquid_cms/templates/public/cms/images/icons/keyboard_add.png +0 -0
  643. data/generators/liquid_cms/templates/public/cms/images/icons/keyboard_delete.png +0 -0
  644. data/generators/liquid_cms/templates/public/cms/images/icons/keyboard_magnify.png +0 -0
  645. data/generators/liquid_cms/templates/public/cms/images/icons/layers.png +0 -0
  646. data/generators/liquid_cms/templates/public/cms/images/icons/layout.png +0 -0
  647. data/generators/liquid_cms/templates/public/cms/images/icons/layout_add.png +0 -0
  648. data/generators/liquid_cms/templates/public/cms/images/icons/layout_content.png +0 -0
  649. data/generators/liquid_cms/templates/public/cms/images/icons/layout_delete.png +0 -0
  650. data/generators/liquid_cms/templates/public/cms/images/icons/layout_edit.png +0 -0
  651. data/generators/liquid_cms/templates/public/cms/images/icons/layout_error.png +0 -0
  652. data/generators/liquid_cms/templates/public/cms/images/icons/layout_header.png +0 -0
  653. data/generators/liquid_cms/templates/public/cms/images/icons/layout_link.png +0 -0
  654. data/generators/liquid_cms/templates/public/cms/images/icons/layout_sidebar.png +0 -0
  655. data/generators/liquid_cms/templates/public/cms/images/icons/lightbulb.png +0 -0
  656. data/generators/liquid_cms/templates/public/cms/images/icons/lightbulb_add.png +0 -0
  657. data/generators/liquid_cms/templates/public/cms/images/icons/lightbulb_delete.png +0 -0
  658. data/generators/liquid_cms/templates/public/cms/images/icons/lightbulb_off.png +0 -0
  659. data/generators/liquid_cms/templates/public/cms/images/icons/lightning.png +0 -0
  660. data/generators/liquid_cms/templates/public/cms/images/icons/lightning_add.png +0 -0
  661. data/generators/liquid_cms/templates/public/cms/images/icons/lightning_delete.png +0 -0
  662. data/generators/liquid_cms/templates/public/cms/images/icons/lightning_go.png +0 -0
  663. data/generators/liquid_cms/templates/public/cms/images/icons/link.png +0 -0
  664. data/generators/liquid_cms/templates/public/cms/images/icons/link_add.png +0 -0
  665. data/generators/liquid_cms/templates/public/cms/images/icons/link_break.png +0 -0
  666. data/generators/liquid_cms/templates/public/cms/images/icons/link_delete.png +0 -0
  667. data/generators/liquid_cms/templates/public/cms/images/icons/link_edit.png +0 -0
  668. data/generators/liquid_cms/templates/public/cms/images/icons/link_error.png +0 -0
  669. data/generators/liquid_cms/templates/public/cms/images/icons/link_go.png +0 -0
  670. data/generators/liquid_cms/templates/public/cms/images/icons/lock.png +0 -0
  671. data/generators/liquid_cms/templates/public/cms/images/icons/lock_add.png +0 -0
  672. data/generators/liquid_cms/templates/public/cms/images/icons/lock_break.png +0 -0
  673. data/generators/liquid_cms/templates/public/cms/images/icons/lock_delete.png +0 -0
  674. data/generators/liquid_cms/templates/public/cms/images/icons/lock_edit.png +0 -0
  675. data/generators/liquid_cms/templates/public/cms/images/icons/lock_go.png +0 -0
  676. data/generators/liquid_cms/templates/public/cms/images/icons/lock_open.png +0 -0
  677. data/generators/liquid_cms/templates/public/cms/images/icons/lorry.png +0 -0
  678. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_add.png +0 -0
  679. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_delete.png +0 -0
  680. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_error.png +0 -0
  681. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_flatbed.png +0 -0
  682. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_go.png +0 -0
  683. data/generators/liquid_cms/templates/public/cms/images/icons/lorry_link.png +0 -0
  684. data/generators/liquid_cms/templates/public/cms/images/icons/magifier_zoom_out.png +0 -0
  685. data/generators/liquid_cms/templates/public/cms/images/icons/magnifier.png +0 -0
  686. data/generators/liquid_cms/templates/public/cms/images/icons/magnifier_zoom_in.png +0 -0
  687. data/generators/liquid_cms/templates/public/cms/images/icons/male.png +0 -0
  688. data/generators/liquid_cms/templates/public/cms/images/icons/map.png +0 -0
  689. data/generators/liquid_cms/templates/public/cms/images/icons/map_add.png +0 -0
  690. data/generators/liquid_cms/templates/public/cms/images/icons/map_delete.png +0 -0
  691. data/generators/liquid_cms/templates/public/cms/images/icons/map_edit.png +0 -0
  692. data/generators/liquid_cms/templates/public/cms/images/icons/map_go.png +0 -0
  693. data/generators/liquid_cms/templates/public/cms/images/icons/map_magnify.png +0 -0
  694. data/generators/liquid_cms/templates/public/cms/images/icons/medal_bronze_1.png +0 -0
  695. data/generators/liquid_cms/templates/public/cms/images/icons/medal_bronze_2.png +0 -0
  696. data/generators/liquid_cms/templates/public/cms/images/icons/medal_bronze_3.png +0 -0
  697. data/generators/liquid_cms/templates/public/cms/images/icons/medal_bronze_add.png +0 -0
  698. data/generators/liquid_cms/templates/public/cms/images/icons/medal_bronze_delete.png +0 -0
  699. data/generators/liquid_cms/templates/public/cms/images/icons/medal_gold_1.png +0 -0
  700. data/generators/liquid_cms/templates/public/cms/images/icons/medal_gold_2.png +0 -0
  701. data/generators/liquid_cms/templates/public/cms/images/icons/medal_gold_3.png +0 -0
  702. data/generators/liquid_cms/templates/public/cms/images/icons/medal_gold_add.png +0 -0
  703. data/generators/liquid_cms/templates/public/cms/images/icons/medal_gold_delete.png +0 -0
  704. data/generators/liquid_cms/templates/public/cms/images/icons/medal_silver_1.png +0 -0
  705. data/generators/liquid_cms/templates/public/cms/images/icons/medal_silver_2.png +0 -0
  706. data/generators/liquid_cms/templates/public/cms/images/icons/medal_silver_3.png +0 -0
  707. data/generators/liquid_cms/templates/public/cms/images/icons/medal_silver_add.png +0 -0
  708. data/generators/liquid_cms/templates/public/cms/images/icons/medal_silver_delete.png +0 -0
  709. data/generators/liquid_cms/templates/public/cms/images/icons/money.png +0 -0
  710. data/generators/liquid_cms/templates/public/cms/images/icons/money_add.png +0 -0
  711. data/generators/liquid_cms/templates/public/cms/images/icons/money_delete.png +0 -0
  712. data/generators/liquid_cms/templates/public/cms/images/icons/money_dollar.png +0 -0
  713. data/generators/liquid_cms/templates/public/cms/images/icons/money_euro.png +0 -0
  714. data/generators/liquid_cms/templates/public/cms/images/icons/money_pound.png +0 -0
  715. data/generators/liquid_cms/templates/public/cms/images/icons/money_yen.png +0 -0
  716. data/generators/liquid_cms/templates/public/cms/images/icons/monitor.png +0 -0
  717. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_add.png +0 -0
  718. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_delete.png +0 -0
  719. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_edit.png +0 -0
  720. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_error.png +0 -0
  721. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_go.png +0 -0
  722. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_lightning.png +0 -0
  723. data/generators/liquid_cms/templates/public/cms/images/icons/monitor_link.png +0 -0
  724. data/generators/liquid_cms/templates/public/cms/images/icons/mouse.png +0 -0
  725. data/generators/liquid_cms/templates/public/cms/images/icons/mouse_add.png +0 -0
  726. data/generators/liquid_cms/templates/public/cms/images/icons/mouse_delete.png +0 -0
  727. data/generators/liquid_cms/templates/public/cms/images/icons/mouse_error.png +0 -0
  728. data/generators/liquid_cms/templates/public/cms/images/icons/music.png +0 -0
  729. data/generators/liquid_cms/templates/public/cms/images/icons/new.png +0 -0
  730. data/generators/liquid_cms/templates/public/cms/images/icons/newspaper.png +0 -0
  731. data/generators/liquid_cms/templates/public/cms/images/icons/newspaper_add.png +0 -0
  732. data/generators/liquid_cms/templates/public/cms/images/icons/newspaper_delete.png +0 -0
  733. data/generators/liquid_cms/templates/public/cms/images/icons/newspaper_go.png +0 -0
  734. data/generators/liquid_cms/templates/public/cms/images/icons/newspaper_link.png +0 -0
  735. data/generators/liquid_cms/templates/public/cms/images/icons/note.png +0 -0
  736. data/generators/liquid_cms/templates/public/cms/images/icons/note_add.png +0 -0
  737. data/generators/liquid_cms/templates/public/cms/images/icons/note_delete.png +0 -0
  738. data/generators/liquid_cms/templates/public/cms/images/icons/note_edit.png +0 -0
  739. data/generators/liquid_cms/templates/public/cms/images/icons/note_error.png +0 -0
  740. data/generators/liquid_cms/templates/public/cms/images/icons/note_go.png +0 -0
  741. data/generators/liquid_cms/templates/public/cms/images/icons/overlays.png +0 -0
  742. data/generators/liquid_cms/templates/public/cms/images/icons/package.png +0 -0
  743. data/generators/liquid_cms/templates/public/cms/images/icons/package_add.png +0 -0
  744. data/generators/liquid_cms/templates/public/cms/images/icons/package_delete.png +0 -0
  745. data/generators/liquid_cms/templates/public/cms/images/icons/package_go.png +0 -0
  746. data/generators/liquid_cms/templates/public/cms/images/icons/package_green.png +0 -0
  747. data/generators/liquid_cms/templates/public/cms/images/icons/package_link.png +0 -0
  748. data/generators/liquid_cms/templates/public/cms/images/icons/page.png +0 -0
  749. data/generators/liquid_cms/templates/public/cms/images/icons/page_add.png +0 -0
  750. data/generators/liquid_cms/templates/public/cms/images/icons/page_attach.png +0 -0
  751. data/generators/liquid_cms/templates/public/cms/images/icons/page_code.png +0 -0
  752. data/generators/liquid_cms/templates/public/cms/images/icons/page_copy.png +0 -0
  753. data/generators/liquid_cms/templates/public/cms/images/icons/page_delete.png +0 -0
  754. data/generators/liquid_cms/templates/public/cms/images/icons/page_edit.png +0 -0
  755. data/generators/liquid_cms/templates/public/cms/images/icons/page_error.png +0 -0
  756. data/generators/liquid_cms/templates/public/cms/images/icons/page_excel.png +0 -0
  757. data/generators/liquid_cms/templates/public/cms/images/icons/page_find.png +0 -0
  758. data/generators/liquid_cms/templates/public/cms/images/icons/page_gear.png +0 -0
  759. data/generators/liquid_cms/templates/public/cms/images/icons/page_go.png +0 -0
  760. data/generators/liquid_cms/templates/public/cms/images/icons/page_green.png +0 -0
  761. data/generators/liquid_cms/templates/public/cms/images/icons/page_key.png +0 -0
  762. data/generators/liquid_cms/templates/public/cms/images/icons/page_lightning.png +0 -0
  763. data/generators/liquid_cms/templates/public/cms/images/icons/page_link.png +0 -0
  764. data/generators/liquid_cms/templates/public/cms/images/icons/page_paintbrush.png +0 -0
  765. data/generators/liquid_cms/templates/public/cms/images/icons/page_paste.png +0 -0
  766. data/generators/liquid_cms/templates/public/cms/images/icons/page_red.png +0 -0
  767. data/generators/liquid_cms/templates/public/cms/images/icons/page_refresh.png +0 -0
  768. data/generators/liquid_cms/templates/public/cms/images/icons/page_save.png +0 -0
  769. data/generators/liquid_cms/templates/public/cms/images/icons/page_white.png +0 -0
  770. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_acrobat.png +0 -0
  771. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_actionscript.png +0 -0
  772. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_add.png +0 -0
  773. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_c.png +0 -0
  774. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_camera.png +0 -0
  775. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_cd.png +0 -0
  776. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_code.png +0 -0
  777. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_code_red.png +0 -0
  778. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_coldfusion.png +0 -0
  779. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_compressed.png +0 -0
  780. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_copy.png +0 -0
  781. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_cplusplus.png +0 -0
  782. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_csharp.png +0 -0
  783. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_cup.png +0 -0
  784. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_database.png +0 -0
  785. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_delete.png +0 -0
  786. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_dvd.png +0 -0
  787. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_edit.png +0 -0
  788. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_error.png +0 -0
  789. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_excel.png +0 -0
  790. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_find.png +0 -0
  791. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_flash.png +0 -0
  792. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_freehand.png +0 -0
  793. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_gear.png +0 -0
  794. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_get.png +0 -0
  795. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_go.png +0 -0
  796. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_h.png +0 -0
  797. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_horizontal.png +0 -0
  798. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_key.png +0 -0
  799. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_lightning.png +0 -0
  800. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_link.png +0 -0
  801. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_magnify.png +0 -0
  802. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_medal.png +0 -0
  803. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_office.png +0 -0
  804. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_paint.png +0 -0
  805. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_paintbrush.png +0 -0
  806. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_paste.png +0 -0
  807. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_php.png +0 -0
  808. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_picture.png +0 -0
  809. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_powerpoint.png +0 -0
  810. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_put.png +0 -0
  811. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_ruby.png +0 -0
  812. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_stack.png +0 -0
  813. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_star.png +0 -0
  814. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_swoosh.png +0 -0
  815. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_text.png +0 -0
  816. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_text_width.png +0 -0
  817. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_tux.png +0 -0
  818. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_vector.png +0 -0
  819. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_visualstudio.png +0 -0
  820. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_width.png +0 -0
  821. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_word.png +0 -0
  822. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_world.png +0 -0
  823. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_wrench.png +0 -0
  824. data/generators/liquid_cms/templates/public/cms/images/icons/page_white_zip.png +0 -0
  825. data/generators/liquid_cms/templates/public/cms/images/icons/page_word.png +0 -0
  826. data/generators/liquid_cms/templates/public/cms/images/icons/page_world.png +0 -0
  827. data/generators/liquid_cms/templates/public/cms/images/icons/paintbrush.png +0 -0
  828. data/generators/liquid_cms/templates/public/cms/images/icons/paintcan.png +0 -0
  829. data/generators/liquid_cms/templates/public/cms/images/icons/palette.png +0 -0
  830. data/generators/liquid_cms/templates/public/cms/images/icons/paste_plain.png +0 -0
  831. data/generators/liquid_cms/templates/public/cms/images/icons/paste_word.png +0 -0
  832. data/generators/liquid_cms/templates/public/cms/images/icons/pencil.png +0 -0
  833. data/generators/liquid_cms/templates/public/cms/images/icons/pencil_add.png +0 -0
  834. data/generators/liquid_cms/templates/public/cms/images/icons/pencil_delete.png +0 -0
  835. data/generators/liquid_cms/templates/public/cms/images/icons/pencil_go.png +0 -0
  836. data/generators/liquid_cms/templates/public/cms/images/icons/phone.png +0 -0
  837. data/generators/liquid_cms/templates/public/cms/images/icons/phone_add.png +0 -0
  838. data/generators/liquid_cms/templates/public/cms/images/icons/phone_delete.png +0 -0
  839. data/generators/liquid_cms/templates/public/cms/images/icons/phone_sound.png +0 -0
  840. data/generators/liquid_cms/templates/public/cms/images/icons/photo.png +0 -0
  841. data/generators/liquid_cms/templates/public/cms/images/icons/photo_add.png +0 -0
  842. data/generators/liquid_cms/templates/public/cms/images/icons/photo_delete.png +0 -0
  843. data/generators/liquid_cms/templates/public/cms/images/icons/photo_link.png +0 -0
  844. data/generators/liquid_cms/templates/public/cms/images/icons/photos.png +0 -0
  845. data/generators/liquid_cms/templates/public/cms/images/icons/picture.png +0 -0
  846. data/generators/liquid_cms/templates/public/cms/images/icons/picture_add.png +0 -0
  847. data/generators/liquid_cms/templates/public/cms/images/icons/picture_delete.png +0 -0
  848. data/generators/liquid_cms/templates/public/cms/images/icons/picture_edit.png +0 -0
  849. data/generators/liquid_cms/templates/public/cms/images/icons/picture_empty.png +0 -0
  850. data/generators/liquid_cms/templates/public/cms/images/icons/picture_error.png +0 -0
  851. data/generators/liquid_cms/templates/public/cms/images/icons/picture_go.png +0 -0
  852. data/generators/liquid_cms/templates/public/cms/images/icons/picture_key.png +0 -0
  853. data/generators/liquid_cms/templates/public/cms/images/icons/picture_link.png +0 -0
  854. data/generators/liquid_cms/templates/public/cms/images/icons/picture_save.png +0 -0
  855. data/generators/liquid_cms/templates/public/cms/images/icons/pictures.png +0 -0
  856. data/generators/liquid_cms/templates/public/cms/images/icons/pilcrow.png +0 -0
  857. data/generators/liquid_cms/templates/public/cms/images/icons/pill.png +0 -0
  858. data/generators/liquid_cms/templates/public/cms/images/icons/pill_add.png +0 -0
  859. data/generators/liquid_cms/templates/public/cms/images/icons/pill_delete.png +0 -0
  860. data/generators/liquid_cms/templates/public/cms/images/icons/pill_go.png +0 -0
  861. data/generators/liquid_cms/templates/public/cms/images/icons/plugin.png +0 -0
  862. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_add.png +0 -0
  863. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_delete.png +0 -0
  864. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_disabled.png +0 -0
  865. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_edit.png +0 -0
  866. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_error.png +0 -0
  867. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_go.png +0 -0
  868. data/generators/liquid_cms/templates/public/cms/images/icons/plugin_link.png +0 -0
  869. data/generators/liquid_cms/templates/public/cms/images/icons/printer.png +0 -0
  870. data/generators/liquid_cms/templates/public/cms/images/icons/printer_add.png +0 -0
  871. data/generators/liquid_cms/templates/public/cms/images/icons/printer_delete.png +0 -0
  872. data/generators/liquid_cms/templates/public/cms/images/icons/printer_empty.png +0 -0
  873. data/generators/liquid_cms/templates/public/cms/images/icons/printer_error.png +0 -0
  874. data/generators/liquid_cms/templates/public/cms/images/icons/rainbow.png +0 -0
  875. data/generators/liquid_cms/templates/public/cms/images/icons/readme.html +1495 -0
  876. data/generators/liquid_cms/templates/public/cms/images/icons/readme.txt +22 -0
  877. data/generators/liquid_cms/templates/public/cms/images/icons/report.png +0 -0
  878. data/generators/liquid_cms/templates/public/cms/images/icons/report_add.png +0 -0
  879. data/generators/liquid_cms/templates/public/cms/images/icons/report_delete.png +0 -0
  880. data/generators/liquid_cms/templates/public/cms/images/icons/report_disk.png +0 -0
  881. data/generators/liquid_cms/templates/public/cms/images/icons/report_edit.png +0 -0
  882. data/generators/liquid_cms/templates/public/cms/images/icons/report_go.png +0 -0
  883. data/generators/liquid_cms/templates/public/cms/images/icons/report_key.png +0 -0
  884. data/generators/liquid_cms/templates/public/cms/images/icons/report_link.png +0 -0
  885. data/generators/liquid_cms/templates/public/cms/images/icons/report_magnify.png +0 -0
  886. data/generators/liquid_cms/templates/public/cms/images/icons/report_picture.png +0 -0
  887. data/generators/liquid_cms/templates/public/cms/images/icons/report_user.png +0 -0
  888. data/generators/liquid_cms/templates/public/cms/images/icons/report_word.png +0 -0
  889. data/generators/liquid_cms/templates/public/cms/images/icons/resultset_first.png +0 -0
  890. data/generators/liquid_cms/templates/public/cms/images/icons/resultset_last.png +0 -0
  891. data/generators/liquid_cms/templates/public/cms/images/icons/resultset_next.png +0 -0
  892. data/generators/liquid_cms/templates/public/cms/images/icons/resultset_previous.png +0 -0
  893. data/generators/liquid_cms/templates/public/cms/images/icons/rosette.png +0 -0
  894. data/generators/liquid_cms/templates/public/cms/images/icons/rss.png +0 -0
  895. data/generators/liquid_cms/templates/public/cms/images/icons/rss_add.png +0 -0
  896. data/generators/liquid_cms/templates/public/cms/images/icons/rss_delete.png +0 -0
  897. data/generators/liquid_cms/templates/public/cms/images/icons/rss_go.png +0 -0
  898. data/generators/liquid_cms/templates/public/cms/images/icons/rss_valid.png +0 -0
  899. data/generators/liquid_cms/templates/public/cms/images/icons/ruby.png +0 -0
  900. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_add.png +0 -0
  901. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_delete.png +0 -0
  902. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_gear.png +0 -0
  903. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_get.png +0 -0
  904. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_go.png +0 -0
  905. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_key.png +0 -0
  906. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_link.png +0 -0
  907. data/generators/liquid_cms/templates/public/cms/images/icons/ruby_put.png +0 -0
  908. data/generators/liquid_cms/templates/public/cms/images/icons/script.png +0 -0
  909. data/generators/liquid_cms/templates/public/cms/images/icons/script_add.png +0 -0
  910. data/generators/liquid_cms/templates/public/cms/images/icons/script_code.png +0 -0
  911. data/generators/liquid_cms/templates/public/cms/images/icons/script_code_red.png +0 -0
  912. data/generators/liquid_cms/templates/public/cms/images/icons/script_delete.png +0 -0
  913. data/generators/liquid_cms/templates/public/cms/images/icons/script_edit.png +0 -0
  914. data/generators/liquid_cms/templates/public/cms/images/icons/script_error.png +0 -0
  915. data/generators/liquid_cms/templates/public/cms/images/icons/script_gear.png +0 -0
  916. data/generators/liquid_cms/templates/public/cms/images/icons/script_go.png +0 -0
  917. data/generators/liquid_cms/templates/public/cms/images/icons/script_key.png +0 -0
  918. data/generators/liquid_cms/templates/public/cms/images/icons/script_lightning.png +0 -0
  919. data/generators/liquid_cms/templates/public/cms/images/icons/script_link.png +0 -0
  920. data/generators/liquid_cms/templates/public/cms/images/icons/script_palette.png +0 -0
  921. data/generators/liquid_cms/templates/public/cms/images/icons/script_save.png +0 -0
  922. data/generators/liquid_cms/templates/public/cms/images/icons/server.png +0 -0
  923. data/generators/liquid_cms/templates/public/cms/images/icons/server_add.png +0 -0
  924. data/generators/liquid_cms/templates/public/cms/images/icons/server_chart.png +0 -0
  925. data/generators/liquid_cms/templates/public/cms/images/icons/server_compressed.png +0 -0
  926. data/generators/liquid_cms/templates/public/cms/images/icons/server_connect.png +0 -0
  927. data/generators/liquid_cms/templates/public/cms/images/icons/server_database.png +0 -0
  928. data/generators/liquid_cms/templates/public/cms/images/icons/server_delete.png +0 -0
  929. data/generators/liquid_cms/templates/public/cms/images/icons/server_edit.png +0 -0
  930. data/generators/liquid_cms/templates/public/cms/images/icons/server_error.png +0 -0
  931. data/generators/liquid_cms/templates/public/cms/images/icons/server_go.png +0 -0
  932. data/generators/liquid_cms/templates/public/cms/images/icons/server_key.png +0 -0
  933. data/generators/liquid_cms/templates/public/cms/images/icons/server_lightning.png +0 -0
  934. data/generators/liquid_cms/templates/public/cms/images/icons/server_link.png +0 -0
  935. data/generators/liquid_cms/templates/public/cms/images/icons/server_uncompressed.png +0 -0
  936. data/generators/liquid_cms/templates/public/cms/images/icons/shading.png +0 -0
  937. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_bottom.png +0 -0
  938. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_center.png +0 -0
  939. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_left.png +0 -0
  940. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_middle.png +0 -0
  941. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_right.png +0 -0
  942. data/generators/liquid_cms/templates/public/cms/images/icons/shape_align_top.png +0 -0
  943. data/generators/liquid_cms/templates/public/cms/images/icons/shape_flip_horizontal.png +0 -0
  944. data/generators/liquid_cms/templates/public/cms/images/icons/shape_flip_vertical.png +0 -0
  945. data/generators/liquid_cms/templates/public/cms/images/icons/shape_group.png +0 -0
  946. data/generators/liquid_cms/templates/public/cms/images/icons/shape_handles.png +0 -0
  947. data/generators/liquid_cms/templates/public/cms/images/icons/shape_move_back.png +0 -0
  948. data/generators/liquid_cms/templates/public/cms/images/icons/shape_move_backwards.png +0 -0
  949. data/generators/liquid_cms/templates/public/cms/images/icons/shape_move_forwards.png +0 -0
  950. data/generators/liquid_cms/templates/public/cms/images/icons/shape_move_front.png +0 -0
  951. data/generators/liquid_cms/templates/public/cms/images/icons/shape_rotate_anticlockwise.png +0 -0
  952. data/generators/liquid_cms/templates/public/cms/images/icons/shape_rotate_clockwise.png +0 -0
  953. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square.png +0 -0
  954. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_add.png +0 -0
  955. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_delete.png +0 -0
  956. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_edit.png +0 -0
  957. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_error.png +0 -0
  958. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_go.png +0 -0
  959. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_key.png +0 -0
  960. data/generators/liquid_cms/templates/public/cms/images/icons/shape_square_link.png +0 -0
  961. data/generators/liquid_cms/templates/public/cms/images/icons/shape_ungroup.png +0 -0
  962. data/generators/liquid_cms/templates/public/cms/images/icons/shield.png +0 -0
  963. data/generators/liquid_cms/templates/public/cms/images/icons/shield_add.png +0 -0
  964. data/generators/liquid_cms/templates/public/cms/images/icons/shield_delete.png +0 -0
  965. data/generators/liquid_cms/templates/public/cms/images/icons/shield_go.png +0 -0
  966. data/generators/liquid_cms/templates/public/cms/images/icons/sitemap.png +0 -0
  967. data/generators/liquid_cms/templates/public/cms/images/icons/sitemap_color.png +0 -0
  968. data/generators/liquid_cms/templates/public/cms/images/icons/sound.png +0 -0
  969. data/generators/liquid_cms/templates/public/cms/images/icons/sound_add.png +0 -0
  970. data/generators/liquid_cms/templates/public/cms/images/icons/sound_delete.png +0 -0
  971. data/generators/liquid_cms/templates/public/cms/images/icons/sound_low.png +0 -0
  972. data/generators/liquid_cms/templates/public/cms/images/icons/sound_mute.png +0 -0
  973. data/generators/liquid_cms/templates/public/cms/images/icons/sound_none.png +0 -0
  974. data/generators/liquid_cms/templates/public/cms/images/icons/spellcheck.png +0 -0
  975. data/generators/liquid_cms/templates/public/cms/images/icons/sport_8ball.png +0 -0
  976. data/generators/liquid_cms/templates/public/cms/images/icons/sport_basketball.png +0 -0
  977. data/generators/liquid_cms/templates/public/cms/images/icons/sport_football.png +0 -0
  978. data/generators/liquid_cms/templates/public/cms/images/icons/sport_golf.png +0 -0
  979. data/generators/liquid_cms/templates/public/cms/images/icons/sport_raquet.png +0 -0
  980. data/generators/liquid_cms/templates/public/cms/images/icons/sport_shuttlecock.png +0 -0
  981. data/generators/liquid_cms/templates/public/cms/images/icons/sport_soccer.png +0 -0
  982. data/generators/liquid_cms/templates/public/cms/images/icons/sport_tennis.png +0 -0
  983. data/generators/liquid_cms/templates/public/cms/images/icons/star.png +0 -0
  984. data/generators/liquid_cms/templates/public/cms/images/icons/status_away.png +0 -0
  985. data/generators/liquid_cms/templates/public/cms/images/icons/status_busy.png +0 -0
  986. data/generators/liquid_cms/templates/public/cms/images/icons/status_offline.png +0 -0
  987. data/generators/liquid_cms/templates/public/cms/images/icons/status_online.png +0 -0
  988. data/generators/liquid_cms/templates/public/cms/images/icons/stop.png +0 -0
  989. data/generators/liquid_cms/templates/public/cms/images/icons/style.png +0 -0
  990. data/generators/liquid_cms/templates/public/cms/images/icons/style_add.png +0 -0
  991. data/generators/liquid_cms/templates/public/cms/images/icons/style_delete.png +0 -0
  992. data/generators/liquid_cms/templates/public/cms/images/icons/style_edit.png +0 -0
  993. data/generators/liquid_cms/templates/public/cms/images/icons/style_go.png +0 -0
  994. data/generators/liquid_cms/templates/public/cms/images/icons/sum.png +0 -0
  995. data/generators/liquid_cms/templates/public/cms/images/icons/tab.png +0 -0
  996. data/generators/liquid_cms/templates/public/cms/images/icons/tab_add.png +0 -0
  997. data/generators/liquid_cms/templates/public/cms/images/icons/tab_delete.png +0 -0
  998. data/generators/liquid_cms/templates/public/cms/images/icons/tab_edit.png +0 -0
  999. data/generators/liquid_cms/templates/public/cms/images/icons/tab_go.png +0 -0
  1000. data/generators/liquid_cms/templates/public/cms/images/icons/table.png +0 -0
  1001. data/generators/liquid_cms/templates/public/cms/images/icons/table_add.png +0 -0
  1002. data/generators/liquid_cms/templates/public/cms/images/icons/table_delete.png +0 -0
  1003. data/generators/liquid_cms/templates/public/cms/images/icons/table_edit.png +0 -0
  1004. data/generators/liquid_cms/templates/public/cms/images/icons/table_error.png +0 -0
  1005. data/generators/liquid_cms/templates/public/cms/images/icons/table_gear.png +0 -0
  1006. data/generators/liquid_cms/templates/public/cms/images/icons/table_go.png +0 -0
  1007. data/generators/liquid_cms/templates/public/cms/images/icons/table_key.png +0 -0
  1008. data/generators/liquid_cms/templates/public/cms/images/icons/table_lightning.png +0 -0
  1009. data/generators/liquid_cms/templates/public/cms/images/icons/table_link.png +0 -0
  1010. data/generators/liquid_cms/templates/public/cms/images/icons/table_multiple.png +0 -0
  1011. data/generators/liquid_cms/templates/public/cms/images/icons/table_refresh.png +0 -0
  1012. data/generators/liquid_cms/templates/public/cms/images/icons/table_relationship.png +0 -0
  1013. data/generators/liquid_cms/templates/public/cms/images/icons/table_row_delete.png +0 -0
  1014. data/generators/liquid_cms/templates/public/cms/images/icons/table_row_insert.png +0 -0
  1015. data/generators/liquid_cms/templates/public/cms/images/icons/table_save.png +0 -0
  1016. data/generators/liquid_cms/templates/public/cms/images/icons/table_sort.png +0 -0
  1017. data/generators/liquid_cms/templates/public/cms/images/icons/tag.png +0 -0
  1018. data/generators/liquid_cms/templates/public/cms/images/icons/tag_blue.png +0 -0
  1019. data/generators/liquid_cms/templates/public/cms/images/icons/tag_blue_add.png +0 -0
  1020. data/generators/liquid_cms/templates/public/cms/images/icons/tag_blue_delete.png +0 -0
  1021. data/generators/liquid_cms/templates/public/cms/images/icons/tag_blue_edit.png +0 -0
  1022. data/generators/liquid_cms/templates/public/cms/images/icons/tag_green.png +0 -0
  1023. data/generators/liquid_cms/templates/public/cms/images/icons/tag_orange.png +0 -0
  1024. data/generators/liquid_cms/templates/public/cms/images/icons/tag_pink.png +0 -0
  1025. data/generators/liquid_cms/templates/public/cms/images/icons/tag_purple.png +0 -0
  1026. data/generators/liquid_cms/templates/public/cms/images/icons/tag_red.png +0 -0
  1027. data/generators/liquid_cms/templates/public/cms/images/icons/tag_yellow.png +0 -0
  1028. data/generators/liquid_cms/templates/public/cms/images/icons/telephone.png +0 -0
  1029. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_add.png +0 -0
  1030. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_delete.png +0 -0
  1031. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_edit.png +0 -0
  1032. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_error.png +0 -0
  1033. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_go.png +0 -0
  1034. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_key.png +0 -0
  1035. data/generators/liquid_cms/templates/public/cms/images/icons/telephone_link.png +0 -0
  1036. data/generators/liquid_cms/templates/public/cms/images/icons/television.png +0 -0
  1037. data/generators/liquid_cms/templates/public/cms/images/icons/television_add.png +0 -0
  1038. data/generators/liquid_cms/templates/public/cms/images/icons/television_delete.png +0 -0
  1039. data/generators/liquid_cms/templates/public/cms/images/icons/text_align_center.png +0 -0
  1040. data/generators/liquid_cms/templates/public/cms/images/icons/text_align_justify.png +0 -0
  1041. data/generators/liquid_cms/templates/public/cms/images/icons/text_align_left.png +0 -0
  1042. data/generators/liquid_cms/templates/public/cms/images/icons/text_align_right.png +0 -0
  1043. data/generators/liquid_cms/templates/public/cms/images/icons/text_allcaps.png +0 -0
  1044. data/generators/liquid_cms/templates/public/cms/images/icons/text_bold.png +0 -0
  1045. data/generators/liquid_cms/templates/public/cms/images/icons/text_columns.png +0 -0
  1046. data/generators/liquid_cms/templates/public/cms/images/icons/text_dropcaps.png +0 -0
  1047. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_1.png +0 -0
  1048. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_2.png +0 -0
  1049. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_3.png +0 -0
  1050. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_4.png +0 -0
  1051. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_5.png +0 -0
  1052. data/generators/liquid_cms/templates/public/cms/images/icons/text_heading_6.png +0 -0
  1053. data/generators/liquid_cms/templates/public/cms/images/icons/text_horizontalrule.png +0 -0
  1054. data/generators/liquid_cms/templates/public/cms/images/icons/text_indent.png +0 -0
  1055. data/generators/liquid_cms/templates/public/cms/images/icons/text_indent_remove.png +0 -0
  1056. data/generators/liquid_cms/templates/public/cms/images/icons/text_italic.png +0 -0
  1057. data/generators/liquid_cms/templates/public/cms/images/icons/text_kerning.png +0 -0
  1058. data/generators/liquid_cms/templates/public/cms/images/icons/text_letter_omega.png +0 -0
  1059. data/generators/liquid_cms/templates/public/cms/images/icons/text_letterspacing.png +0 -0
  1060. data/generators/liquid_cms/templates/public/cms/images/icons/text_linespacing.png +0 -0
  1061. data/generators/liquid_cms/templates/public/cms/images/icons/text_list_bullets.png +0 -0
  1062. data/generators/liquid_cms/templates/public/cms/images/icons/text_list_numbers.png +0 -0
  1063. data/generators/liquid_cms/templates/public/cms/images/icons/text_lowercase.png +0 -0
  1064. data/generators/liquid_cms/templates/public/cms/images/icons/text_padding_bottom.png +0 -0
  1065. data/generators/liquid_cms/templates/public/cms/images/icons/text_padding_left.png +0 -0
  1066. data/generators/liquid_cms/templates/public/cms/images/icons/text_padding_right.png +0 -0
  1067. data/generators/liquid_cms/templates/public/cms/images/icons/text_padding_top.png +0 -0
  1068. data/generators/liquid_cms/templates/public/cms/images/icons/text_padding_top_delete.png +0 -0
  1069. data/generators/liquid_cms/templates/public/cms/images/icons/text_replace.png +0 -0
  1070. data/generators/liquid_cms/templates/public/cms/images/icons/text_signature.png +0 -0
  1071. data/generators/liquid_cms/templates/public/cms/images/icons/text_smallcaps.png +0 -0
  1072. data/generators/liquid_cms/templates/public/cms/images/icons/text_strikethrough.png +0 -0
  1073. data/generators/liquid_cms/templates/public/cms/images/icons/text_subscript.png +0 -0
  1074. data/generators/liquid_cms/templates/public/cms/images/icons/text_superscript.png +0 -0
  1075. data/generators/liquid_cms/templates/public/cms/images/icons/text_underline.png +0 -0
  1076. data/generators/liquid_cms/templates/public/cms/images/icons/text_uppercase.png +0 -0
  1077. data/generators/liquid_cms/templates/public/cms/images/icons/textfield.png +0 -0
  1078. data/generators/liquid_cms/templates/public/cms/images/icons/textfield_add.png +0 -0
  1079. data/generators/liquid_cms/templates/public/cms/images/icons/textfield_delete.png +0 -0
  1080. data/generators/liquid_cms/templates/public/cms/images/icons/textfield_key.png +0 -0
  1081. data/generators/liquid_cms/templates/public/cms/images/icons/textfield_rename.png +0 -0
  1082. data/generators/liquid_cms/templates/public/cms/images/icons/thumb_down.png +0 -0
  1083. data/generators/liquid_cms/templates/public/cms/images/icons/thumb_up.png +0 -0
  1084. data/generators/liquid_cms/templates/public/cms/images/icons/tick.png +0 -0
  1085. data/generators/liquid_cms/templates/public/cms/images/icons/time.png +0 -0
  1086. data/generators/liquid_cms/templates/public/cms/images/icons/time_add.png +0 -0
  1087. data/generators/liquid_cms/templates/public/cms/images/icons/time_delete.png +0 -0
  1088. data/generators/liquid_cms/templates/public/cms/images/icons/time_go.png +0 -0
  1089. data/generators/liquid_cms/templates/public/cms/images/icons/timeline_marker.png +0 -0
  1090. data/generators/liquid_cms/templates/public/cms/images/icons/transmit.png +0 -0
  1091. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_add.png +0 -0
  1092. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_blue.png +0 -0
  1093. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_delete.png +0 -0
  1094. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_edit.png +0 -0
  1095. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_error.png +0 -0
  1096. data/generators/liquid_cms/templates/public/cms/images/icons/transmit_go.png +0 -0
  1097. data/generators/liquid_cms/templates/public/cms/images/icons/tux.png +0 -0
  1098. data/generators/liquid_cms/templates/public/cms/images/icons/user.png +0 -0
  1099. data/generators/liquid_cms/templates/public/cms/images/icons/user_add.png +0 -0
  1100. data/generators/liquid_cms/templates/public/cms/images/icons/user_comment.png +0 -0
  1101. data/generators/liquid_cms/templates/public/cms/images/icons/user_delete.png +0 -0
  1102. data/generators/liquid_cms/templates/public/cms/images/icons/user_edit.png +0 -0
  1103. data/generators/liquid_cms/templates/public/cms/images/icons/user_female.png +0 -0
  1104. data/generators/liquid_cms/templates/public/cms/images/icons/user_go.png +0 -0
  1105. data/generators/liquid_cms/templates/public/cms/images/icons/user_gray.png +0 -0
  1106. data/generators/liquid_cms/templates/public/cms/images/icons/user_green.png +0 -0
  1107. data/generators/liquid_cms/templates/public/cms/images/icons/user_orange.png +0 -0
  1108. data/generators/liquid_cms/templates/public/cms/images/icons/user_red.png +0 -0
  1109. data/generators/liquid_cms/templates/public/cms/images/icons/user_suit.png +0 -0
  1110. data/generators/liquid_cms/templates/public/cms/images/icons/vcard.png +0 -0
  1111. data/generators/liquid_cms/templates/public/cms/images/icons/vcard_add.png +0 -0
  1112. data/generators/liquid_cms/templates/public/cms/images/icons/vcard_delete.png +0 -0
  1113. data/generators/liquid_cms/templates/public/cms/images/icons/vcard_edit.png +0 -0
  1114. data/generators/liquid_cms/templates/public/cms/images/icons/vector.png +0 -0
  1115. data/generators/liquid_cms/templates/public/cms/images/icons/vector_add.png +0 -0
  1116. data/generators/liquid_cms/templates/public/cms/images/icons/vector_delete.png +0 -0
  1117. data/generators/liquid_cms/templates/public/cms/images/icons/wand.png +0 -0
  1118. data/generators/liquid_cms/templates/public/cms/images/icons/weather_clouds.png +0 -0
  1119. data/generators/liquid_cms/templates/public/cms/images/icons/weather_cloudy.png +0 -0
  1120. data/generators/liquid_cms/templates/public/cms/images/icons/weather_lightning.png +0 -0
  1121. data/generators/liquid_cms/templates/public/cms/images/icons/weather_rain.png +0 -0
  1122. data/generators/liquid_cms/templates/public/cms/images/icons/weather_snow.png +0 -0
  1123. data/generators/liquid_cms/templates/public/cms/images/icons/weather_sun.png +0 -0
  1124. data/generators/liquid_cms/templates/public/cms/images/icons/webcam.png +0 -0
  1125. data/generators/liquid_cms/templates/public/cms/images/icons/webcam_add.png +0 -0
  1126. data/generators/liquid_cms/templates/public/cms/images/icons/webcam_delete.png +0 -0
  1127. data/generators/liquid_cms/templates/public/cms/images/icons/webcam_error.png +0 -0
  1128. data/generators/liquid_cms/templates/public/cms/images/icons/world.png +0 -0
  1129. data/generators/liquid_cms/templates/public/cms/images/icons/world_add.png +0 -0
  1130. data/generators/liquid_cms/templates/public/cms/images/icons/world_delete.png +0 -0
  1131. data/generators/liquid_cms/templates/public/cms/images/icons/world_edit.png +0 -0
  1132. data/generators/liquid_cms/templates/public/cms/images/icons/world_go.png +0 -0
  1133. data/generators/liquid_cms/templates/public/cms/images/icons/world_link.png +0 -0
  1134. data/generators/liquid_cms/templates/public/cms/images/icons/wrench.png +0 -0
  1135. data/generators/liquid_cms/templates/public/cms/images/icons/wrench_orange.png +0 -0
  1136. data/generators/liquid_cms/templates/public/cms/images/icons/xhtml.png +0 -0
  1137. data/generators/liquid_cms/templates/public/cms/images/icons/xhtml_add.png +0 -0
  1138. data/generators/liquid_cms/templates/public/cms/images/icons/xhtml_delete.png +0 -0
  1139. data/generators/liquid_cms/templates/public/cms/images/icons/xhtml_go.png +0 -0
  1140. data/generators/liquid_cms/templates/public/cms/images/icons/xhtml_valid.png +0 -0
  1141. data/generators/liquid_cms/templates/public/cms/images/icons/zoom.png +0 -0
  1142. data/generators/liquid_cms/templates/public/cms/images/icons/zoom_in.png +0 -0
  1143. data/generators/liquid_cms/templates/public/cms/images/icons/zoom_out.png +0 -0
  1144. data/generators/liquid_cms/templates/public/cms/images/indicator.gif +0 -0
  1145. data/generators/liquid_cms/templates/public/cms/images/tree/lastnode.png +0 -0
  1146. data/generators/liquid_cms/templates/public/cms/images/tree/node.png +0 -0
  1147. data/generators/liquid_cms/templates/public/cms/images/tree/vline.png +0 -0
  1148. data/generators/liquid_cms/templates/public/cms/javascripts/cms.js +21 -0
  1149. data/generators/liquid_cms/templates/public/cms/javascripts/cookiejar.js +157 -0
  1150. data/generators/liquid_cms/templates/public/cms/javascripts/humanmsg.js +89 -0
  1151. data/generators/liquid_cms/templates/public/cms/javascripts/parseliquid.js +414 -0
  1152. data/generators/liquid_cms/templates/public/cms/stylesheets/clearfix.css +8 -0
  1153. data/generators/liquid_cms/templates/public/cms/stylesheets/documentation.css +31 -0
  1154. data/generators/liquid_cms/templates/public/cms/stylesheets/humanmsg.css +122 -0
  1155. data/generators/liquid_cms/templates/public/cms/stylesheets/ie.css +2 -0
  1156. data/generators/liquid_cms/templates/public/cms/stylesheets/liquidcolors.css +36 -0
  1157. data/generators/liquid_cms/templates/public/cms/stylesheets/simple_form.css +44 -0
  1158. data/generators/liquid_cms/templates/public/cms/stylesheets/styles.css +149 -0
  1159. data/generators/liquid_cms/templates/setup_controller.rb +25 -0
  1160. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/CHANGELOG +46 -0
  1161. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/History.txt +53 -0
  1162. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/MIT-LICENSE +20 -0
  1163. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Manifest.txt +34 -0
  1164. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/README.md +42 -0
  1165. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile +43 -0
  1166. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/example/server/example_servlet.rb +37 -0
  1167. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/example/server/liquid_servlet.rb +28 -0
  1168. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/example/server/server.rb +12 -0
  1169. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/example/server/templates/index.liquid +6 -0
  1170. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/example/server/templates/products.liquid +45 -0
  1171. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/init.rb +8 -0
  1172. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/extras/liquid_view.rb +51 -0
  1173. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid.rb +69 -0
  1174. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/block.rb +101 -0
  1175. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/condition.rb +120 -0
  1176. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/context.rb +249 -0
  1177. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/document.rb +17 -0
  1178. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/drop.rb +51 -0
  1179. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/errors.rb +11 -0
  1180. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/extensions.rb +56 -0
  1181. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/file_system.rb +62 -0
  1182. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/htmltags.rb +74 -0
  1183. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/module_ex.rb +62 -0
  1184. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/standardfilters.rb +226 -0
  1185. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/strainer.rb +54 -0
  1186. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tag.rb +26 -0
  1187. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/assign.rb +33 -0
  1188. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/capture.rb +35 -0
  1189. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/case.rb +83 -0
  1190. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/comment.rb +9 -0
  1191. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/cycle.rb +59 -0
  1192. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/for.rb +136 -0
  1193. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/if.rb +79 -0
  1194. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/ifchanged.rb +20 -0
  1195. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/include.rb +56 -0
  1196. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/literal.rb +42 -0
  1197. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/tags/unless.rb +33 -0
  1198. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/template.rb +149 -0
  1199. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/lib/liquid/variable.rb +50 -0
  1200. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/liquid.gemspec +23 -0
  1201. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify.rb +92 -0
  1202. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/comment_form.rb +33 -0
  1203. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/database.rb +45 -0
  1204. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/json_filter.rb +7 -0
  1205. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/liquid.rb +18 -0
  1206. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/money_filter.rb +18 -0
  1207. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/paginate.rb +93 -0
  1208. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/shop_filter.rb +98 -0
  1209. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/tag_filter.rb +25 -0
  1210. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/vision.database.yml +945 -0
  1211. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/performance/shopify/weight_filter.rb +11 -0
  1212. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/test/test_helper.rb +34 -0
  1213. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/CHANGELOG +2 -0
  1214. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/MIT-LICENSE +20 -0
  1215. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/README +105 -0
  1216. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView.html +107 -0
  1217. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers.html +107 -0
  1218. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.html +338 -0
  1219. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html +22 -0
  1220. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000002.html +30 -0
  1221. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html +24 -0
  1222. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000004.html +24 -0
  1223. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/RemoteIndicator.html +134 -0
  1224. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/created.rid +1 -0
  1225. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/files/init_rb.html +108 -0
  1226. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/files/lib/remote_helpers_rb.html +117 -0
  1227. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/fr_class_index.html +30 -0
  1228. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/fr_file_index.html +28 -0
  1229. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/fr_method_index.html +30 -0
  1230. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/index.html +24 -0
  1231. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/rdoc-style.css +208 -0
  1232. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/images/indicator.gif +0 -0
  1233. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/init.rb +1 -0
  1234. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/install.rb +4 -0
  1235. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/lib/remote_helpers.rb +244 -0
  1236. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/README.textile +86 -0
  1237. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/init.rb +2 -0
  1238. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/lib/will_paginate/liquidized.rb +35 -0
  1239. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/lib/will_paginate/liquidized/view_helpers.rb +98 -0
  1240. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/liquidized_spec.rb +28 -0
  1241. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/spec_helper.rb +10 -0
  1242. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/view_helpers_spec.rb +12 -0
  1243. data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/will_paginate-liquidized/spec/will_paginate_liquidized_spec.rb +37 -0
  1244. data/lib/liquid_cms.rb +2 -0
  1245. data/lib/liquid_cms/configuration.rb +32 -0
  1246. data/lib/liquid_cms/context.rb +19 -0
  1247. data/lib/liquid_cms/context_association.rb +14 -0
  1248. data/lib/liquid_cms/role_authentication.rb +7 -0
  1249. data/lib/liquid_cms/version.rb +3 -0
  1250. data/liquid_cms.gemspec +36 -0
  1251. data/rails/init.rb +46 -0
  1252. data/test/factories/asset.rb +13 -0
  1253. data/test/factories/company.rb +11 -0
  1254. data/test/factories/page.rb +16 -0
  1255. data/test/factories/user.rb +3 -0
  1256. data/test/fixtures/liquid/layout.liquid +8 -0
  1257. data/test/fixtures/liquid/user_pagination.liquid +7 -0
  1258. data/test/functional/assets_controller_test.rb +85 -0
  1259. data/test/functional/main_controller_test.rb +34 -0
  1260. data/test/functional/pages_controller_test.rb +92 -0
  1261. data/test/integration/pages_test.rb +282 -0
  1262. data/test/rails_app/Rakefile +10 -0
  1263. data/test/rails_app/app/controllers/application_controller.rb +16 -0
  1264. data/test/rails_app/app/controllers/cms/setup_controller.rb +24 -0
  1265. data/test/rails_app/app/helpers/application_helper.rb +3 -0
  1266. data/test/rails_app/app/liquid/tags/user_data_tag.rb +15 -0
  1267. data/test/rails_app/app/models/company.rb +3 -0
  1268. data/test/rails_app/app/models/user.rb +3 -0
  1269. data/test/rails_app/config/boot.rb +114 -0
  1270. data/test/rails_app/config/database.yml +22 -0
  1271. data/test/rails_app/config/environment.rb +42 -0
  1272. data/test/rails_app/config/environments/development.rb +17 -0
  1273. data/test/rails_app/config/environments/production.rb +28 -0
  1274. data/test/rails_app/config/environments/test.rb +28 -0
  1275. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  1276. data/test/rails_app/config/initializers/cms/liquid_cms.rb +16 -0
  1277. data/test/rails_app/config/initializers/cms/remote_indicator.rb +1 -0
  1278. data/test/rails_app/config/initializers/cms/simple_form.rb +36 -0
  1279. data/test/rails_app/config/initializers/cms/simple_form_updates.rb +11 -0
  1280. data/test/rails_app/config/initializers/cms/vestal_versions.rb +9 -0
  1281. data/test/rails_app/config/initializers/cookie_verification_secret.rb +7 -0
  1282. data/test/rails_app/config/initializers/inflections.rb +10 -0
  1283. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  1284. data/test/rails_app/config/initializers/new_rails_defaults.rb +21 -0
  1285. data/test/rails_app/config/initializers/session_store.rb +15 -0
  1286. data/test/rails_app/config/locales/cms/en.yml +62 -0
  1287. data/test/rails_app/config/locales/en.yml +5 -0
  1288. data/test/rails_app/config/routes.rb +53 -0
  1289. data/test/rails_app/db/development.sqlite3 +0 -0
  1290. data/test/rails_app/db/migrate/20101018211856_create_liquid_cms_setup.rb +67 -0
  1291. data/test/rails_app/db/seeds.rb +7 -0
  1292. data/test/rails_app/public/404.html +30 -0
  1293. data/test/rails_app/public/422.html +30 -0
  1294. data/test/rails_app/public/500.html +30 -0
  1295. data/test/rails_app/public/cms/images/indicator.gif +0 -0
  1296. data/test/rails_app/public/cms/javascripts/cms.js +21 -0
  1297. data/test/rails_app/public/cms/javascripts/cookiejar.js +157 -0
  1298. data/test/rails_app/public/cms/javascripts/humanmsg.js +89 -0
  1299. data/test/rails_app/public/cms/javascripts/parseliquid.js +414 -0
  1300. data/test/rails_app/public/cms/stylesheets/clearfix.css +8 -0
  1301. data/test/rails_app/public/cms/stylesheets/documentation.css +31 -0
  1302. data/test/rails_app/public/cms/stylesheets/humanmsg.css +122 -0
  1303. data/test/rails_app/public/cms/stylesheets/ie.css +2 -0
  1304. data/test/rails_app/public/cms/stylesheets/liquidcolors.css +36 -0
  1305. data/test/rails_app/public/cms/stylesheets/simple_form.css +44 -0
  1306. data/test/rails_app/public/cms/stylesheets/styles.css +149 -0
  1307. data/test/rails_app/public/favicon.ico +0 -0
  1308. data/test/rails_app/public/images/rails.png +0 -0
  1309. data/test/rails_app/public/javascripts/application.js +2 -0
  1310. data/test/rails_app/public/javascripts/controls.js +963 -0
  1311. data/test/rails_app/public/javascripts/dragdrop.js +973 -0
  1312. data/test/rails_app/public/javascripts/effects.js +1128 -0
  1313. data/test/rails_app/public/javascripts/prototype.js +4320 -0
  1314. data/test/rails_app/public/robots.txt +5 -0
  1315. data/test/rails_app/script/about +4 -0
  1316. data/test/rails_app/script/console +3 -0
  1317. data/test/rails_app/script/dbconsole +3 -0
  1318. data/test/rails_app/script/destroy +3 -0
  1319. data/test/rails_app/script/generate +3 -0
  1320. data/test/rails_app/script/performance/benchmarker +3 -0
  1321. data/test/rails_app/script/performance/profiler +3 -0
  1322. data/test/rails_app/script/plugin +3 -0
  1323. data/test/rails_app/script/runner +3 -0
  1324. data/test/rails_app/script/server +3 -0
  1325. data/test/test_helper.rb +32 -0
  1326. data/test/test_helpers/login_methods.rb +54 -0
  1327. data/test/unit/asset_test.rb +8 -0
  1328. data/test/unit/page_test.rb +248 -0
  1329. metadata +1631 -0
@@ -0,0 +1,8 @@
1
+ /* used to clear floats without requiring extra div tags */
2
+ .clearfix:after {
3
+ content: ".";
4
+ display: block;
5
+ height: 0;
6
+ clear: both;
7
+ visibility: hidden;
8
+ }
@@ -0,0 +1,31 @@
1
+ #content {
2
+ border-left: 1px solid #DDD;
3
+ width: 80%;
4
+ padding-left: 2em;
5
+ margin-left: 1.5em;
6
+ }
7
+ h4 {
8
+ font-size: 10pt;
9
+ }
10
+ .subsection {
11
+ margin-left: 1em;
12
+ }
13
+ span.function {
14
+ color: blue;
15
+ font-weight: bold;
16
+ }
17
+ .param, .attribute {
18
+ font-weight: bold;
19
+ }
20
+ .required {
21
+ background-color: #FFF15F;
22
+ }
23
+ .example {
24
+ font-style: italic;
25
+ }
26
+ .cms_info {
27
+ background-color: #F5F5F5;
28
+ border: 1px solid #333;
29
+ padding: 0 0.5em;
30
+ margin-bottom: 1em;
31
+ }
@@ -0,0 +1,122 @@
1
+ /*
2
+ HUMANIZED MESSAGES 1.0
3
+ idea - http://www.humanized.com/weblog/2006/09/11/monolog_boxes_and_transparent_messages
4
+ home - http://humanmsg.googlecode.com
5
+ */
6
+
7
+ html, body {
8
+ height: 100%; /* Damn you IE! */
9
+ }
10
+
11
+ .humanMsg {
12
+ font: normal 20px/50px Helvetica, Arial, Sans-Serif;
13
+ letter-spacing: -1px;
14
+ position: fixed;
15
+ top: 130px;
16
+ left: 25%;
17
+ width: 50%;
18
+ color: white;
19
+ background-color: black;
20
+ text-align: center;
21
+ /* display: none; */
22
+ /* opacity: 0; */
23
+ opacity: 0.8;
24
+ -moz-border-radius: 0.5em;
25
+ -webkit-border-radius: 0.5em;
26
+ border-radius: 0.5em;
27
+ z-index: 100000;
28
+ }
29
+ .humanMsg.error {
30
+ background-color: #FFBFBF;
31
+ border-color: red;
32
+ color: #333;
33
+ opacity: 0.9;
34
+ }
35
+
36
+ .humanMsg .round {
37
+ border-left: solid 2px white;
38
+ border-right: solid 2px white;
39
+ font-size: 1px; height: 2px;
40
+ display: none;
41
+ }
42
+
43
+ .humanMsg p {
44
+ padding: .3em;
45
+ display: inline;
46
+ }
47
+
48
+ .humanMsg a {
49
+ display: none;
50
+ }
51
+
52
+ #humanMsgLog {
53
+ font: normal 10px Helvetica, Arial, Sans-Serif;
54
+ color: white;
55
+ position: fixed;
56
+ bottom: 0;
57
+ left: 0;
58
+ width: 100%;
59
+ max-height: 200px;
60
+ /* display: none; */
61
+ z-index: 10000;
62
+ }
63
+
64
+ #humanMsgLog p {
65
+ position: relative;
66
+ left: 50%;
67
+ width: 200px;
68
+ margin: 0;
69
+ margin-left: -100px;
70
+ padding: 0 10px;
71
+ line-height: 20px;
72
+ background: #333;
73
+ text-align: center;
74
+ white-space: pre;
75
+ cursor: pointer;
76
+ bottom: 0;
77
+ }
78
+
79
+ #humanMsgLog p:hover {
80
+ background: #222;
81
+ }
82
+
83
+ #humanMsgLog ul {
84
+ background: #eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAARCAIAAACaSvE/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE1JREFUeNqEjVEKACAIQ516Ee//5wVNCjIjaB/iY5vC3YkoIgDkVDOjQ5pqLCI3r2bLFzNzyydvM4uKqfJPKN4vyl9LO/7o3/6PhwADAIWkFPjc5eRrAAAAAElFTkSuQmCC) repeat-x;
85
+ margin: 0;
86
+ padding: 0;
87
+ position: relative;
88
+ max-height: 180px;
89
+ overflow: auto;
90
+ }
91
+
92
+ #humanMsgLog ul li {
93
+ color: #555;
94
+ font-size: 12px;
95
+ list-style-type: none;
96
+ border-bottom: 1px solid #ddd;
97
+ line-height: 40px;
98
+ padding: 0 20px;
99
+ position: relative;
100
+ overflow: hidden;
101
+ white-space: pre;
102
+ }
103
+
104
+ #humanMsgLog ul li:hover {
105
+ background: #f2f2f2;
106
+ }
107
+
108
+ #humanMsgLog ul li:first-child {
109
+ margin-top: 1px;
110
+ }
111
+
112
+ #humanMsgLog ul li .error {
113
+ color: orangered;
114
+ }
115
+
116
+ #humanMsgLog ul li .indent {
117
+ position: absolute;
118
+ top: 0;
119
+ left: 100px;
120
+ margin-right: 200px;
121
+ height: inherit;
122
+ }
@@ -0,0 +1,2 @@
1
+ .clearfix {display:inline-block;}
2
+ * html .clearfix {height:1%;}
@@ -0,0 +1,36 @@
1
+
2
+ span.liquid-punctuation, span.liquid-start-punctuation, span.liquid-end-punctuation {
3
+ color: silver;
4
+ }
5
+
6
+ span.liquid-bad-punctuation {
7
+ color: red;
8
+ text-decoration: underline;
9
+ }
10
+
11
+ span.liquid-text {
12
+ color: black;
13
+ }
14
+
15
+ span.liquid-variable {
16
+ color: magenta;
17
+ }
18
+
19
+ span.liquid-string {
20
+ color: green;
21
+ }
22
+
23
+ span.liquid-tag-name {
24
+ color: green;
25
+ font-weight: bold;
26
+ }
27
+
28
+ span.liquid-keyword {
29
+ color: black;
30
+ font-weight: bold;
31
+ }
32
+
33
+ span.liquid-tag-name {
34
+ color: black;
35
+ font-weight: bold;
36
+ }
@@ -0,0 +1,44 @@
1
+ form.simple_form {
2
+ padding: 1em;
3
+ background-color: #F5F5F5;
4
+ margin-bottom: 1em;
5
+ }
6
+ form.simple_form, #sidebar {
7
+ border: 1px solid #BBB;
8
+ -moz-box-shadow: 0.3em 0.3em 9px 1px rgba(0, 0, 0, 0.1);
9
+ -webkit-box-shadow: 0.3em 0.3em 9px rgba(0, 0, 0, 0.1);
10
+ box-shadow: 0.3em 0.3em 9px rgba(0, 0, 0, 0.1);
11
+ }
12
+ form.simple_form a.cancel {
13
+ color: red;
14
+ line-height: 2em;
15
+ }
16
+ form.simple_form div.string, form.simple_form div.text, form.simple_form div.boolean, div.select {
17
+ margin-bottom: 1.3em;
18
+ }
19
+ form.simple_form label {
20
+ color: #333;
21
+ float: left;
22
+ font-size: 10pt;
23
+ font-weight: bold;
24
+ width: 10%;
25
+ }
26
+ form.simple_form input.string {
27
+ width: 89%;
28
+ }
29
+
30
+ form.simple_form .buttons { margin-left: 10%; margin-top: 1em; }
31
+ form.simple_form span.hint { color: #666; display: block; font-size: 8pt; font-style: italic; margin: 0.5em 0 0 10%;}
32
+ form.simple_form span.hint em { color: #333; font-weight: bold; }
33
+
34
+ form.simple_form div.fieldWithErrors { background-color: #FBE3E4; padding: 0.5em 0; }
35
+ form.simple_form span.error {
36
+ background: white;
37
+ border:1px solid red;
38
+ color:red;
39
+ display:block;
40
+ font-weight:bold;
41
+ margin-left:10%;
42
+ margin-top:0.5em;
43
+ padding:0.5em;
44
+ }
@@ -0,0 +1,149 @@
1
+ html, body {
2
+ margin: 0;
3
+ }
4
+
5
+ body {
6
+ background-color: #EDEDED;
7
+ font-family: Arial;
8
+ font-size: 10pt;
9
+ }
10
+
11
+ a img {
12
+ border: none;
13
+ }
14
+
15
+ #header {
16
+ position: relative;
17
+ padding: 2em 0;
18
+ margin: 0 0 1em 0;
19
+ }
20
+ #header h1 {
21
+ font-size: 18pt;
22
+ font-weight: bold;
23
+ margin-left: 3em;
24
+ text-align: left;
25
+ }
26
+ #header h1, #sidebar h2 {
27
+ color: #FFFAD5;
28
+ }
29
+ #header, #sidebar h2 {
30
+ background-color: #2D3337;
31
+ }
32
+ #header h1 a {
33
+ color: inherit;
34
+ text-decoration: none;
35
+ }
36
+ #header #login_info {
37
+ color: #DDD;
38
+ position: absolute;
39
+ right: 1.5em;
40
+ top: 1em;
41
+ }
42
+ #header #login_info em {
43
+ color: white;
44
+ font-weight: bold;
45
+ }
46
+
47
+ #content {
48
+ float: left;
49
+ margin-left: 2em;
50
+ width: 70%;
51
+ }
52
+ #content h2 {
53
+ border-bottom: 1px solid #AAA;
54
+ margin-top: 0;
55
+ padding-bottom: 0.3em;
56
+ }
57
+
58
+ #sidebar {
59
+ background-color: #CFCFCF;
60
+ float: left;
61
+ padding: 0 1em;
62
+ margin-left: 2em;
63
+ width: 250px;
64
+ }
65
+ #sidebar h2 {
66
+ font-size: 12pt;
67
+ padding: 0.2em;
68
+ margin-top: 0.5em;
69
+ text-align: center;
70
+ }
71
+ #sidebar #pages {
72
+ margin-bottom: 1.5em;
73
+ }
74
+ #sidebar ul {
75
+ list-style-type: none;
76
+ margin: 0;
77
+ padding: 0;
78
+ }
79
+ #sidebar ul.tree, #sidebar #assets ul {
80
+ margin-bottom: 1em;
81
+ }
82
+ #sidebar ul.tree ul {
83
+ margin-left: 15px;
84
+ }
85
+ #sidebar #assets li {
86
+ border: 1px solid #AAA;
87
+ padding: 0.3em 0.4em;
88
+ margin-bottom: 0.3em;
89
+ }
90
+ #sidebar #assets li:hover {
91
+ background-color: #BFD6FF !important;
92
+ }
93
+ #sidebar #assets li.light {
94
+ background-color: #DDD;
95
+ }
96
+ #sidebar .preview {
97
+ margin-bottom: 0.5em;
98
+ }
99
+ #sidebar .preview a {
100
+ font-size: 8pt;
101
+ }
102
+ #sidebar .asset_details {
103
+ margin-top: 0.5em;
104
+ }
105
+ #sidebar .asset_image {
106
+ margin: 0 1.5em 0;
107
+ }
108
+ #sidebar .asset_image {
109
+ float: left;
110
+ }
111
+ #sidebar .asset_size {
112
+ font-size: 8pt;
113
+ float: right;
114
+ }
115
+ #sidebar #components form {
116
+ margin-bottom: 0.5em;
117
+ }
118
+ #sidebar #components ul ul {
119
+ margin-left: 0.5em;
120
+ }
121
+
122
+ #content p .notice {
123
+ background-color: yellow;
124
+ font-size: 12pt;
125
+ padding: 0.2em;
126
+ }
127
+
128
+ h2 p.message {
129
+ float: right;
130
+ margin: 0;
131
+ }
132
+
133
+ #cms ul.tree { list-style-type: none; background: url(/cms/images/tree/vline.png) repeat-y; margin: 0; padding: 0; }
134
+ #cms ul.tree ul { margin-left: 10px; }
135
+ #cms ul.tree li { margin: 0; padding: 0 12px; line-height: 20px; background: url(/cms/images/tree/node.png) no-repeat; color: #369; font-weight: bold; }
136
+ #cms ul.tree li:last-child { background: url(/cms/images/tree/lastnode.png) no-repeat; }
137
+
138
+ .left {
139
+ float: left;
140
+ }
141
+ .right {
142
+ float: right;
143
+ }
144
+
145
+ .CodeMirror-wrapping iframe {
146
+ background-color: white;
147
+ border: 1px solid #BBBBBB !important;
148
+ width: 89% !important;
149
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ // Place your application-specific JavaScript functions and classes here
2
+ // This file is automatically included by javascript_include_tag :defaults
@@ -0,0 +1,963 @@
1
+ // Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
2
+ // (c) 2005-2008 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
3
+ // (c) 2005-2008 Jon Tirsen (http://www.tirsen.com)
4
+ // Contributors:
5
+ // Richard Livsey
6
+ // Rahul Bhargava
7
+ // Rob Wills
8
+ //
9
+ // script.aculo.us is freely distributable under the terms of an MIT-style license.
10
+ // For details, see the script.aculo.us web site: http://script.aculo.us/
11
+
12
+ // Autocompleter.Base handles all the autocompletion functionality
13
+ // that's independent of the data source for autocompletion. This
14
+ // includes drawing the autocompletion menu, observing keyboard
15
+ // and mouse events, and similar.
16
+ //
17
+ // Specific autocompleters need to provide, at the very least,
18
+ // a getUpdatedChoices function that will be invoked every time
19
+ // the text inside the monitored textbox changes. This method
20
+ // should get the text for which to provide autocompletion by
21
+ // invoking this.getToken(), NOT by directly accessing
22
+ // this.element.value. This is to allow incremental tokenized
23
+ // autocompletion. Specific auto-completion logic (AJAX, etc)
24
+ // belongs in getUpdatedChoices.
25
+ //
26
+ // Tokenized incremental autocompletion is enabled automatically
27
+ // when an autocompleter is instantiated with the 'tokens' option
28
+ // in the options parameter, e.g.:
29
+ // new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
30
+ // will incrementally autocomplete with a comma as the token.
31
+ // Additionally, ',' in the above example can be replaced with
32
+ // a token array, e.g. { tokens: [',', '\n'] } which
33
+ // enables autocompletion on multiple tokens. This is most
34
+ // useful when one of the tokens is \n (a newline), as it
35
+ // allows smart autocompletion after linebreaks.
36
+
37
+ if(typeof Effect == 'undefined')
38
+ throw("controls.js requires including script.aculo.us' effects.js library");
39
+
40
+ var Autocompleter = { };
41
+ Autocompleter.Base = Class.create({
42
+ baseInitialize: function(element, update, options) {
43
+ element = $(element);
44
+ this.element = element;
45
+ this.update = $(update);
46
+ this.hasFocus = false;
47
+ this.changed = false;
48
+ this.active = false;
49
+ this.index = 0;
50
+ this.entryCount = 0;
51
+ this.oldElementValue = this.element.value;
52
+
53
+ if(this.setOptions)
54
+ this.setOptions(options);
55
+ else
56
+ this.options = options || { };
57
+
58
+ this.options.paramName = this.options.paramName || this.element.name;
59
+ this.options.tokens = this.options.tokens || [];
60
+ this.options.frequency = this.options.frequency || 0.4;
61
+ this.options.minChars = this.options.minChars || 1;
62
+ this.options.onShow = this.options.onShow ||
63
+ function(element, update){
64
+ if(!update.style.position || update.style.position=='absolute') {
65
+ update.style.position = 'absolute';
66
+ Position.clone(element, update, {
67
+ setHeight: false,
68
+ offsetTop: element.offsetHeight
69
+ });
70
+ }
71
+ Effect.Appear(update,{duration:0.15});
72
+ };
73
+ this.options.onHide = this.options.onHide ||
74
+ function(element, update){ new Effect.Fade(update,{duration:0.15}) };
75
+
76
+ if(typeof(this.options.tokens) == 'string')
77
+ this.options.tokens = new Array(this.options.tokens);
78
+ // Force carriage returns as token delimiters anyway
79
+ if (!this.options.tokens.include('\n'))
80
+ this.options.tokens.push('\n');
81
+
82
+ this.observer = null;
83
+
84
+ this.element.setAttribute('autocomplete','off');
85
+
86
+ Element.hide(this.update);
87
+
88
+ Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));
89
+ Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this));
90
+ },
91
+
92
+ show: function() {
93
+ if(Element.getStyle(this.update, 'display')=='none') this.options.onShow(this.element, this.update);
94
+ if(!this.iefix &&
95
+ (Prototype.Browser.IE) &&
96
+ (Element.getStyle(this.update, 'position')=='absolute')) {
97
+ new Insertion.After(this.update,
98
+ '<iframe id="' + this.update.id + '_iefix" '+
99
+ 'style="display:none;position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);" ' +
100
+ 'src="javascript:false;" frameborder="0" scrolling="no"></iframe>');
101
+ this.iefix = $(this.update.id+'_iefix');
102
+ }
103
+ if(this.iefix) setTimeout(this.fixIEOverlapping.bind(this), 50);
104
+ },
105
+
106
+ fixIEOverlapping: function() {
107
+ Position.clone(this.update, this.iefix, {setTop:(!this.update.style.height)});
108
+ this.iefix.style.zIndex = 1;
109
+ this.update.style.zIndex = 2;
110
+ Element.show(this.iefix);
111
+ },
112
+
113
+ hide: function() {
114
+ this.stopIndicator();
115
+ if(Element.getStyle(this.update, 'display')!='none') this.options.onHide(this.element, this.update);
116
+ if(this.iefix) Element.hide(this.iefix);
117
+ },
118
+
119
+ startIndicator: function() {
120
+ if(this.options.indicator) Element.show(this.options.indicator);
121
+ },
122
+
123
+ stopIndicator: function() {
124
+ if(this.options.indicator) Element.hide(this.options.indicator);
125
+ },
126
+
127
+ onKeyPress: function(event) {
128
+ if(this.active)
129
+ switch(event.keyCode) {
130
+ case Event.KEY_TAB:
131
+ case Event.KEY_RETURN:
132
+ this.selectEntry();
133
+ Event.stop(event);
134
+ case Event.KEY_ESC:
135
+ this.hide();
136
+ this.active = false;
137
+ Event.stop(event);
138
+ return;
139
+ case Event.KEY_LEFT:
140
+ case Event.KEY_RIGHT:
141
+ return;
142
+ case Event.KEY_UP:
143
+ this.markPrevious();
144
+ this.render();
145
+ Event.stop(event);
146
+ return;
147
+ case Event.KEY_DOWN:
148
+ this.markNext();
149
+ this.render();
150
+ Event.stop(event);
151
+ return;
152
+ }
153
+ else
154
+ if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN ||
155
+ (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return;
156
+
157
+ this.changed = true;
158
+ this.hasFocus = true;
159
+
160
+ if(this.observer) clearTimeout(this.observer);
161
+ this.observer =
162
+ setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000);
163
+ },
164
+
165
+ activate: function() {
166
+ this.changed = false;
167
+ this.hasFocus = true;
168
+ this.getUpdatedChoices();
169
+ },
170
+
171
+ onHover: function(event) {
172
+ var element = Event.findElement(event, 'LI');
173
+ if(this.index != element.autocompleteIndex)
174
+ {
175
+ this.index = element.autocompleteIndex;
176
+ this.render();
177
+ }
178
+ Event.stop(event);
179
+ },
180
+
181
+ onClick: function(event) {
182
+ var element = Event.findElement(event, 'LI');
183
+ this.index = element.autocompleteIndex;
184
+ this.selectEntry();
185
+ this.hide();
186
+ },
187
+
188
+ onBlur: function(event) {
189
+ // needed to make click events working
190
+ setTimeout(this.hide.bind(this), 250);
191
+ this.hasFocus = false;
192
+ this.active = false;
193
+ },
194
+
195
+ render: function() {
196
+ if(this.entryCount > 0) {
197
+ for (var i = 0; i < this.entryCount; i++)
198
+ this.index==i ?
199
+ Element.addClassName(this.getEntry(i),"selected") :
200
+ Element.removeClassName(this.getEntry(i),"selected");
201
+ if(this.hasFocus) {
202
+ this.show();
203
+ this.active = true;
204
+ }
205
+ } else {
206
+ this.active = false;
207
+ this.hide();
208
+ }
209
+ },
210
+
211
+ markPrevious: function() {
212
+ if(this.index > 0) this.index--;
213
+ else this.index = this.entryCount-1;
214
+ this.getEntry(this.index).scrollIntoView(true);
215
+ },
216
+
217
+ markNext: function() {
218
+ if(this.index < this.entryCount-1) this.index++;
219
+ else this.index = 0;
220
+ this.getEntry(this.index).scrollIntoView(false);
221
+ },
222
+
223
+ getEntry: function(index) {
224
+ return this.update.firstChild.childNodes[index];
225
+ },
226
+
227
+ getCurrentEntry: function() {
228
+ return this.getEntry(this.index);
229
+ },
230
+
231
+ selectEntry: function() {
232
+ this.active = false;
233
+ this.updateElement(this.getCurrentEntry());
234
+ },
235
+
236
+ updateElement: function(selectedElement) {
237
+ if (this.options.updateElement) {
238
+ this.options.updateElement(selectedElement);
239
+ return;
240
+ }
241
+ var value = '';
242
+ if (this.options.select) {
243
+ var nodes = $(selectedElement).select('.' + this.options.select) || [];
244
+ if(nodes.length>0) value = Element.collectTextNodes(nodes[0], this.options.select);
245
+ } else
246
+ value = Element.collectTextNodesIgnoreClass(selectedElement, 'informal');
247
+
248
+ var bounds = this.getTokenBounds();
249
+ if (bounds[0] != -1) {
250
+ var newValue = this.element.value.substr(0, bounds[0]);
251
+ var whitespace = this.element.value.substr(bounds[0]).match(/^\s+/);
252
+ if (whitespace)
253
+ newValue += whitespace[0];
254
+ this.element.value = newValue + value + this.element.value.substr(bounds[1]);
255
+ } else {
256
+ this.element.value = value;
257
+ }
258
+ this.oldElementValue = this.element.value;
259
+ this.element.focus();
260
+
261
+ if (this.options.afterUpdateElement)
262
+ this.options.afterUpdateElement(this.element, selectedElement);
263
+ },
264
+
265
+ updateChoices: function(choices) {
266
+ if(!this.changed && this.hasFocus) {
267
+ this.update.innerHTML = choices;
268
+ Element.cleanWhitespace(this.update);
269
+ Element.cleanWhitespace(this.update.down());
270
+
271
+ if(this.update.firstChild && this.update.down().childNodes) {
272
+ this.entryCount =
273
+ this.update.down().childNodes.length;
274
+ for (var i = 0; i < this.entryCount; i++) {
275
+ var entry = this.getEntry(i);
276
+ entry.autocompleteIndex = i;
277
+ this.addObservers(entry);
278
+ }
279
+ } else {
280
+ this.entryCount = 0;
281
+ }
282
+
283
+ this.stopIndicator();
284
+ this.index = 0;
285
+
286
+ if(this.entryCount==1 && this.options.autoSelect) {
287
+ this.selectEntry();
288
+ this.hide();
289
+ } else {
290
+ this.render();
291
+ }
292
+ }
293
+ },
294
+
295
+ addObservers: function(element) {
296
+ Event.observe(element, "mouseover", this.onHover.bindAsEventListener(this));
297
+ Event.observe(element, "click", this.onClick.bindAsEventListener(this));
298
+ },
299
+
300
+ onObserverEvent: function() {
301
+ this.changed = false;
302
+ this.tokenBounds = null;
303
+ if(this.getToken().length>=this.options.minChars) {
304
+ this.getUpdatedChoices();
305
+ } else {
306
+ this.active = false;
307
+ this.hide();
308
+ }
309
+ this.oldElementValue = this.element.value;
310
+ },
311
+
312
+ getToken: function() {
313
+ var bounds = this.getTokenBounds();
314
+ return this.element.value.substring(bounds[0], bounds[1]).strip();
315
+ },
316
+
317
+ getTokenBounds: function() {
318
+ if (null != this.tokenBounds) return this.tokenBounds;
319
+ var value = this.element.value;
320
+ if (value.strip().empty()) return [-1, 0];
321
+ var diff = arguments.callee.getFirstDifferencePos(value, this.oldElementValue);
322
+ var offset = (diff == this.oldElementValue.length ? 1 : 0);
323
+ var prevTokenPos = -1, nextTokenPos = value.length;
324
+ var tp;
325
+ for (var index = 0, l = this.options.tokens.length; index < l; ++index) {
326
+ tp = value.lastIndexOf(this.options.tokens[index], diff + offset - 1);
327
+ if (tp > prevTokenPos) prevTokenPos = tp;
328
+ tp = value.indexOf(this.options.tokens[index], diff + offset);
329
+ if (-1 != tp && tp < nextTokenPos) nextTokenPos = tp;
330
+ }
331
+ return (this.tokenBounds = [prevTokenPos + 1, nextTokenPos]);
332
+ }
333
+ });
334
+
335
+ Autocompleter.Base.prototype.getTokenBounds.getFirstDifferencePos = function(newS, oldS) {
336
+ var boundary = Math.min(newS.length, oldS.length);
337
+ for (var index = 0; index < boundary; ++index)
338
+ if (newS[index] != oldS[index])
339
+ return index;
340
+ return boundary;
341
+ };
342
+
343
+ Ajax.Autocompleter = Class.create(Autocompleter.Base, {
344
+ initialize: function(element, update, url, options) {
345
+ this.baseInitialize(element, update, options);
346
+ this.options.asynchronous = true;
347
+ this.options.onComplete = this.onComplete.bind(this);
348
+ this.options.defaultParams = this.options.parameters || null;
349
+ this.url = url;
350
+ },
351
+
352
+ getUpdatedChoices: function() {
353
+ this.startIndicator();
354
+
355
+ var entry = encodeURIComponent(this.options.paramName) + '=' +
356
+ encodeURIComponent(this.getToken());
357
+
358
+ this.options.parameters = this.options.callback ?
359
+ this.options.callback(this.element, entry) : entry;
360
+
361
+ if(this.options.defaultParams)
362
+ this.options.parameters += '&' + this.options.defaultParams;
363
+
364
+ new Ajax.Request(this.url, this.options);
365
+ },
366
+
367
+ onComplete: function(request) {
368
+ this.updateChoices(request.responseText);
369
+ }
370
+ });
371
+
372
+ // The local array autocompleter. Used when you'd prefer to
373
+ // inject an array of autocompletion options into the page, rather
374
+ // than sending out Ajax queries, which can be quite slow sometimes.
375
+ //
376
+ // The constructor takes four parameters. The first two are, as usual,
377
+ // the id of the monitored textbox, and id of the autocompletion menu.
378
+ // The third is the array you want to autocomplete from, and the fourth
379
+ // is the options block.
380
+ //
381
+ // Extra local autocompletion options:
382
+ // - choices - How many autocompletion choices to offer
383
+ //
384
+ // - partialSearch - If false, the autocompleter will match entered
385
+ // text only at the beginning of strings in the
386
+ // autocomplete array. Defaults to true, which will
387
+ // match text at the beginning of any *word* in the
388
+ // strings in the autocomplete array. If you want to
389
+ // search anywhere in the string, additionally set
390
+ // the option fullSearch to true (default: off).
391
+ //
392
+ // - fullSsearch - Search anywhere in autocomplete array strings.
393
+ //
394
+ // - partialChars - How many characters to enter before triggering
395
+ // a partial match (unlike minChars, which defines
396
+ // how many characters are required to do any match
397
+ // at all). Defaults to 2.
398
+ //
399
+ // - ignoreCase - Whether to ignore case when autocompleting.
400
+ // Defaults to true.
401
+ //
402
+ // It's possible to pass in a custom function as the 'selector'
403
+ // option, if you prefer to write your own autocompletion logic.
404
+ // In that case, the other options above will not apply unless
405
+ // you support them.
406
+
407
+ Autocompleter.Local = Class.create(Autocompleter.Base, {
408
+ initialize: function(element, update, array, options) {
409
+ this.baseInitialize(element, update, options);
410
+ this.options.array = array;
411
+ },
412
+
413
+ getUpdatedChoices: function() {
414
+ this.updateChoices(this.options.selector(this));
415
+ },
416
+
417
+ setOptions: function(options) {
418
+ this.options = Object.extend({
419
+ choices: 10,
420
+ partialSearch: true,
421
+ partialChars: 2,
422
+ ignoreCase: true,
423
+ fullSearch: false,
424
+ selector: function(instance) {
425
+ var ret = []; // Beginning matches
426
+ var partial = []; // Inside matches
427
+ var entry = instance.getToken();
428
+ var count = 0;
429
+
430
+ for (var i = 0; i < instance.options.array.length &&
431
+ ret.length < instance.options.choices ; i++) {
432
+
433
+ var elem = instance.options.array[i];
434
+ var foundPos = instance.options.ignoreCase ?
435
+ elem.toLowerCase().indexOf(entry.toLowerCase()) :
436
+ elem.indexOf(entry);
437
+
438
+ while (foundPos != -1) {
439
+ if (foundPos == 0 && elem.length != entry.length) {
440
+ ret.push("<li><strong>" + elem.substr(0, entry.length) + "</strong>" +
441
+ elem.substr(entry.length) + "</li>");
442
+ break;
443
+ } else if (entry.length >= instance.options.partialChars &&
444
+ instance.options.partialSearch && foundPos != -1) {
445
+ if (instance.options.fullSearch || /\s/.test(elem.substr(foundPos-1,1))) {
446
+ partial.push("<li>" + elem.substr(0, foundPos) + "<strong>" +
447
+ elem.substr(foundPos, entry.length) + "</strong>" + elem.substr(
448
+ foundPos + entry.length) + "</li>");
449
+ break;
450
+ }
451
+ }
452
+
453
+ foundPos = instance.options.ignoreCase ?
454
+ elem.toLowerCase().indexOf(entry.toLowerCase(), foundPos + 1) :
455
+ elem.indexOf(entry, foundPos + 1);
456
+
457
+ }
458
+ }
459
+ if (partial.length)
460
+ ret = ret.concat(partial.slice(0, instance.options.choices - ret.length));
461
+ return "<ul>" + ret.join('') + "</ul>";
462
+ }
463
+ }, options || { });
464
+ }
465
+ });
466
+
467
+ // AJAX in-place editor and collection editor
468
+ // Full rewrite by Christophe Porteneuve <tdd@tddsworld.com> (April 2007).
469
+
470
+ // Use this if you notice weird scrolling problems on some browsers,
471
+ // the DOM might be a bit confused when this gets called so do this
472
+ // waits 1 ms (with setTimeout) until it does the activation
473
+ Field.scrollFreeActivate = function(field) {
474
+ setTimeout(function() {
475
+ Field.activate(field);
476
+ }, 1);
477
+ };
478
+
479
+ Ajax.InPlaceEditor = Class.create({
480
+ initialize: function(element, url, options) {
481
+ this.url = url;
482
+ this.element = element = $(element);
483
+ this.prepareOptions();
484
+ this._controls = { };
485
+ arguments.callee.dealWithDeprecatedOptions(options); // DEPRECATION LAYER!!!
486
+ Object.extend(this.options, options || { });
487
+ if (!this.options.formId && this.element.id) {
488
+ this.options.formId = this.element.id + '-inplaceeditor';
489
+ if ($(this.options.formId))
490
+ this.options.formId = '';
491
+ }
492
+ if (this.options.externalControl)
493
+ this.options.externalControl = $(this.options.externalControl);
494
+ if (!this.options.externalControl)
495
+ this.options.externalControlOnly = false;
496
+ this._originalBackground = this.element.getStyle('background-color') || 'transparent';
497
+ this.element.title = this.options.clickToEditText;
498
+ this._boundCancelHandler = this.handleFormCancellation.bind(this);
499
+ this._boundComplete = (this.options.onComplete || Prototype.emptyFunction).bind(this);
500
+ this._boundFailureHandler = this.handleAJAXFailure.bind(this);
501
+ this._boundSubmitHandler = this.handleFormSubmission.bind(this);
502
+ this._boundWrapperHandler = this.wrapUp.bind(this);
503
+ this.registerListeners();
504
+ },
505
+ checkForEscapeOrReturn: function(e) {
506
+ if (!this._editing || e.ctrlKey || e.altKey || e.shiftKey) return;
507
+ if (Event.KEY_ESC == e.keyCode)
508
+ this.handleFormCancellation(e);
509
+ else if (Event.KEY_RETURN == e.keyCode)
510
+ this.handleFormSubmission(e);
511
+ },
512
+ createControl: function(mode, handler, extraClasses) {
513
+ var control = this.options[mode + 'Control'];
514
+ var text = this.options[mode + 'Text'];
515
+ if ('button' == control) {
516
+ var btn = document.createElement('input');
517
+ btn.type = 'submit';
518
+ btn.value = text;
519
+ btn.className = 'editor_' + mode + '_button';
520
+ if ('cancel' == mode)
521
+ btn.onclick = this._boundCancelHandler;
522
+ this._form.appendChild(btn);
523
+ this._controls[mode] = btn;
524
+ } else if ('link' == control) {
525
+ var link = document.createElement('a');
526
+ link.href = '#';
527
+ link.appendChild(document.createTextNode(text));
528
+ link.onclick = 'cancel' == mode ? this._boundCancelHandler : this._boundSubmitHandler;
529
+ link.className = 'editor_' + mode + '_link';
530
+ if (extraClasses)
531
+ link.className += ' ' + extraClasses;
532
+ this._form.appendChild(link);
533
+ this._controls[mode] = link;
534
+ }
535
+ },
536
+ createEditField: function() {
537
+ var text = (this.options.loadTextURL ? this.options.loadingText : this.getText());
538
+ var fld;
539
+ if (1 >= this.options.rows && !/\r|\n/.test(this.getText())) {
540
+ fld = document.createElement('input');
541
+ fld.type = 'text';
542
+ var size = this.options.size || this.options.cols || 0;
543
+ if (0 < size) fld.size = size;
544
+ } else {
545
+ fld = document.createElement('textarea');
546
+ fld.rows = (1 >= this.options.rows ? this.options.autoRows : this.options.rows);
547
+ fld.cols = this.options.cols || 40;
548
+ }
549
+ fld.name = this.options.paramName;
550
+ fld.value = text; // No HTML breaks conversion anymore
551
+ fld.className = 'editor_field';
552
+ if (this.options.submitOnBlur)
553
+ fld.onblur = this._boundSubmitHandler;
554
+ this._controls.editor = fld;
555
+ if (this.options.loadTextURL)
556
+ this.loadExternalText();
557
+ this._form.appendChild(this._controls.editor);
558
+ },
559
+ createForm: function() {
560
+ var ipe = this;
561
+ function addText(mode, condition) {
562
+ var text = ipe.options['text' + mode + 'Controls'];
563
+ if (!text || condition === false) return;
564
+ ipe._form.appendChild(document.createTextNode(text));
565
+ };
566
+ this._form = $(document.createElement('form'));
567
+ this._form.id = this.options.formId;
568
+ this._form.addClassName(this.options.formClassName);
569
+ this._form.onsubmit = this._boundSubmitHandler;
570
+ this.createEditField();
571
+ if ('textarea' == this._controls.editor.tagName.toLowerCase())
572
+ this._form.appendChild(document.createElement('br'));
573
+ if (this.options.onFormCustomization)
574
+ this.options.onFormCustomization(this, this._form);
575
+ addText('Before', this.options.okControl || this.options.cancelControl);
576
+ this.createControl('ok', this._boundSubmitHandler);
577
+ addText('Between', this.options.okControl && this.options.cancelControl);
578
+ this.createControl('cancel', this._boundCancelHandler, 'editor_cancel');
579
+ addText('After', this.options.okControl || this.options.cancelControl);
580
+ },
581
+ destroy: function() {
582
+ if (this._oldInnerHTML)
583
+ this.element.innerHTML = this._oldInnerHTML;
584
+ this.leaveEditMode();
585
+ this.unregisterListeners();
586
+ },
587
+ enterEditMode: function(e) {
588
+ if (this._saving || this._editing) return;
589
+ this._editing = true;
590
+ this.triggerCallback('onEnterEditMode');
591
+ if (this.options.externalControl)
592
+ this.options.externalControl.hide();
593
+ this.element.hide();
594
+ this.createForm();
595
+ this.element.parentNode.insertBefore(this._form, this.element);
596
+ if (!this.options.loadTextURL)
597
+ this.postProcessEditField();
598
+ if (e) Event.stop(e);
599
+ },
600
+ enterHover: function(e) {
601
+ if (this.options.hoverClassName)
602
+ this.element.addClassName(this.options.hoverClassName);
603
+ if (this._saving) return;
604
+ this.triggerCallback('onEnterHover');
605
+ },
606
+ getText: function() {
607
+ return this.element.innerHTML.unescapeHTML();
608
+ },
609
+ handleAJAXFailure: function(transport) {
610
+ this.triggerCallback('onFailure', transport);
611
+ if (this._oldInnerHTML) {
612
+ this.element.innerHTML = this._oldInnerHTML;
613
+ this._oldInnerHTML = null;
614
+ }
615
+ },
616
+ handleFormCancellation: function(e) {
617
+ this.wrapUp();
618
+ if (e) Event.stop(e);
619
+ },
620
+ handleFormSubmission: function(e) {
621
+ var form = this._form;
622
+ var value = $F(this._controls.editor);
623
+ this.prepareSubmission();
624
+ var params = this.options.callback(form, value) || '';
625
+ if (Object.isString(params))
626
+ params = params.toQueryParams();
627
+ params.editorId = this.element.id;
628
+ if (this.options.htmlResponse) {
629
+ var options = Object.extend({ evalScripts: true }, this.options.ajaxOptions);
630
+ Object.extend(options, {
631
+ parameters: params,
632
+ onComplete: this._boundWrapperHandler,
633
+ onFailure: this._boundFailureHandler
634
+ });
635
+ new Ajax.Updater({ success: this.element }, this.url, options);
636
+ } else {
637
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
638
+ Object.extend(options, {
639
+ parameters: params,
640
+ onComplete: this._boundWrapperHandler,
641
+ onFailure: this._boundFailureHandler
642
+ });
643
+ new Ajax.Request(this.url, options);
644
+ }
645
+ if (e) Event.stop(e);
646
+ },
647
+ leaveEditMode: function() {
648
+ this.element.removeClassName(this.options.savingClassName);
649
+ this.removeForm();
650
+ this.leaveHover();
651
+ this.element.style.backgroundColor = this._originalBackground;
652
+ this.element.show();
653
+ if (this.options.externalControl)
654
+ this.options.externalControl.show();
655
+ this._saving = false;
656
+ this._editing = false;
657
+ this._oldInnerHTML = null;
658
+ this.triggerCallback('onLeaveEditMode');
659
+ },
660
+ leaveHover: function(e) {
661
+ if (this.options.hoverClassName)
662
+ this.element.removeClassName(this.options.hoverClassName);
663
+ if (this._saving) return;
664
+ this.triggerCallback('onLeaveHover');
665
+ },
666
+ loadExternalText: function() {
667
+ this._form.addClassName(this.options.loadingClassName);
668
+ this._controls.editor.disabled = true;
669
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
670
+ Object.extend(options, {
671
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
672
+ onComplete: Prototype.emptyFunction,
673
+ onSuccess: function(transport) {
674
+ this._form.removeClassName(this.options.loadingClassName);
675
+ var text = transport.responseText;
676
+ if (this.options.stripLoadedTextTags)
677
+ text = text.stripTags();
678
+ this._controls.editor.value = text;
679
+ this._controls.editor.disabled = false;
680
+ this.postProcessEditField();
681
+ }.bind(this),
682
+ onFailure: this._boundFailureHandler
683
+ });
684
+ new Ajax.Request(this.options.loadTextURL, options);
685
+ },
686
+ postProcessEditField: function() {
687
+ var fpc = this.options.fieldPostCreation;
688
+ if (fpc)
689
+ $(this._controls.editor)['focus' == fpc ? 'focus' : 'activate']();
690
+ },
691
+ prepareOptions: function() {
692
+ this.options = Object.clone(Ajax.InPlaceEditor.DefaultOptions);
693
+ Object.extend(this.options, Ajax.InPlaceEditor.DefaultCallbacks);
694
+ [this._extraDefaultOptions].flatten().compact().each(function(defs) {
695
+ Object.extend(this.options, defs);
696
+ }.bind(this));
697
+ },
698
+ prepareSubmission: function() {
699
+ this._saving = true;
700
+ this.removeForm();
701
+ this.leaveHover();
702
+ this.showSaving();
703
+ },
704
+ registerListeners: function() {
705
+ this._listeners = { };
706
+ var listener;
707
+ $H(Ajax.InPlaceEditor.Listeners).each(function(pair) {
708
+ listener = this[pair.value].bind(this);
709
+ this._listeners[pair.key] = listener;
710
+ if (!this.options.externalControlOnly)
711
+ this.element.observe(pair.key, listener);
712
+ if (this.options.externalControl)
713
+ this.options.externalControl.observe(pair.key, listener);
714
+ }.bind(this));
715
+ },
716
+ removeForm: function() {
717
+ if (!this._form) return;
718
+ this._form.remove();
719
+ this._form = null;
720
+ this._controls = { };
721
+ },
722
+ showSaving: function() {
723
+ this._oldInnerHTML = this.element.innerHTML;
724
+ this.element.innerHTML = this.options.savingText;
725
+ this.element.addClassName(this.options.savingClassName);
726
+ this.element.style.backgroundColor = this._originalBackground;
727
+ this.element.show();
728
+ },
729
+ triggerCallback: function(cbName, arg) {
730
+ if ('function' == typeof this.options[cbName]) {
731
+ this.options[cbName](this, arg);
732
+ }
733
+ },
734
+ unregisterListeners: function() {
735
+ $H(this._listeners).each(function(pair) {
736
+ if (!this.options.externalControlOnly)
737
+ this.element.stopObserving(pair.key, pair.value);
738
+ if (this.options.externalControl)
739
+ this.options.externalControl.stopObserving(pair.key, pair.value);
740
+ }.bind(this));
741
+ },
742
+ wrapUp: function(transport) {
743
+ this.leaveEditMode();
744
+ // Can't use triggerCallback due to backward compatibility: requires
745
+ // binding + direct element
746
+ this._boundComplete(transport, this.element);
747
+ }
748
+ });
749
+
750
+ Object.extend(Ajax.InPlaceEditor.prototype, {
751
+ dispose: Ajax.InPlaceEditor.prototype.destroy
752
+ });
753
+
754
+ Ajax.InPlaceCollectionEditor = Class.create(Ajax.InPlaceEditor, {
755
+ initialize: function($super, element, url, options) {
756
+ this._extraDefaultOptions = Ajax.InPlaceCollectionEditor.DefaultOptions;
757
+ $super(element, url, options);
758
+ },
759
+
760
+ createEditField: function() {
761
+ var list = document.createElement('select');
762
+ list.name = this.options.paramName;
763
+ list.size = 1;
764
+ this._controls.editor = list;
765
+ this._collection = this.options.collection || [];
766
+ if (this.options.loadCollectionURL)
767
+ this.loadCollection();
768
+ else
769
+ this.checkForExternalText();
770
+ this._form.appendChild(this._controls.editor);
771
+ },
772
+
773
+ loadCollection: function() {
774
+ this._form.addClassName(this.options.loadingClassName);
775
+ this.showLoadingText(this.options.loadingCollectionText);
776
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
777
+ Object.extend(options, {
778
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
779
+ onComplete: Prototype.emptyFunction,
780
+ onSuccess: function(transport) {
781
+ var js = transport.responseText.strip();
782
+ if (!/^\[.*\]$/.test(js)) // TODO: improve sanity check
783
+ throw('Server returned an invalid collection representation.');
784
+ this._collection = eval(js);
785
+ this.checkForExternalText();
786
+ }.bind(this),
787
+ onFailure: this.onFailure
788
+ });
789
+ new Ajax.Request(this.options.loadCollectionURL, options);
790
+ },
791
+
792
+ showLoadingText: function(text) {
793
+ this._controls.editor.disabled = true;
794
+ var tempOption = this._controls.editor.firstChild;
795
+ if (!tempOption) {
796
+ tempOption = document.createElement('option');
797
+ tempOption.value = '';
798
+ this._controls.editor.appendChild(tempOption);
799
+ tempOption.selected = true;
800
+ }
801
+ tempOption.update((text || '').stripScripts().stripTags());
802
+ },
803
+
804
+ checkForExternalText: function() {
805
+ this._text = this.getText();
806
+ if (this.options.loadTextURL)
807
+ this.loadExternalText();
808
+ else
809
+ this.buildOptionList();
810
+ },
811
+
812
+ loadExternalText: function() {
813
+ this.showLoadingText(this.options.loadingText);
814
+ var options = Object.extend({ method: 'get' }, this.options.ajaxOptions);
815
+ Object.extend(options, {
816
+ parameters: 'editorId=' + encodeURIComponent(this.element.id),
817
+ onComplete: Prototype.emptyFunction,
818
+ onSuccess: function(transport) {
819
+ this._text = transport.responseText.strip();
820
+ this.buildOptionList();
821
+ }.bind(this),
822
+ onFailure: this.onFailure
823
+ });
824
+ new Ajax.Request(this.options.loadTextURL, options);
825
+ },
826
+
827
+ buildOptionList: function() {
828
+ this._form.removeClassName(this.options.loadingClassName);
829
+ this._collection = this._collection.map(function(entry) {
830
+ return 2 === entry.length ? entry : [entry, entry].flatten();
831
+ });
832
+ var marker = ('value' in this.options) ? this.options.value : this._text;
833
+ var textFound = this._collection.any(function(entry) {
834
+ return entry[0] == marker;
835
+ }.bind(this));
836
+ this._controls.editor.update('');
837
+ var option;
838
+ this._collection.each(function(entry, index) {
839
+ option = document.createElement('option');
840
+ option.value = entry[0];
841
+ option.selected = textFound ? entry[0] == marker : 0 == index;
842
+ option.appendChild(document.createTextNode(entry[1]));
843
+ this._controls.editor.appendChild(option);
844
+ }.bind(this));
845
+ this._controls.editor.disabled = false;
846
+ Field.scrollFreeActivate(this._controls.editor);
847
+ }
848
+ });
849
+
850
+ //**** DEPRECATION LAYER FOR InPlace[Collection]Editor! ****
851
+ //**** This only exists for a while, in order to let ****
852
+ //**** users adapt to the new API. Read up on the new ****
853
+ //**** API and convert your code to it ASAP! ****
854
+
855
+ Ajax.InPlaceEditor.prototype.initialize.dealWithDeprecatedOptions = function(options) {
856
+ if (!options) return;
857
+ function fallback(name, expr) {
858
+ if (name in options || expr === undefined) return;
859
+ options[name] = expr;
860
+ };
861
+ fallback('cancelControl', (options.cancelLink ? 'link' : (options.cancelButton ? 'button' :
862
+ options.cancelLink == options.cancelButton == false ? false : undefined)));
863
+ fallback('okControl', (options.okLink ? 'link' : (options.okButton ? 'button' :
864
+ options.okLink == options.okButton == false ? false : undefined)));
865
+ fallback('highlightColor', options.highlightcolor);
866
+ fallback('highlightEndColor', options.highlightendcolor);
867
+ };
868
+
869
+ Object.extend(Ajax.InPlaceEditor, {
870
+ DefaultOptions: {
871
+ ajaxOptions: { },
872
+ autoRows: 3, // Use when multi-line w/ rows == 1
873
+ cancelControl: 'link', // 'link'|'button'|false
874
+ cancelText: 'cancel',
875
+ clickToEditText: 'Click to edit',
876
+ externalControl: null, // id|elt
877
+ externalControlOnly: false,
878
+ fieldPostCreation: 'activate', // 'activate'|'focus'|false
879
+ formClassName: 'inplaceeditor-form',
880
+ formId: null, // id|elt
881
+ highlightColor: '#ffff99',
882
+ highlightEndColor: '#ffffff',
883
+ hoverClassName: '',
884
+ htmlResponse: true,
885
+ loadingClassName: 'inplaceeditor-loading',
886
+ loadingText: 'Loading...',
887
+ okControl: 'button', // 'link'|'button'|false
888
+ okText: 'ok',
889
+ paramName: 'value',
890
+ rows: 1, // If 1 and multi-line, uses autoRows
891
+ savingClassName: 'inplaceeditor-saving',
892
+ savingText: 'Saving...',
893
+ size: 0,
894
+ stripLoadedTextTags: false,
895
+ submitOnBlur: false,
896
+ textAfterControls: '',
897
+ textBeforeControls: '',
898
+ textBetweenControls: ''
899
+ },
900
+ DefaultCallbacks: {
901
+ callback: function(form) {
902
+ return Form.serialize(form);
903
+ },
904
+ onComplete: function(transport, element) {
905
+ // For backward compatibility, this one is bound to the IPE, and passes
906
+ // the element directly. It was too often customized, so we don't break it.
907
+ new Effect.Highlight(element, {
908
+ startcolor: this.options.highlightColor, keepBackgroundImage: true });
909
+ },
910
+ onEnterEditMode: null,
911
+ onEnterHover: function(ipe) {
912
+ ipe.element.style.backgroundColor = ipe.options.highlightColor;
913
+ if (ipe._effect)
914
+ ipe._effect.cancel();
915
+ },
916
+ onFailure: function(transport, ipe) {
917
+ alert('Error communication with the server: ' + transport.responseText.stripTags());
918
+ },
919
+ onFormCustomization: null, // Takes the IPE and its generated form, after editor, before controls.
920
+ onLeaveEditMode: null,
921
+ onLeaveHover: function(ipe) {
922
+ ipe._effect = new Effect.Highlight(ipe.element, {
923
+ startcolor: ipe.options.highlightColor, endcolor: ipe.options.highlightEndColor,
924
+ restorecolor: ipe._originalBackground, keepBackgroundImage: true
925
+ });
926
+ }
927
+ },
928
+ Listeners: {
929
+ click: 'enterEditMode',
930
+ keydown: 'checkForEscapeOrReturn',
931
+ mouseover: 'enterHover',
932
+ mouseout: 'leaveHover'
933
+ }
934
+ });
935
+
936
+ Ajax.InPlaceCollectionEditor.DefaultOptions = {
937
+ loadingCollectionText: 'Loading options...'
938
+ };
939
+
940
+ // Delayed observer, like Form.Element.Observer,
941
+ // but waits for delay after last key input
942
+ // Ideal for live-search fields
943
+
944
+ Form.Element.DelayedObserver = Class.create({
945
+ initialize: function(element, delay, callback) {
946
+ this.delay = delay || 0.5;
947
+ this.element = $(element);
948
+ this.callback = callback;
949
+ this.timer = null;
950
+ this.lastValue = $F(this.element);
951
+ Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this));
952
+ },
953
+ delayedListener: function(event) {
954
+ if(this.lastValue == $F(this.element)) return;
955
+ if(this.timer) clearTimeout(this.timer);
956
+ this.timer = setTimeout(this.onTimerEvent.bind(this), this.delay * 1000);
957
+ this.lastValue = $F(this.element);
958
+ },
959
+ onTimerEvent: function() {
960
+ this.timer = null;
961
+ this.callback(this.element, $F(this.element));
962
+ }
963
+ });