liquid_cms 0.2.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/CHANGELOG.rdoc +1 -55
- data/Gemfile +9 -0
- data/Gemfile.lock +120 -0
- data/README.rdoc +12 -34
- data/Rakefile +3 -13
- data/TODO.rdoc +2 -1
- data/app/controllers/cms/assets_controller.rb +8 -51
- data/app/controllers/cms/components_controller.rb +6 -14
- data/app/controllers/cms/main_controller.rb +7 -9
- data/app/controllers/cms/pages_controller.rb +12 -30
- data/app/helpers/cms/common_helper.rb +32 -40
- data/app/helpers/cms/components_helper.rb +20 -26
- data/app/helpers/cms/pages_helper.rb +10 -4
- data/app/liquid/cms_paperclip_extension.rb +3 -75
- data/app/liquid/drops/cms_params_drop.rb +1 -1
- data/app/liquid/filters/cms_filters.rb +26 -1
- data/app/models/cms/asset.rb +4 -132
- data/app/models/cms/component.rb +32 -35
- data/app/models/cms/page.rb +20 -20
- data/app/views/cms/assets/_asset.html.erb +4 -3
- data/app/views/cms/assets/_form.html.erb +5 -67
- data/app/views/cms/assets/_list.html.erb +6 -24
- data/app/views/cms/assets/destroy.js.rjs +2 -0
- data/app/views/cms/components/_list.html.erb +4 -10
- data/app/views/cms/components/edit.html.erb +15 -12
- data/app/views/cms/documentation/_cms_drops.html.erb +2 -18
- data/app/views/cms/documentation/_cms_filters.html.erb +33 -0
- data/app/views/cms/documentation/_cms_tags.html.erb +2 -13
- data/app/views/cms/documentation/_filters.html.erb +2 -0
- data/app/views/cms/documentation/_notes.html.erb +4 -0
- data/app/views/cms/documentation/_preamble.html.erb +2 -0
- data/app/views/cms/documentation/_special_vars.html.erb +14 -3
- data/app/views/cms/documentation/index.html.erb +1 -1
- data/app/views/cms/pages/_form.html.erb +12 -10
- data/app/views/cms/pages/_list.html.erb +6 -6
- data/app/views/cms/pages/_page.html.erb +3 -2
- data/app/views/cms/shared/_index.html.erb +1 -3
- data/app/views/cms/shared/_sidebar.html.erb +8 -33
- data/app/views/layouts/cms.html.erb +11 -16
- data/config/initializers/cms/cms_inflections.rb +4 -0
- data/config/initializers/cms/liquid_cms.rb +4 -0
- data/config/initializers/cms/remote_indicator.rb +6 -0
- data/{generators/liquid_cms/templates/config → config}/initializers/cms/simple_form.rb +2 -0
- data/{generators/liquid_cms/templates/config → config}/initializers/cms/simple_form_updates.rb +2 -2
- data/config/initializers/cms/vestal_versions.rb +14 -0
- data/{generators/liquid_cms/templates/config → config}/locales/cms/en.yml +4 -27
- data/config/routes.rb +16 -10
- data/lib/generators/liquid_cms/install_generator.rb +40 -0
- data/{generators → lib/generators}/liquid_cms/templates/migration.rb +2 -1
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/LICENSE +23 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/bigtest.html +1296 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/LICENSE +32 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/css/luacolors.css +63 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/index.html +68 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/lua/js/parselua.js +253 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/LICENSE +37 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/css/phpcolors.css +114 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/index.html +292 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephp.js +371 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/parsephphtmlmixed.js +90 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/php/js/tokenizephp.js +1006 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/LICENSE +22 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/css/plsqlcolors.css +57 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/index.html +67 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/plsql/js/parseplsql.js +233 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/LICENSE +32 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/css/pythoncolors.css +58 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/index.html +141 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/python/js/parsepython.js +542 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/LICENSE +22 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/css/sqlcolors.css +57 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/index.html +56 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/contrib/sql/js/parsesql.js +211 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/csscolors.css +51 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/docs.css +50 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/jscolors.css +59 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/people.jpg +0 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/sparqlcolors.css +43 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/css/xmlcolors.css +55 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/csstest.html +60 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/highlight.html +82 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/htmltest.html +52 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/index.html +192 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/codemirror.js +403 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/editor.js +1427 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/highlight.js +68 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/mirrorframe.js +81 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsecss.js +155 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsedummy.js +32 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsehtmlmixed.js +74 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsejavascript.js +350 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsesparql.js +162 -0
- data/{test/rails_app/public/cms/javascripts/parseliquid.js → lib/generators/liquid_cms/templates/public/cms/codemirror/js/parsexml.js} +20 -148
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/select.js +619 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/stringstream.js +140 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/tokenize.js +57 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/tokenizejavascript.js +174 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/undo.js +410 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/js/util.js +130 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/jstest.html +56 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/manual.html +663 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/mixedtest.html +52 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/sparqltest.html +41 -0
- data/lib/generators/liquid_cms/templates/public/cms/codemirror/story.html +654 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/accept.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/anchor.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_cascade.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_double.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_form.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_form_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_form_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_form_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_form_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_get.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_home.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_osx.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_osx_terminal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_put.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_side_boxes.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_side_contract.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_side_expand.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_side_list.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_side_tree.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_split.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_tile_horizontal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_tile_vertical.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_columns.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_detail.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_gallery.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_icons.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_list.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_view_tile.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_xp.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/application_xp_terminal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_branch.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_divide.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_down.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_in.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_inout.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_join.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_left.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_merge.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_out.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_redo.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_refresh.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_refresh_small.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_right.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_rotate_anticlockwise.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_rotate_clockwise.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_switch.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_turn_left.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_turn_right.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_undo.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/arrow_up.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/asterisk_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/asterisk_yellow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/attach.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_bronze_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_bronze_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_bronze_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_gold_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_gold_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_gold_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_silver_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_silver_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/award_star_silver_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_put.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/basket_remove.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bell_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bin.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bin_closed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bin_empty.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bomb.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_addresses.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_next.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_open.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/book_previous.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/box.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/brick_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bricks.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/briefcase.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_aol.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_camino.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_firefox.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_galeon.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_icab.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_internetexplorer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_konqueror.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_mozilla.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_msnexplorer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_netscape.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_omniweb.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_opera.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_safari.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_shiira.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/browser_sunrise.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bug_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/building_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_arrow_bottom.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_arrow_down.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_arrow_top.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_arrow_up.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_black.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_disk.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_feed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_picture.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_pink.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_purple.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_star.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_toggle_minus.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_toggle_plus.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_white.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_wrench.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/bullet_yellow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cake.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calculator_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_view_day.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_view_month.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/calendar_view_week.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/camera_small.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cancel.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/car.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/car_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/car_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_put.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cart_remove.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_burn.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_eject.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cd_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_bar_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_curve_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_line_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_organisation.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_organisation_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_organisation_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/chart_pie_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_pause.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_play.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/clock_stop.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cog_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/coins.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/coins_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/coins_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/color_swatch.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/color_wheel.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comment.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comment_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comment_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comment_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comments.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comments_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/comments_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/compress.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/computer_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/connect.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/contrast.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/contrast_decrease.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/contrast_high.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/contrast_increase.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/contrast_low.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_eject.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_eject_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_end.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_end_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_equalizer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_equalizer_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_fastforward.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_fastforward_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_pause.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_pause_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_play.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_play_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_repeat.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_repeat_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_rewind.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_rewind_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_start.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_start_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_stop.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/control_stop_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/controller.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/controller_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/controller_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/controller_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/creditcards.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cross.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/css.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/css_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/css_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/css_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/css_valid.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cup_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cursor.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cut.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/cut_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_connect.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_refresh.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/database_table.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_next.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/date_previous.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/disconnect.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/disk.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/disk_multiple.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/door.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/door_in.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/door_open.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/door_out.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drink.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drink_empty.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_burn.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_cd.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_cd_empty.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_disk.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_network.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_rename.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_user.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/drive_web.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/dvd_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_attach.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_open.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/email_open_image.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_evilgrin.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_grin.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_happy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_smile.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_surprised.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_tongue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_unhappy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_waii.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/emoticon_wink.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/error_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/error_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/error_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/exclamation.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/eye.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_disk.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/feed_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/female.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/film_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/find.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_pink.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_purple.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/flag_yellow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_bell.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_brick.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_bug.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_camera.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_database.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_explore.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_feed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_find.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_heart.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_image.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_lightbulb.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_page.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_page_white.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_palette.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_picture.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_star.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_table.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_user.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/folder_wrench.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/font.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/font_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/font_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/font_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/group_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/heart.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/heart_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/heart_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/help.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/hourglass.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/hourglass_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/hourglass_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/hourglass_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/hourglass_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/house.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/house_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/house_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/html_valid.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/image.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/image_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/image_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/image_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/image_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/images.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/information.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ipod.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ipod_cast.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ipod_cast_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ipod_cast_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ipod_sound.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/joystick.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/joystick_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/joystick_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/joystick_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/key_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/key_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/key_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/keyboard.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/keyboard_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/keyboard_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/keyboard_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layers.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_content.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_header.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/layout_sidebar.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightbulb.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightbulb_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightbulb_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightbulb_off.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightning_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightning_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lightning_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_break.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/link_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_break.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lock_open.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_flatbed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/lorry_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/magifier_zoom_out.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/magnifier.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/magnifier_zoom_in.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/male.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/map_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_bronze_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_bronze_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_bronze_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_bronze_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_bronze_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_gold_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_gold_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_gold_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_gold_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_gold_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_silver_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_silver_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_silver_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_silver_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/medal_silver_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_dollar.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_euro.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_pound.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/money_yen.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/monitor_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/mouse.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/mouse_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/mouse_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/mouse_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/music.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/new.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/newspaper.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/newspaper_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/newspaper_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/newspaper_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/newspaper_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/note_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/overlays.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/package_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_attach.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_code.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_copy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_excel.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_find.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_paintbrush.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_paste.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_refresh.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_acrobat.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_actionscript.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_c.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_camera.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_cd.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_code.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_code_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_coldfusion.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_compressed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_copy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_cplusplus.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_csharp.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_cup.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_database.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_dvd.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_excel.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_find.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_flash.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_freehand.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_get.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_h.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_horizontal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_medal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_office.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_paint.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_paintbrush.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_paste.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_php.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_picture.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_powerpoint.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_put.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_ruby.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_stack.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_star.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_swoosh.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_text.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_text_width.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_tux.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_vector.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_visualstudio.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_width.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_word.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_world.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_wrench.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_white_zip.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_word.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/page_world.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/paintbrush.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/paintcan.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/palette.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/paste_plain.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/paste_word.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pencil.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pencil_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pencil_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pencil_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/phone.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/phone_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/phone_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/phone_sound.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/photo.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/photo_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/photo_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/photo_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/photos.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_empty.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/picture_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pictures.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pilcrow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pill.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pill_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pill_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/pill_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_disabled.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/plugin_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/printer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/printer_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/printer_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/printer_empty.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/printer_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rainbow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/readme.html +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/readme.txt +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_disk.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_magnify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_picture.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_user.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/report_word.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/resultset_first.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/resultset_last.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/resultset_next.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/resultset_previous.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rosette.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rss.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rss_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rss_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rss_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/rss_valid.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_get.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/ruby_put.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_code.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_code_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_palette.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/script_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_chart.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_compressed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_connect.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_database.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/server_uncompressed.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shading.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_bottom.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_center.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_left.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_middle.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_right.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_align_top.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_flip_horizontal.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_flip_vertical.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_group.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_handles.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_move_back.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_move_backwards.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_move_forwards.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_move_front.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_rotate_anticlockwise.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_rotate_clockwise.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_square_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shape_ungroup.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shield.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shield_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shield_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/shield_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sitemap.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sitemap_color.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound_low.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound_mute.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sound_none.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/spellcheck.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_8ball.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_basketball.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_football.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_golf.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_raquet.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_shuttlecock.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_soccer.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sport_tennis.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/star.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/status_away.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/status_busy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/status_offline.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/status_online.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/stop.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/style.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/style_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/style_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/style_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/style_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/sum.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tab.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tab_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tab_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tab_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tab_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_gear.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_multiple.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_refresh.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_relationship.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_row_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_row_insert.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_save.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/table_sort.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_blue_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_blue_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_blue_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_pink.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_purple.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tag_yellow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/telephone_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/television.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/television_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/television_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_align_center.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_align_justify.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_align_left.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_align_right.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_allcaps.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_bold.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_columns.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_dropcaps.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_1.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_2.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_3.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_4.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_5.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_heading_6.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_horizontalrule.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_indent.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_indent_remove.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_italic.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_kerning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_letter_omega.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_letterspacing.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_linespacing.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_list_bullets.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_list_numbers.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_lowercase.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_padding_bottom.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_padding_left.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_padding_right.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_padding_top.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_padding_top_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_replace.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_signature.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_smallcaps.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_strikethrough.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_subscript.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_superscript.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_underline.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/text_uppercase.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/textfield.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/textfield_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/textfield_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/textfield_key.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/textfield_rename.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/thumb_down.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/thumb_up.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tick.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/time.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/time_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/time_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/time_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/timeline_marker.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_blue.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/transmit_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/tux.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_comment.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_female.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_gray.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_green.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_red.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/user_suit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vcard.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vcard_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vcard_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vcard_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vector.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vector_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/vector_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/wand.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_clouds.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_cloudy.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_lightning.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_rain.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_snow.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/weather_sun.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/webcam.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/webcam_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/webcam_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/webcam_error.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world_edit.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/world_link.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/wrench.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/wrench_orange.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/xhtml.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/xhtml_add.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/xhtml_delete.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/xhtml_go.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/xhtml_valid.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/zoom.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/zoom_in.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/icons/zoom_out.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/indicator.gif +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/tree/lastnode.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/tree/node.png +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/images/tree/vline.png +0 -0
- data/{test/rails_app → lib/generators/liquid_cms/templates}/public/cms/javascripts/cms.js +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/javascripts/cookiejar.js +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/javascripts/humanmsg.js +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/javascripts/parseliquid.js +0 -0
- data/lib/generators/liquid_cms/templates/public/cms/javascripts/remote_helpers.js +44 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/stylesheets/clearfix.css +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/stylesheets/documentation.css +7 -8
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/stylesheets/humanmsg.css +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/stylesheets/ie.css +0 -0
- data/{generators → lib/generators}/liquid_cms/templates/public/cms/stylesheets/liquidcolors.css +0 -0
- data/{test/rails_app → lib/generators/liquid_cms/templates}/public/cms/stylesheets/simple_form.css +1 -1
- data/{test/rails_app → lib/generators/liquid_cms/templates}/public/cms/stylesheets/styles.css +13 -38
- data/{generators → lib/generators}/liquid_cms/templates/setup_controller.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/CHANGELOG +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/History.txt +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/MIT-LICENSE +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/Manifest.txt +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/README.md +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/example/server/example_servlet.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/example/server/liquid_servlet.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/example/server/server.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/example/server/templates/index.liquid +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/example/server/templates/products.liquid +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/init.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/extras/liquid_view.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/block.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/condition.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/context.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/document.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/drop.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/errors.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/extensions.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/file_system.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/htmltags.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/module_ex.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/standardfilters.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/strainer.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tag.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/assign.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/capture.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/case.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/comment.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/cycle.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/for.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/if.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/ifchanged.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/include.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/literal.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/tags/unless.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/template.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid/variable.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/lib/liquid.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/liquid.gemspec +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/comment_form.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/database.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/json_filter.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/liquid.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/money_filter.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/paginate.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/shop_filter.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/tag_filter.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/vision.database.yml +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify/weight_filter.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/performance/shopify.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/liquid/test/test_helper.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/CHANGELOG +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/MIT-LICENSE +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/README +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000002.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000003.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000004.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView/Helpers.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/ActionView.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/classes/RemoteIndicator.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/created.rid +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/files/init_rb.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/files/lib/remote_helpers_rb.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/fr_class_index.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/fr_file_index.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/fr_method_index.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/index.html +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/doc/rdoc-style.css +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/images/indicator.gif +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/init.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/install.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/remote_helpers/lib/remote_helpers.rb +6 -1
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/README.textile +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/init.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/lib/will_paginate/liquidized/view_helpers.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/lib/will_paginate/liquidized.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/spec/liquidized_spec.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/spec/spec_helper.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/spec/view_helpers_spec.rb +0 -0
- data/{generators/liquid_cms/templates/vendor/plugins/cms_plugins → lib/generators/liquid_cms/templates/vendor/plugins}/will_paginate-liquidized/spec/will_paginate_liquidized_spec.rb +0 -0
- data/lib/liquid_cms/configuration.rb +3 -27
- data/lib/liquid_cms/context.rb +1 -5
- data/lib/liquid_cms/version.rb +1 -1
- data/lib/liquid_cms.rb +37 -0
- data/liquid_cms.gemspec +8 -10
- data/test/factories/asset.rb +0 -7
- data/test/factories/company.rb +1 -1
- data/test/functional/assets_controller_test.rb +62 -163
- data/test/functional/main_controller_test.rb +0 -30
- data/test/functional/pages_controller_test.rb +6 -64
- data/test/integration/pages_test.rb +30 -137
- data/test/rails_app/Gemfile +34 -0
- data/test/rails_app/Gemfile.lock +115 -0
- data/test/rails_app/Rakefile +2 -5
- data/test/rails_app/app/controllers/application_controller.rb +1 -7
- data/test/rails_app/app/helpers/application_helper.rb +0 -1
- data/test/rails_app/app/views/layouts/application.html.erb +14 -0
- data/test/rails_app/config/application.rb +42 -0
- data/test/rails_app/config/boot.rb +13 -114
- data/test/rails_app/config/environment.rb +4 -42
- data/test/rails_app/config/environments/development.rb +22 -13
- data/test/rails_app/config/environments/production.rb +41 -20
- data/test/rails_app/config/environments/test.rb +35 -28
- data/test/rails_app/config/initializers/backtrace_silencers.rb +2 -2
- data/test/rails_app/config/initializers/cms/simple_form.rb +2 -0
- data/test/rails_app/config/initializers/cms/vestal_versions.rb +11 -0
- data/test/rails_app/config/initializers/inflections.rb +1 -1
- data/test/rails_app/config/initializers/{cookie_verification_secret.rb → secret_token.rb} +2 -2
- data/test/rails_app/config/initializers/session_store.rb +2 -9
- data/test/rails_app/config/locales/cms/en.yml +4 -27
- data/test/rails_app/config/locales/en.yml +1 -1
- data/test/rails_app/config/routes.rb +43 -29
- data/test/rails_app/config.ru +4 -0
- data/test/rails_app/db/migrate/20101018211856_create_liquid_cms_setup.rb +3 -1
- data/test/rails_app/db/seeds.rb +2 -2
- data/test/rails_app/public/404.html +15 -19
- data/test/rails_app/public/422.html +15 -19
- data/test/rails_app/public/500.html +14 -18
- data/test/rails_app/public/javascripts/controls.js +5 -3
- data/test/rails_app/public/javascripts/dragdrop.js +7 -6
- data/test/rails_app/public/javascripts/effects.js +8 -13
- data/test/rails_app/public/javascripts/prototype.js +3381 -1700
- data/test/rails_app/public/javascripts/rails.js +175 -0
- data/test/rails_app/script/rails +6 -0
- data/test/test_helper.rb +8 -23
- data/test/unit/asset_test.rb +4 -195
- data/test/unit/page_test.rb +15 -15
- metadata +1265 -1341
- data/app/liquid/drops/cms_asset_drop.rb +0 -15
- data/app/liquid/tags/asset_search_tag.rb +0 -26
- data/app/liquid/tags/cms/data_tag.rb +0 -59
- data/app/liquid/tags/cms/tag_common.rb +0 -29
- data/app/models/cms/tag.rb +0 -21
- data/app/models/cms/taggable.rb +0 -78
- data/app/models/cms/tagging.rb +0 -6
- data/app/views/cms/assets/_meta_field.html.erb +0 -15
- data/app/views/cms/assets/update.js.rjs +0 -1
- data/app/views/cms/components/update.js.rjs +0 -1
- data/app/views/cms/pages/search.html.erb +0 -24
- data/app/views/cms/pages/update.js.rjs +0 -1
- data/generators/liquid_cms/lib/insert_commands.rb +0 -49
- data/generators/liquid_cms/liquid_cms_generator.rb +0 -79
- data/generators/liquid_cms/templates/config/initializers/cms/liquid_cms.rb +0 -12
- data/generators/liquid_cms/templates/config/initializers/cms/remote_indicator.rb +0 -1
- data/generators/liquid_cms/templates/migration_rev1.rb +0 -38
- data/generators/liquid_cms/templates/migration_rev2.rb +0 -13
- data/generators/liquid_cms/templates/public/cms/codemirror/LICENSE +0 -19
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.css +0 -68
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/codemirror.js +0 -2197
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/overlay.js +0 -51
- data/generators/liquid_cms/templates/public/cms/codemirror/lib/runmode.js +0 -27
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clike/clike.js +0 -247
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clike/index.html +0 -102
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/clojure.js +0 -207
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/clojure/index.html +0 -85
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/LICENSE +0 -22
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/coffeescript.js +0 -325
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/coffeescript/index.html +0 -722
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/css/css.js +0 -124
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/css/index.html +0 -56
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.css +0 -3
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/diff.js +0 -13
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/diff/index.html +0 -99
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/haskell.js +0 -242
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/haskell/index.html +0 -60
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/htmlmixed.js +0 -79
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/htmlmixed/index.html +0 -52
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/index.html +0 -78
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/javascript/javascript.js +0 -352
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/index.html +0 -38
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/jinja2/jinja2.js +0 -42
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/lua/index.html +0 -72
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/lua/lua.js +0 -140
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/index.html +0 -340
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.css +0 -10
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/markdown/markdown.js +0 -230
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/index.html +0 -33
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ntriples/ntriples.js +0 -172
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/LICENSE +0 -7
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/index.html +0 -49
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/pascal/pascal.js +0 -138
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/php/index.html +0 -49
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/php/php.js +0 -116
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/index.html +0 -63
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/plsql/plsql.js +0 -217
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/LICENSE.txt +0 -21
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/index.html +0 -123
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/python/python.js +0 -320
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/LICENSE +0 -24
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/index.html +0 -74
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/r/r.js +0 -141
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/index.html +0 -526
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.css +0 -75
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/rst/rst.js +0 -333
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/LICENSE +0 -24
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/index.html +0 -172
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/ruby/ruby.js +0 -195
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/index.html +0 -65
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/scheme/scheme.js +0 -202
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/index.html +0 -56
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/smalltalk/smalltalk.js +0 -122
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/index.html +0 -41
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/sparql/sparql.js +0 -143
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/stex/index.html +0 -96
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/stex/stex.js +0 -167
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/index.html +0 -103
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/velocity/velocity.js +0 -146
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xml/index.html +0 -42
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xml/xml.js +0 -231
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/index.html +0 -60
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/xmlpure/xmlpure.js +0 -481
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/index.html +0 -68
- data/generators/liquid_cms/templates/public/cms/codemirror/mode/yaml/yaml.js +0 -95
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/cobalt.css +0 -17
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/default.css +0 -19
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/eclipse.css +0 -24
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/elegant.css +0 -9
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/neat.css +0 -8
- data/generators/liquid_cms/templates/public/cms/codemirror/theme/night.css +0 -20
- data/generators/liquid_cms/templates/public/cms/images/trentacinque.gif +0 -0
- data/generators/liquid_cms/templates/public/cms/javascripts/cms.js +0 -35
- data/generators/liquid_cms/templates/public/cms/javascripts/codemirror_custom.js +0 -96
- data/generators/liquid_cms/templates/public/cms/javascripts/livepipe.js +0 -181
- data/generators/liquid_cms/templates/public/cms/javascripts/tabs.js +0 -149
- data/generators/liquid_cms/templates/public/cms/stylesheets/codemirror_changes.css +0 -26
- data/generators/liquid_cms/templates/public/cms/stylesheets/ie9.css +0 -4
- data/generators/liquid_cms/templates/public/cms/stylesheets/liquid.css +0 -7
- data/generators/liquid_cms/templates/public/cms/stylesheets/sidebar.css +0 -150
- data/generators/liquid_cms/templates/public/cms/stylesheets/simple_form.css +0 -146
- data/generators/liquid_cms/templates/public/cms/stylesheets/styles.css +0 -152
- data/generators/liquid_cms/templates/public/cms/stylesheets/themes/dark.css +0 -37
- data/generators/liquid_cms/templates/vendor/plugins/cms_plugins/liquid/Rakefile +0 -43
- data/rails/init.rb +0 -45
- data/test/functional/components_controller_test.rb +0 -108
- data/test/integration/pages_test_no_context.rb +0 -57
- data/test/no_context_test_helper.rb +0 -3
- data/test/rails_app/config/initializers/new_rails_defaults.rb +0 -21
- data/test/rails_app/db/migrate/20110329201435_create_liquid_cms_upgrade_rev1.rb +0 -38
- data/test/rails_app/db/migrate/20110511161859_create_liquid_cms_upgrade_rev2.rb +0 -13
- data/test/rails_app/public/cms/images/indicator.gif +0 -0
- data/test/rails_app/public/cms/javascripts/cookiejar.js +0 -157
- data/test/rails_app/public/cms/javascripts/humanmsg.js +0 -89
- data/test/rails_app/public/cms/stylesheets/clearfix.css +0 -8
- data/test/rails_app/public/cms/stylesheets/documentation.css +0 -37
- data/test/rails_app/public/cms/stylesheets/humanmsg.css +0 -122
- data/test/rails_app/public/cms/stylesheets/ie.css +0 -2
- data/test/rails_app/public/cms/stylesheets/liquidcolors.css +0 -36
- data/test/rails_app/script/about +0 -4
- data/test/rails_app/script/console +0 -3
- data/test/rails_app/script/dbconsole +0 -3
- data/test/rails_app/script/destroy +0 -3
- data/test/rails_app/script/generate +0 -3
- data/test/rails_app/script/performance/benchmarker +0 -3
- data/test/rails_app/script/performance/profiler +0 -3
- data/test/rails_app/script/plugin +0 -3
- data/test/rails_app/script/runner +0 -3
- data/test/rails_app/script/server +0 -3
- data/test/test_helpers/asset_helpers.rb +0 -21
- data/test/test_helpers/cache_helper.rb +0 -14
- data/test/test_helpers/component_helpers.rb +0 -35
- data/test/test_helpers/file_helpers.rb +0 -11
- data/test/unit/component_test.rb +0 -71
- data/test/unit/helpers/cms/common_helper_test.rb +0 -4
@@ -0,0 +1,1427 @@
|
|
1
|
+
/* The Editor object manages the content of the editable frame. It
|
2
|
+
* catches events, colours nodes, and indents lines. This file also
|
3
|
+
* holds some functions for transforming arbitrary DOM structures into
|
4
|
+
* plain sequences of <span> and <br> elements
|
5
|
+
*/
|
6
|
+
|
7
|
+
var internetExplorer = document.selection && window.ActiveXObject && /MSIE/.test(navigator.userAgent);
|
8
|
+
var webkit = /AppleWebKit/.test(navigator.userAgent);
|
9
|
+
var safari = /Apple Computers, Inc/.test(navigator.vendor);
|
10
|
+
var gecko = /gecko\/(\d{8})/i.test(navigator.userAgent);
|
11
|
+
|
12
|
+
// Make sure a string does not contain two consecutive 'collapseable'
|
13
|
+
// whitespace characters.
|
14
|
+
function makeWhiteSpace(n) {
|
15
|
+
var buffer = [], nb = true;
|
16
|
+
for (; n > 0; n--) {
|
17
|
+
buffer.push((nb || n == 1) ? nbsp : " ");
|
18
|
+
nb = !nb;
|
19
|
+
}
|
20
|
+
return buffer.join("");
|
21
|
+
}
|
22
|
+
|
23
|
+
// Create a set of white-space characters that will not be collapsed
|
24
|
+
// by the browser, but will not break text-wrapping either.
|
25
|
+
function fixSpaces(string) {
|
26
|
+
if (string.charAt(0) == " ") string = nbsp + string.slice(1);
|
27
|
+
return string.replace(/\t/g, function(){return makeWhiteSpace(indentUnit);})
|
28
|
+
.replace(/[ \u00a0]{2,}/g, function(s) {return makeWhiteSpace(s.length);});
|
29
|
+
}
|
30
|
+
|
31
|
+
function cleanText(text) {
|
32
|
+
return text.replace(/\u00a0/g, " ").replace(/\u200b/g, "");
|
33
|
+
}
|
34
|
+
|
35
|
+
// Create a SPAN node with the expected properties for document part
|
36
|
+
// spans.
|
37
|
+
function makePartSpan(value, doc) {
|
38
|
+
var text = value;
|
39
|
+
if (value.nodeType == 3) text = value.nodeValue;
|
40
|
+
else value = doc.createTextNode(text);
|
41
|
+
|
42
|
+
var span = doc.createElement("SPAN");
|
43
|
+
span.isPart = true;
|
44
|
+
span.appendChild(value);
|
45
|
+
span.currentText = text;
|
46
|
+
return span;
|
47
|
+
}
|
48
|
+
|
49
|
+
// On webkit, when the last BR of the document does not have text
|
50
|
+
// behind it, the cursor can not be put on the line after it. This
|
51
|
+
// makes pressing enter at the end of the document occasionally do
|
52
|
+
// nothing (or at least seem to do nothing). To work around it, this
|
53
|
+
// function makes sure the document ends with a span containing a
|
54
|
+
// zero-width space character. The traverseDOM iterator filters such
|
55
|
+
// character out again, so that the parsers won't see them. This
|
56
|
+
// function is called from a few strategic places to make sure the
|
57
|
+
// zwsp is restored after the highlighting process eats it.
|
58
|
+
var webkitLastLineHack = webkit ?
|
59
|
+
function(container) {
|
60
|
+
var last = container.lastChild;
|
61
|
+
if (!last || !last.isPart || last.textContent != "\u200b")
|
62
|
+
container.appendChild(makePartSpan("\u200b", container.ownerDocument));
|
63
|
+
} : function() {};
|
64
|
+
|
65
|
+
var Editor = (function(){
|
66
|
+
// The HTML elements whose content should be suffixed by a newline
|
67
|
+
// when converting them to flat text.
|
68
|
+
var newlineElements = {"P": true, "DIV": true, "LI": true};
|
69
|
+
|
70
|
+
function asEditorLines(string) {
|
71
|
+
var tab = makeWhiteSpace(indentUnit);
|
72
|
+
return map(string.replace(/\t/g, tab).replace(/\u00a0/g, " ").replace(/\r\n?/g, "\n").split("\n"), fixSpaces);
|
73
|
+
}
|
74
|
+
|
75
|
+
// Helper function for traverseDOM. Flattens an arbitrary DOM node
|
76
|
+
// into an array of textnodes and <br> tags.
|
77
|
+
function simplifyDOM(root, atEnd) {
|
78
|
+
var doc = root.ownerDocument;
|
79
|
+
var result = [];
|
80
|
+
var leaving = true;
|
81
|
+
|
82
|
+
function simplifyNode(node, top) {
|
83
|
+
if (node.nodeType == 3) {
|
84
|
+
var text = node.nodeValue = fixSpaces(node.nodeValue.replace(/[\r\u200b]/g, "").replace(/\n/g, " "));
|
85
|
+
if (text.length) leaving = false;
|
86
|
+
result.push(node);
|
87
|
+
}
|
88
|
+
else if (isBR(node) && node.childNodes.length == 0) {
|
89
|
+
leaving = true;
|
90
|
+
result.push(node);
|
91
|
+
}
|
92
|
+
else {
|
93
|
+
forEach(node.childNodes, simplifyNode);
|
94
|
+
if (!leaving && newlineElements.hasOwnProperty(node.nodeName.toUpperCase())) {
|
95
|
+
leaving = true;
|
96
|
+
if (!atEnd || !top)
|
97
|
+
result.push(doc.createElement("BR"));
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
simplifyNode(root, true);
|
103
|
+
return result;
|
104
|
+
}
|
105
|
+
|
106
|
+
// Creates a MochiKit-style iterator that goes over a series of DOM
|
107
|
+
// nodes. The values it yields are strings, the textual content of
|
108
|
+
// the nodes. It makes sure that all nodes up to and including the
|
109
|
+
// one whose text is being yielded have been 'normalized' to be just
|
110
|
+
// <span> and <br> elements.
|
111
|
+
// See the story.html file for some short remarks about the use of
|
112
|
+
// continuation-passing style in this iterator.
|
113
|
+
function traverseDOM(start){
|
114
|
+
function _yield(value, c){cc = c; return value;}
|
115
|
+
function push(fun, arg, c){return function(){return fun(arg, c);};}
|
116
|
+
function stop(){cc = stop; throw StopIteration;};
|
117
|
+
var cc = push(scanNode, start, stop);
|
118
|
+
var owner = start.ownerDocument;
|
119
|
+
var nodeQueue = [];
|
120
|
+
|
121
|
+
// Create a function that can be used to insert nodes after the
|
122
|
+
// one given as argument.
|
123
|
+
function pointAt(node){
|
124
|
+
var parent = node.parentNode;
|
125
|
+
var next = node.nextSibling;
|
126
|
+
return function(newnode) {
|
127
|
+
parent.insertBefore(newnode, next);
|
128
|
+
};
|
129
|
+
}
|
130
|
+
var point = null;
|
131
|
+
|
132
|
+
// This an Opera-specific hack -- always insert an empty span
|
133
|
+
// between two BRs, because Opera's cursor code gets terribly
|
134
|
+
// confused when the cursor is between two BRs.
|
135
|
+
var afterBR = true;
|
136
|
+
|
137
|
+
// Insert a normalized node at the current point. If it is a text
|
138
|
+
// node, wrap it in a <span>, and give that span a currentText
|
139
|
+
// property -- this is used to cache the nodeValue, because
|
140
|
+
// directly accessing nodeValue is horribly slow on some browsers.
|
141
|
+
// The dirty property is used by the highlighter to determine
|
142
|
+
// which parts of the document have to be re-highlighted.
|
143
|
+
function insertPart(part){
|
144
|
+
var text = "\n";
|
145
|
+
if (part.nodeType == 3) {
|
146
|
+
select.snapshotChanged();
|
147
|
+
part = makePartSpan(part, owner);
|
148
|
+
text = part.currentText;
|
149
|
+
afterBR = false;
|
150
|
+
}
|
151
|
+
else {
|
152
|
+
if (afterBR && window.opera)
|
153
|
+
point(makePartSpan("", owner));
|
154
|
+
afterBR = true;
|
155
|
+
}
|
156
|
+
part.dirty = true;
|
157
|
+
nodeQueue.push(part);
|
158
|
+
point(part);
|
159
|
+
return text;
|
160
|
+
}
|
161
|
+
|
162
|
+
// Extract the text and newlines from a DOM node, insert them into
|
163
|
+
// the document, and yield the textual content. Used to replace
|
164
|
+
// non-normalized nodes.
|
165
|
+
function writeNode(node, c, end) {
|
166
|
+
var toYield = [];
|
167
|
+
forEach(simplifyDOM(node, end), function(part) {
|
168
|
+
toYield.push(insertPart(part));
|
169
|
+
});
|
170
|
+
return _yield(toYield.join(""), c);
|
171
|
+
}
|
172
|
+
|
173
|
+
// Check whether a node is a normalized <span> element.
|
174
|
+
function partNode(node){
|
175
|
+
if (node.isPart && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {
|
176
|
+
node.currentText = node.firstChild.nodeValue;
|
177
|
+
return !/[\n\t\r]/.test(node.currentText);
|
178
|
+
}
|
179
|
+
return false;
|
180
|
+
}
|
181
|
+
|
182
|
+
// Handle a node. Add its successor to the continuation if there
|
183
|
+
// is one, find out whether the node is normalized. If it is,
|
184
|
+
// yield its content, otherwise, normalize it (writeNode will take
|
185
|
+
// care of yielding).
|
186
|
+
function scanNode(node, c){
|
187
|
+
if (node.nextSibling)
|
188
|
+
c = push(scanNode, node.nextSibling, c);
|
189
|
+
|
190
|
+
if (partNode(node)){
|
191
|
+
nodeQueue.push(node);
|
192
|
+
afterBR = false;
|
193
|
+
return _yield(node.currentText, c);
|
194
|
+
}
|
195
|
+
else if (isBR(node)) {
|
196
|
+
if (afterBR && window.opera)
|
197
|
+
node.parentNode.insertBefore(makePartSpan("", owner), node);
|
198
|
+
nodeQueue.push(node);
|
199
|
+
afterBR = true;
|
200
|
+
return _yield("\n", c);
|
201
|
+
}
|
202
|
+
else {
|
203
|
+
var end = !node.nextSibling;
|
204
|
+
point = pointAt(node);
|
205
|
+
removeElement(node);
|
206
|
+
return writeNode(node, c, end);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
// MochiKit iterators are objects with a next function that
|
211
|
+
// returns the next value or throws StopIteration when there are
|
212
|
+
// no more values.
|
213
|
+
return {next: function(){return cc();}, nodes: nodeQueue};
|
214
|
+
}
|
215
|
+
|
216
|
+
// Determine the text size of a processed node.
|
217
|
+
function nodeSize(node) {
|
218
|
+
return isBR(node) ? 1 : node.currentText.length;
|
219
|
+
}
|
220
|
+
|
221
|
+
// Search backwards through the top-level nodes until the next BR or
|
222
|
+
// the start of the frame.
|
223
|
+
function startOfLine(node) {
|
224
|
+
while (node && !isBR(node)) node = node.previousSibling;
|
225
|
+
return node;
|
226
|
+
}
|
227
|
+
function endOfLine(node, container) {
|
228
|
+
if (!node) node = container.firstChild;
|
229
|
+
else if (isBR(node)) node = node.nextSibling;
|
230
|
+
|
231
|
+
while (node && !isBR(node)) node = node.nextSibling;
|
232
|
+
return node;
|
233
|
+
}
|
234
|
+
|
235
|
+
function time() {return new Date().getTime();}
|
236
|
+
|
237
|
+
// Client interface for searching the content of the editor. Create
|
238
|
+
// these by calling CodeMirror.getSearchCursor. To use, call
|
239
|
+
// findNext on the resulting object -- this returns a boolean
|
240
|
+
// indicating whether anything was found, and can be called again to
|
241
|
+
// skip to the next find. Use the select and replace methods to
|
242
|
+
// actually do something with the found locations.
|
243
|
+
function SearchCursor(editor, string, fromCursor, caseFold) {
|
244
|
+
this.editor = editor;
|
245
|
+
this.caseFold = caseFold;
|
246
|
+
if (caseFold) string = string.toLowerCase();
|
247
|
+
this.history = editor.history;
|
248
|
+
this.history.commit();
|
249
|
+
|
250
|
+
// Are we currently at an occurrence of the search string?
|
251
|
+
this.atOccurrence = false;
|
252
|
+
// The object stores a set of nodes coming after its current
|
253
|
+
// position, so that when the current point is taken out of the
|
254
|
+
// DOM tree, we can still try to continue.
|
255
|
+
this.fallbackSize = 15;
|
256
|
+
var cursor;
|
257
|
+
// Start from the cursor when specified and a cursor can be found.
|
258
|
+
if (fromCursor && (cursor = select.cursorPos(this.editor.container))) {
|
259
|
+
this.line = cursor.node;
|
260
|
+
this.offset = cursor.offset;
|
261
|
+
}
|
262
|
+
else {
|
263
|
+
this.line = null;
|
264
|
+
this.offset = 0;
|
265
|
+
}
|
266
|
+
this.valid = !!string;
|
267
|
+
|
268
|
+
// Create a matcher function based on the kind of string we have.
|
269
|
+
var target = string.split("\n"), self = this;
|
270
|
+
this.matches = (target.length == 1) ?
|
271
|
+
// For one-line strings, searching can be done simply by calling
|
272
|
+
// indexOf on the current line.
|
273
|
+
function() {
|
274
|
+
var line = cleanText(self.history.textAfter(self.line).slice(self.offset));
|
275
|
+
var match = (self.caseFold ? line.toLowerCase() : line).indexOf(string);
|
276
|
+
if (match > -1)
|
277
|
+
return {from: {node: self.line, offset: self.offset + match},
|
278
|
+
to: {node: self.line, offset: self.offset + match + string.length}};
|
279
|
+
} :
|
280
|
+
// Multi-line strings require internal iteration over lines, and
|
281
|
+
// some clunky checks to make sure the first match ends at the
|
282
|
+
// end of the line and the last match starts at the start.
|
283
|
+
function() {
|
284
|
+
var firstLine = cleanText(self.history.textAfter(self.line).slice(self.offset));
|
285
|
+
var match = (self.caseFold ? firstLine.toLowerCase() : firstLine).lastIndexOf(target[0]);
|
286
|
+
if (match == -1 || match != firstLine.length - target[0].length)
|
287
|
+
return false;
|
288
|
+
var startOffset = self.offset + match;
|
289
|
+
|
290
|
+
var line = self.history.nodeAfter(self.line);
|
291
|
+
for (var i = 1; i < target.length - 1; i++) {
|
292
|
+
var lineText = cleanText(self.history.textAfter(line));
|
293
|
+
if ((self.caseFold ? lineText.toLowerCase() : lineText) != target[i])
|
294
|
+
return false;
|
295
|
+
line = self.history.nodeAfter(line);
|
296
|
+
}
|
297
|
+
|
298
|
+
var lastLine = cleanText(self.history.textAfter(line));
|
299
|
+
if ((self.caseFold ? lastLine.toLowerCase() : lastLine).indexOf(target[target.length - 1]) != 0)
|
300
|
+
return false;
|
301
|
+
|
302
|
+
return {from: {node: self.line, offset: startOffset},
|
303
|
+
to: {node: line, offset: target[target.length - 1].length}};
|
304
|
+
};
|
305
|
+
}
|
306
|
+
|
307
|
+
SearchCursor.prototype = {
|
308
|
+
findNext: function() {
|
309
|
+
if (!this.valid) return false;
|
310
|
+
this.atOccurrence = false;
|
311
|
+
var self = this;
|
312
|
+
|
313
|
+
// Go back to the start of the document if the current line is
|
314
|
+
// no longer in the DOM tree.
|
315
|
+
if (this.line && !this.line.parentNode) {
|
316
|
+
this.line = null;
|
317
|
+
this.offset = 0;
|
318
|
+
}
|
319
|
+
|
320
|
+
// Set the cursor's position one character after the given
|
321
|
+
// position.
|
322
|
+
function saveAfter(pos) {
|
323
|
+
if (self.history.textAfter(pos.node).length > pos.offset) {
|
324
|
+
self.line = pos.node;
|
325
|
+
self.offset = pos.offset + 1;
|
326
|
+
}
|
327
|
+
else {
|
328
|
+
self.line = self.history.nodeAfter(pos.node);
|
329
|
+
self.offset = 0;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
|
333
|
+
while (true) {
|
334
|
+
var match = this.matches();
|
335
|
+
// Found the search string.
|
336
|
+
if (match) {
|
337
|
+
this.atOccurrence = match;
|
338
|
+
saveAfter(match.from);
|
339
|
+
return true;
|
340
|
+
}
|
341
|
+
this.line = this.history.nodeAfter(this.line);
|
342
|
+
this.offset = 0;
|
343
|
+
// End of document.
|
344
|
+
if (!this.line) {
|
345
|
+
this.valid = false;
|
346
|
+
return false;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
},
|
350
|
+
|
351
|
+
select: function() {
|
352
|
+
if (this.atOccurrence) {
|
353
|
+
select.setCursorPos(this.editor.container, this.atOccurrence.from, this.atOccurrence.to);
|
354
|
+
select.scrollToCursor(this.editor.container);
|
355
|
+
}
|
356
|
+
},
|
357
|
+
|
358
|
+
replace: function(string) {
|
359
|
+
if (this.atOccurrence) {
|
360
|
+
var end = this.editor.replaceRange(this.atOccurrence.from, this.atOccurrence.to, string);
|
361
|
+
this.line = end.node;
|
362
|
+
this.offset = end.offset;
|
363
|
+
this.atOccurrence = false;
|
364
|
+
}
|
365
|
+
}
|
366
|
+
};
|
367
|
+
|
368
|
+
// The Editor object is the main inside-the-iframe interface.
|
369
|
+
function Editor(options) {
|
370
|
+
this.options = options;
|
371
|
+
window.indentUnit = options.indentUnit;
|
372
|
+
this.parent = parent;
|
373
|
+
this.doc = document;
|
374
|
+
var container = this.container = this.doc.body;
|
375
|
+
this.win = window;
|
376
|
+
this.history = new History(container, options.undoDepth, options.undoDelay, this);
|
377
|
+
var self = this;
|
378
|
+
|
379
|
+
if (!Editor.Parser)
|
380
|
+
throw "No parser loaded.";
|
381
|
+
if (options.parserConfig && Editor.Parser.configure)
|
382
|
+
Editor.Parser.configure(options.parserConfig);
|
383
|
+
|
384
|
+
if (!options.readOnly)
|
385
|
+
select.setCursorPos(container, {node: null, offset: 0});
|
386
|
+
|
387
|
+
this.dirty = [];
|
388
|
+
this.importCode(options.content || "");
|
389
|
+
this.history.onChange = options.onChange;
|
390
|
+
|
391
|
+
if (!options.readOnly) {
|
392
|
+
if (options.continuousScanning !== false) {
|
393
|
+
this.scanner = this.documentScanner(options.passTime);
|
394
|
+
this.delayScanning();
|
395
|
+
}
|
396
|
+
|
397
|
+
function setEditable() {
|
398
|
+
// In IE, designMode frames can not run any scripts, so we use
|
399
|
+
// contentEditable instead.
|
400
|
+
if (document.body.contentEditable != undefined && internetExplorer)
|
401
|
+
document.body.contentEditable = "true";
|
402
|
+
else
|
403
|
+
document.designMode = "on";
|
404
|
+
|
405
|
+
document.documentElement.style.borderWidth = "0";
|
406
|
+
if (!options.textWrapping)
|
407
|
+
container.style.whiteSpace = "nowrap";
|
408
|
+
}
|
409
|
+
|
410
|
+
// If setting the frame editable fails, try again when the user
|
411
|
+
// focus it (happens when the frame is not visible on
|
412
|
+
// initialisation, in Firefox).
|
413
|
+
try {
|
414
|
+
setEditable();
|
415
|
+
}
|
416
|
+
catch(e) {
|
417
|
+
var focusEvent = addEventHandler(document, "focus", function() {
|
418
|
+
focusEvent();
|
419
|
+
setEditable();
|
420
|
+
}, true);
|
421
|
+
}
|
422
|
+
|
423
|
+
addEventHandler(document, "keydown", method(this, "keyDown"));
|
424
|
+
addEventHandler(document, "keypress", method(this, "keyPress"));
|
425
|
+
addEventHandler(document, "keyup", method(this, "keyUp"));
|
426
|
+
|
427
|
+
function cursorActivity() {self.cursorActivity(false);}
|
428
|
+
addEventHandler(document.body, "mouseup", cursorActivity);
|
429
|
+
addEventHandler(document.body, "cut", cursorActivity);
|
430
|
+
|
431
|
+
// workaround for a gecko bug [?] where going forward and then
|
432
|
+
// back again breaks designmode (no more cursor)
|
433
|
+
if (gecko)
|
434
|
+
addEventHandler(this.win, "pagehide", function(){self.unloaded = true;});
|
435
|
+
|
436
|
+
addEventHandler(document.body, "paste", function(event) {
|
437
|
+
cursorActivity();
|
438
|
+
var text = null;
|
439
|
+
try {
|
440
|
+
var clipboardData = event.clipboardData || window.clipboardData;
|
441
|
+
if (clipboardData) text = clipboardData.getData('Text');
|
442
|
+
}
|
443
|
+
catch(e) {}
|
444
|
+
if (text !== null) {
|
445
|
+
event.stop();
|
446
|
+
self.replaceSelection(text);
|
447
|
+
select.scrollToCursor(self.container);
|
448
|
+
}
|
449
|
+
});
|
450
|
+
|
451
|
+
if (this.options.autoMatchParens)
|
452
|
+
addEventHandler(document.body, "click", method(this, "scheduleParenHighlight"));
|
453
|
+
}
|
454
|
+
else if (!options.textWrapping) {
|
455
|
+
container.style.whiteSpace = "nowrap";
|
456
|
+
}
|
457
|
+
}
|
458
|
+
|
459
|
+
function isSafeKey(code) {
|
460
|
+
return (code >= 16 && code <= 18) || // shift, control, alt
|
461
|
+
(code >= 33 && code <= 40); // arrows, home, end
|
462
|
+
}
|
463
|
+
|
464
|
+
Editor.prototype = {
|
465
|
+
// Import a piece of code into the editor.
|
466
|
+
importCode: function(code) {
|
467
|
+
this.history.push(null, null, asEditorLines(code));
|
468
|
+
this.history.reset();
|
469
|
+
},
|
470
|
+
|
471
|
+
// Extract the code from the editor.
|
472
|
+
getCode: function() {
|
473
|
+
if (!this.container.firstChild)
|
474
|
+
return "";
|
475
|
+
|
476
|
+
var accum = [];
|
477
|
+
select.markSelection(this.win);
|
478
|
+
forEach(traverseDOM(this.container.firstChild), method(accum, "push"));
|
479
|
+
webkitLastLineHack(this.container);
|
480
|
+
select.selectMarked();
|
481
|
+
return cleanText(accum.join(""));
|
482
|
+
},
|
483
|
+
|
484
|
+
checkLine: function(node) {
|
485
|
+
if (node === false || !(node == null || node.parentNode == this.container))
|
486
|
+
throw parent.CodeMirror.InvalidLineHandle;
|
487
|
+
},
|
488
|
+
|
489
|
+
cursorPosition: function(start) {
|
490
|
+
if (start == null) start = true;
|
491
|
+
var pos = select.cursorPos(this.container, start);
|
492
|
+
if (pos) return {line: pos.node, character: pos.offset};
|
493
|
+
else return {line: null, character: 0};
|
494
|
+
},
|
495
|
+
|
496
|
+
firstLine: function() {
|
497
|
+
return null;
|
498
|
+
},
|
499
|
+
|
500
|
+
lastLine: function() {
|
501
|
+
if (this.container.lastChild) return startOfLine(this.container.lastChild);
|
502
|
+
else return null;
|
503
|
+
},
|
504
|
+
|
505
|
+
nextLine: function(line) {
|
506
|
+
this.checkLine(line);
|
507
|
+
var end = endOfLine(line, this.container);
|
508
|
+
return end || false;
|
509
|
+
},
|
510
|
+
|
511
|
+
prevLine: function(line) {
|
512
|
+
this.checkLine(line);
|
513
|
+
if (line == null) return false;
|
514
|
+
return startOfLine(line.previousSibling);
|
515
|
+
},
|
516
|
+
|
517
|
+
selectLines: function(startLine, startOffset, endLine, endOffset) {
|
518
|
+
this.checkLine(startLine);
|
519
|
+
var start = {node: startLine, offset: startOffset}, end = null;
|
520
|
+
if (endOffset !== undefined) {
|
521
|
+
this.checkLine(endLine);
|
522
|
+
end = {node: endLine, offset: endOffset};
|
523
|
+
}
|
524
|
+
select.setCursorPos(this.container, start, end);
|
525
|
+
select.scrollToCursor(this.container);
|
526
|
+
},
|
527
|
+
|
528
|
+
lineContent: function(line) {
|
529
|
+
var accum = [];
|
530
|
+
for (line = line ? line.nextSibling : this.container.firstChild;
|
531
|
+
line && !isBR(line); line = line.nextSibling)
|
532
|
+
accum.push(nodeText(line));
|
533
|
+
return cleanText(accum.join(""));
|
534
|
+
},
|
535
|
+
|
536
|
+
setLineContent: function(line, content) {
|
537
|
+
this.history.commit();
|
538
|
+
this.replaceRange({node: line, offset: 0},
|
539
|
+
{node: line, offset: this.history.textAfter(line).length},
|
540
|
+
content);
|
541
|
+
this.addDirtyNode(line);
|
542
|
+
this.scheduleHighlight();
|
543
|
+
},
|
544
|
+
|
545
|
+
removeLine: function(line) {
|
546
|
+
var node = line ? line.nextSibling : this.container.firstChild;
|
547
|
+
while (node) {
|
548
|
+
var next = node.nextSibling;
|
549
|
+
removeElement(node);
|
550
|
+
if (isBR(node)) break;
|
551
|
+
node = next;
|
552
|
+
}
|
553
|
+
this.addDirtyNode(line);
|
554
|
+
this.scheduleHighlight();
|
555
|
+
},
|
556
|
+
|
557
|
+
insertIntoLine: function(line, position, content) {
|
558
|
+
var before = null;
|
559
|
+
if (position == "end") {
|
560
|
+
before = endOfLine(line, this.container);
|
561
|
+
}
|
562
|
+
else {
|
563
|
+
for (var cur = line ? line.nextSibling : this.container.firstChild; cur; cur = cur.nextSibling) {
|
564
|
+
if (position == 0) {
|
565
|
+
before = cur;
|
566
|
+
break;
|
567
|
+
}
|
568
|
+
var text = nodeText(cur);
|
569
|
+
if (text.length > position) {
|
570
|
+
before = cur.nextSibling;
|
571
|
+
content = text.slice(0, position) + content + text.slice(position);
|
572
|
+
removeElement(cur);
|
573
|
+
break;
|
574
|
+
}
|
575
|
+
position -= text.length;
|
576
|
+
}
|
577
|
+
}
|
578
|
+
|
579
|
+
var lines = asEditorLines(content), doc = this.container.ownerDocument;
|
580
|
+
for (var i = 0; i < lines.length; i++) {
|
581
|
+
if (i > 0) this.container.insertBefore(doc.createElement("BR"), before);
|
582
|
+
this.container.insertBefore(makePartSpan(lines[i], doc), before);
|
583
|
+
}
|
584
|
+
this.addDirtyNode(line);
|
585
|
+
this.scheduleHighlight();
|
586
|
+
},
|
587
|
+
|
588
|
+
// Retrieve the selected text.
|
589
|
+
selectedText: function() {
|
590
|
+
var h = this.history;
|
591
|
+
h.commit();
|
592
|
+
|
593
|
+
var start = select.cursorPos(this.container, true),
|
594
|
+
end = select.cursorPos(this.container, false);
|
595
|
+
if (!start || !end) return "";
|
596
|
+
|
597
|
+
if (start.node == end.node)
|
598
|
+
return h.textAfter(start.node).slice(start.offset, end.offset);
|
599
|
+
|
600
|
+
var text = [h.textAfter(start.node).slice(start.offset)];
|
601
|
+
for (var pos = h.nodeAfter(start.node); pos != end.node; pos = h.nodeAfter(pos))
|
602
|
+
text.push(h.textAfter(pos));
|
603
|
+
text.push(h.textAfter(end.node).slice(0, end.offset));
|
604
|
+
return cleanText(text.join("\n"));
|
605
|
+
},
|
606
|
+
|
607
|
+
// Replace the selection with another piece of text.
|
608
|
+
replaceSelection: function(text) {
|
609
|
+
this.history.commit();
|
610
|
+
|
611
|
+
var start = select.cursorPos(this.container, true),
|
612
|
+
end = select.cursorPos(this.container, false);
|
613
|
+
if (!start || !end) return;
|
614
|
+
|
615
|
+
end = this.replaceRange(start, end, text);
|
616
|
+
select.setCursorPos(this.container, end);
|
617
|
+
webkitLastLineHack(this.container);
|
618
|
+
},
|
619
|
+
|
620
|
+
reroutePasteEvent: function() {
|
621
|
+
if (this.capturingPaste || window.opera) return;
|
622
|
+
this.capturingPaste = true;
|
623
|
+
var te = parent.document.createElement("TEXTAREA");
|
624
|
+
te.style.position = "absolute";
|
625
|
+
te.style.left = "-10000px";
|
626
|
+
te.style.width = "10px";
|
627
|
+
te.style.top = nodeTop(frameElement) + "px";
|
628
|
+
var wrap = window.frameElement.CodeMirror.wrapping;
|
629
|
+
wrap.parentNode.insertBefore(te, wrap);
|
630
|
+
parent.focus();
|
631
|
+
te.focus();
|
632
|
+
|
633
|
+
var self = this;
|
634
|
+
this.parent.setTimeout(function() {
|
635
|
+
self.capturingPaste = false;
|
636
|
+
self.win.focus();
|
637
|
+
if (self.selectionSnapshot) // IE hack
|
638
|
+
self.win.select.setBookmark(self.container, self.selectionSnapshot);
|
639
|
+
var text = te.value;
|
640
|
+
if (text) {
|
641
|
+
self.replaceSelection(text);
|
642
|
+
select.scrollToCursor(self.container);
|
643
|
+
}
|
644
|
+
removeElement(te);
|
645
|
+
}, 10);
|
646
|
+
},
|
647
|
+
|
648
|
+
replaceRange: function(from, to, text) {
|
649
|
+
var lines = asEditorLines(text);
|
650
|
+
lines[0] = this.history.textAfter(from.node).slice(0, from.offset) + lines[0];
|
651
|
+
var lastLine = lines[lines.length - 1];
|
652
|
+
lines[lines.length - 1] = lastLine + this.history.textAfter(to.node).slice(to.offset);
|
653
|
+
var end = this.history.nodeAfter(to.node);
|
654
|
+
this.history.push(from.node, end, lines);
|
655
|
+
return {node: this.history.nodeBefore(end),
|
656
|
+
offset: lastLine.length};
|
657
|
+
},
|
658
|
+
|
659
|
+
getSearchCursor: function(string, fromCursor, caseFold) {
|
660
|
+
return new SearchCursor(this, string, fromCursor, caseFold);
|
661
|
+
},
|
662
|
+
|
663
|
+
// Re-indent the whole buffer
|
664
|
+
reindent: function() {
|
665
|
+
if (this.container.firstChild)
|
666
|
+
this.indentRegion(null, this.container.lastChild);
|
667
|
+
},
|
668
|
+
|
669
|
+
reindentSelection: function(direction) {
|
670
|
+
if (!select.somethingSelected(this.win)) {
|
671
|
+
this.indentAtCursor(direction);
|
672
|
+
}
|
673
|
+
else {
|
674
|
+
var start = select.selectionTopNode(this.container, true),
|
675
|
+
end = select.selectionTopNode(this.container, false);
|
676
|
+
if (start === false || end === false) return;
|
677
|
+
this.indentRegion(start, end, direction);
|
678
|
+
}
|
679
|
+
},
|
680
|
+
|
681
|
+
grabKeys: function(eventHandler, filter) {
|
682
|
+
this.frozen = eventHandler;
|
683
|
+
this.keyFilter = filter;
|
684
|
+
},
|
685
|
+
ungrabKeys: function() {
|
686
|
+
this.frozen = "leave";
|
687
|
+
this.keyFilter = null;
|
688
|
+
},
|
689
|
+
|
690
|
+
setParser: function(name) {
|
691
|
+
Editor.Parser = window[name];
|
692
|
+
if (this.container.firstChild) {
|
693
|
+
forEach(this.container.childNodes, function(n) {
|
694
|
+
if (n.nodeType != 3) n.dirty = true;
|
695
|
+
});
|
696
|
+
this.addDirtyNode(this.firstChild);
|
697
|
+
this.scheduleHighlight();
|
698
|
+
}
|
699
|
+
},
|
700
|
+
|
701
|
+
// Intercept enter and tab, and assign their new functions.
|
702
|
+
keyDown: function(event) {
|
703
|
+
if (this.frozen == "leave") this.frozen = null;
|
704
|
+
if (this.frozen && (!this.keyFilter || this.keyFilter(event.keyCode))) {
|
705
|
+
event.stop();
|
706
|
+
this.frozen(event);
|
707
|
+
return;
|
708
|
+
}
|
709
|
+
|
710
|
+
var code = event.keyCode;
|
711
|
+
// Don't scan when the user is typing.
|
712
|
+
this.delayScanning();
|
713
|
+
// Schedule a paren-highlight event, if configured.
|
714
|
+
if (this.options.autoMatchParens)
|
715
|
+
this.scheduleParenHighlight();
|
716
|
+
|
717
|
+
// The various checks for !altKey are there because AltGr sets both
|
718
|
+
// ctrlKey and altKey to true, and should not be recognised as
|
719
|
+
// Control.
|
720
|
+
if (code == 13) { // enter
|
721
|
+
if (event.ctrlKey && !event.altKey) {
|
722
|
+
this.reparseBuffer();
|
723
|
+
}
|
724
|
+
else {
|
725
|
+
select.insertNewlineAtCursor(this.win);
|
726
|
+
this.indentAtCursor();
|
727
|
+
select.scrollToCursor(this.container);
|
728
|
+
}
|
729
|
+
event.stop();
|
730
|
+
}
|
731
|
+
else if (code == 9 && this.options.tabMode != "default" && !event.ctrlKey) { // tab
|
732
|
+
this.handleTab(!event.shiftKey);
|
733
|
+
event.stop();
|
734
|
+
}
|
735
|
+
else if (code == 32 && event.shiftKey && this.options.tabMode == "default") { // space
|
736
|
+
this.handleTab(true);
|
737
|
+
event.stop();
|
738
|
+
}
|
739
|
+
else if (code == 36 && !event.shiftKey && !event.ctrlKey) { // home
|
740
|
+
if (this.home()) event.stop();
|
741
|
+
}
|
742
|
+
else if (code == 35 && !event.shiftKey && !event.ctrlKey) { // end
|
743
|
+
if (this.end()) event.stop();
|
744
|
+
}
|
745
|
+
else if ((code == 219 || code == 221) && event.ctrlKey && !event.altKey) { // [, ]
|
746
|
+
this.highlightParens(event.shiftKey, true);
|
747
|
+
event.stop();
|
748
|
+
}
|
749
|
+
else if (event.metaKey && !event.shiftKey && (code == 37 || code == 39)) { // Meta-left/right
|
750
|
+
var cursor = select.selectionTopNode(this.container);
|
751
|
+
if (cursor === false || !this.container.firstChild) return;
|
752
|
+
|
753
|
+
if (code == 37) select.focusAfterNode(startOfLine(cursor), this.container);
|
754
|
+
else {
|
755
|
+
var end = endOfLine(cursor, this.container);
|
756
|
+
select.focusAfterNode(end ? end.previousSibling : this.container.lastChild, this.container);
|
757
|
+
}
|
758
|
+
event.stop();
|
759
|
+
}
|
760
|
+
else if ((event.ctrlKey || event.metaKey) && !event.altKey) {
|
761
|
+
if ((event.shiftKey && code == 90) || code == 89) { // shift-Z, Y
|
762
|
+
select.scrollToNode(this.history.redo());
|
763
|
+
event.stop();
|
764
|
+
}
|
765
|
+
else if (code == 90 || (safari && code == 8)) { // Z, backspace
|
766
|
+
select.scrollToNode(this.history.undo());
|
767
|
+
event.stop();
|
768
|
+
}
|
769
|
+
else if (code == 83 && this.options.saveFunction) { // S
|
770
|
+
this.options.saveFunction();
|
771
|
+
event.stop();
|
772
|
+
}
|
773
|
+
else if (internetExplorer && code == 86) {
|
774
|
+
this.reroutePasteEvent();
|
775
|
+
}
|
776
|
+
}
|
777
|
+
},
|
778
|
+
|
779
|
+
// Check for characters that should re-indent the current line,
|
780
|
+
// and prevent Opera from handling enter and tab anyway.
|
781
|
+
keyPress: function(event) {
|
782
|
+
var electric = Editor.Parser.electricChars, self = this;
|
783
|
+
// Hack for Opera, and Firefox on OS X, in which stopping a
|
784
|
+
// keydown event does not prevent the associated keypress event
|
785
|
+
// from happening, so we have to cancel enter and tab again
|
786
|
+
// here.
|
787
|
+
if ((this.frozen && (!this.keyFilter || this.keyFilter(event.keyCode))) ||
|
788
|
+
event.code == 13 || (event.code == 9 && this.options.tabMode != "default") ||
|
789
|
+
(event.keyCode == 32 && event.shiftKey && this.options.tabMode == "default"))
|
790
|
+
event.stop();
|
791
|
+
else if (electric && electric.indexOf(event.character) != -1)
|
792
|
+
this.parent.setTimeout(function(){self.indentAtCursor(null);}, 0);
|
793
|
+
else if ((event.character == "v" || event.character == "V")
|
794
|
+
&& (event.ctrlKey || event.metaKey) && !event.altKey) // ctrl-V
|
795
|
+
this.reroutePasteEvent();
|
796
|
+
},
|
797
|
+
|
798
|
+
// Mark the node at the cursor dirty when a non-safe key is
|
799
|
+
// released.
|
800
|
+
keyUp: function(event) {
|
801
|
+
this.cursorActivity(isSafeKey(event.keyCode));
|
802
|
+
},
|
803
|
+
|
804
|
+
// Indent the line following a given <br>, or null for the first
|
805
|
+
// line. If given a <br> element, this must have been highlighted
|
806
|
+
// so that it has an indentation method. Returns the whitespace
|
807
|
+
// element that has been modified or created (if any).
|
808
|
+
indentLineAfter: function(start, direction) {
|
809
|
+
// whiteSpace is the whitespace span at the start of the line,
|
810
|
+
// or null if there is no such node.
|
811
|
+
var whiteSpace = start ? start.nextSibling : this.container.firstChild;
|
812
|
+
if (whiteSpace && !hasClass(whiteSpace, "whitespace"))
|
813
|
+
whiteSpace = null;
|
814
|
+
|
815
|
+
// Sometimes the start of the line can influence the correct
|
816
|
+
// indentation, so we retrieve it.
|
817
|
+
var firstText = whiteSpace ? whiteSpace.nextSibling : (start ? start.nextSibling : this.container.firstChild);
|
818
|
+
var nextChars = (start && firstText && firstText.currentText) ? firstText.currentText : "";
|
819
|
+
|
820
|
+
// Ask the lexical context for the correct indentation, and
|
821
|
+
// compute how much this differs from the current indentation.
|
822
|
+
var newIndent = 0, curIndent = whiteSpace ? whiteSpace.currentText.length : 0;
|
823
|
+
if (direction != null && this.options.tabMode == "shift")
|
824
|
+
newIndent = direction ? curIndent + indentUnit : Math.max(0, curIndent - indentUnit)
|
825
|
+
else if (start)
|
826
|
+
newIndent = start.indentation(nextChars, curIndent, direction);
|
827
|
+
else if (Editor.Parser.firstIndentation)
|
828
|
+
newIndent = Editor.Parser.firstIndentation(nextChars, curIndent, direction);
|
829
|
+
var indentDiff = newIndent - curIndent;
|
830
|
+
|
831
|
+
// If there is too much, this is just a matter of shrinking a span.
|
832
|
+
if (indentDiff < 0) {
|
833
|
+
if (newIndent == 0) {
|
834
|
+
if (firstText) select.snapshotMove(whiteSpace.firstChild, firstText.firstChild, 0);
|
835
|
+
removeElement(whiteSpace);
|
836
|
+
whiteSpace = null;
|
837
|
+
}
|
838
|
+
else {
|
839
|
+
select.snapshotMove(whiteSpace.firstChild, whiteSpace.firstChild, indentDiff, true);
|
840
|
+
whiteSpace.currentText = makeWhiteSpace(newIndent);
|
841
|
+
whiteSpace.firstChild.nodeValue = whiteSpace.currentText;
|
842
|
+
}
|
843
|
+
}
|
844
|
+
// Not enough...
|
845
|
+
else if (indentDiff > 0) {
|
846
|
+
// If there is whitespace, we grow it.
|
847
|
+
if (whiteSpace) {
|
848
|
+
whiteSpace.currentText = makeWhiteSpace(newIndent);
|
849
|
+
whiteSpace.firstChild.nodeValue = whiteSpace.currentText;
|
850
|
+
}
|
851
|
+
// Otherwise, we have to add a new whitespace node.
|
852
|
+
else {
|
853
|
+
whiteSpace = makePartSpan(makeWhiteSpace(newIndent), this.doc);
|
854
|
+
whiteSpace.className = "whitespace";
|
855
|
+
if (start) insertAfter(whiteSpace, start);
|
856
|
+
else this.container.insertBefore(whiteSpace, this.container.firstChild);
|
857
|
+
}
|
858
|
+
if (firstText) select.snapshotMove(firstText.firstChild, whiteSpace.firstChild, curIndent, false, true);
|
859
|
+
}
|
860
|
+
if (indentDiff != 0) this.addDirtyNode(start);
|
861
|
+
return whiteSpace;
|
862
|
+
},
|
863
|
+
|
864
|
+
// Re-highlight the selected part of the document.
|
865
|
+
highlightAtCursor: function() {
|
866
|
+
var pos = select.selectionTopNode(this.container, true);
|
867
|
+
var to = select.selectionTopNode(this.container, false);
|
868
|
+
if (pos === false || to === false) return false;
|
869
|
+
|
870
|
+
select.markSelection(this.win);
|
871
|
+
if (this.highlight(pos, endOfLine(to, this.container), true, 20) === false)
|
872
|
+
return false;
|
873
|
+
select.selectMarked();
|
874
|
+
return true;
|
875
|
+
},
|
876
|
+
|
877
|
+
// When tab is pressed with text selected, the whole selection is
|
878
|
+
// re-indented, when nothing is selected, the line with the cursor
|
879
|
+
// is re-indented.
|
880
|
+
handleTab: function(direction) {
|
881
|
+
if (this.options.tabMode == "spaces")
|
882
|
+
select.insertTabAtCursor(this.win);
|
883
|
+
else
|
884
|
+
this.reindentSelection(direction);
|
885
|
+
},
|
886
|
+
|
887
|
+
// Custom home behaviour that doesn't land the cursor in front of
|
888
|
+
// leading whitespace unless pressed twice.
|
889
|
+
home: function() {
|
890
|
+
var cur = select.selectionTopNode(this.container, true), start = cur;
|
891
|
+
if (cur === false || !(!cur || cur.isPart || isBR(cur)) || !this.container.firstChild)
|
892
|
+
return false;
|
893
|
+
|
894
|
+
while (cur && !isBR(cur)) cur = cur.previousSibling;
|
895
|
+
var next = cur ? cur.nextSibling : this.container.firstChild;
|
896
|
+
if (next && next != start && next.isPart && hasClass(next, "whitespace"))
|
897
|
+
select.focusAfterNode(next, this.container);
|
898
|
+
else
|
899
|
+
select.focusAfterNode(cur, this.container);
|
900
|
+
|
901
|
+
select.scrollToCursor(this.container);
|
902
|
+
return true;
|
903
|
+
},
|
904
|
+
|
905
|
+
// Some browsers (Opera) don't manage to handle the end key
|
906
|
+
// properly in the face of vertical scrolling.
|
907
|
+
end: function() {
|
908
|
+
var cur = select.selectionTopNode(this.container, true);
|
909
|
+
if (cur === false) return false;
|
910
|
+
cur = endOfLine(cur, this.container);
|
911
|
+
if (!cur) return false;
|
912
|
+
select.focusAfterNode(cur.previousSibling, this.container);
|
913
|
+
select.scrollToCursor(this.container);
|
914
|
+
return true;
|
915
|
+
},
|
916
|
+
|
917
|
+
// Delay (or initiate) the next paren highlight event.
|
918
|
+
scheduleParenHighlight: function() {
|
919
|
+
if (this.parenEvent) this.parent.clearTimeout(this.parenEvent);
|
920
|
+
var self = this;
|
921
|
+
this.parenEvent = this.parent.setTimeout(function(){self.highlightParens();}, 300);
|
922
|
+
},
|
923
|
+
|
924
|
+
// Take the token before the cursor. If it contains a character in
|
925
|
+
// '()[]{}', search for the matching paren/brace/bracket, and
|
926
|
+
// highlight them in green for a moment, or red if no proper match
|
927
|
+
// was found.
|
928
|
+
highlightParens: function(jump, fromKey) {
|
929
|
+
var self = this;
|
930
|
+
// give the relevant nodes a colour.
|
931
|
+
function highlight(node, ok) {
|
932
|
+
if (!node) return;
|
933
|
+
if (self.options.markParen) {
|
934
|
+
self.options.markParen(node, ok);
|
935
|
+
}
|
936
|
+
else {
|
937
|
+
node.style.fontWeight = "bold";
|
938
|
+
node.style.color = ok ? "#8F8" : "#F88";
|
939
|
+
}
|
940
|
+
}
|
941
|
+
function unhighlight(node) {
|
942
|
+
if (!node) return;
|
943
|
+
if (self.options.unmarkParen) {
|
944
|
+
self.options.unmarkParen(node);
|
945
|
+
}
|
946
|
+
else {
|
947
|
+
node.style.fontWeight = "";
|
948
|
+
node.style.color = "";
|
949
|
+
}
|
950
|
+
}
|
951
|
+
if (!fromKey && self.highlighted) {
|
952
|
+
unhighlight(self.highlighted[0]);
|
953
|
+
unhighlight(self.highlighted[1]);
|
954
|
+
}
|
955
|
+
|
956
|
+
if (!window.select) return;
|
957
|
+
// Clear the event property.
|
958
|
+
if (this.parenEvent) this.parent.clearTimeout(this.parenEvent);
|
959
|
+
this.parenEvent = null;
|
960
|
+
|
961
|
+
// Extract a 'paren' from a piece of text.
|
962
|
+
function paren(node) {
|
963
|
+
if (node.currentText) {
|
964
|
+
var match = node.currentText.match(/^[\s\u00a0]*([\(\)\[\]{}])[\s\u00a0]*$/);
|
965
|
+
return match && match[1];
|
966
|
+
}
|
967
|
+
}
|
968
|
+
// Determine the direction a paren is facing.
|
969
|
+
function forward(ch) {
|
970
|
+
return /[\(\[\{]/.test(ch);
|
971
|
+
}
|
972
|
+
|
973
|
+
var ch, cursor = select.selectionTopNode(this.container, true);
|
974
|
+
if (!cursor || !this.highlightAtCursor()) return;
|
975
|
+
cursor = select.selectionTopNode(this.container, true);
|
976
|
+
if (!(cursor && ((ch = paren(cursor)) || (cursor = cursor.nextSibling) && (ch = paren(cursor)))))
|
977
|
+
return;
|
978
|
+
// We only look for tokens with the same className.
|
979
|
+
var className = cursor.className, dir = forward(ch), match = matching[ch];
|
980
|
+
|
981
|
+
// Since parts of the document might not have been properly
|
982
|
+
// highlighted, and it is hard to know in advance which part we
|
983
|
+
// have to scan, we just try, and when we find dirty nodes we
|
984
|
+
// abort, parse them, and re-try.
|
985
|
+
function tryFindMatch() {
|
986
|
+
var stack = [], ch, ok = true;
|
987
|
+
for (var runner = cursor; runner; runner = dir ? runner.nextSibling : runner.previousSibling) {
|
988
|
+
if (runner.className == className && isSpan(runner) && (ch = paren(runner))) {
|
989
|
+
if (forward(ch) == dir)
|
990
|
+
stack.push(ch);
|
991
|
+
else if (!stack.length)
|
992
|
+
ok = false;
|
993
|
+
else if (stack.pop() != matching[ch])
|
994
|
+
ok = false;
|
995
|
+
if (!stack.length) break;
|
996
|
+
}
|
997
|
+
else if (runner.dirty || !isSpan(runner) && !isBR(runner)) {
|
998
|
+
return {node: runner, status: "dirty"};
|
999
|
+
}
|
1000
|
+
}
|
1001
|
+
return {node: runner, status: runner && ok};
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
while (true) {
|
1005
|
+
var found = tryFindMatch();
|
1006
|
+
if (found.status == "dirty") {
|
1007
|
+
this.highlight(found.node, endOfLine(found.node));
|
1008
|
+
// Needed because in some corner cases a highlight does not
|
1009
|
+
// reach a node.
|
1010
|
+
found.node.dirty = false;
|
1011
|
+
continue;
|
1012
|
+
}
|
1013
|
+
else {
|
1014
|
+
highlight(cursor, found.status);
|
1015
|
+
highlight(found.node, found.status);
|
1016
|
+
if (fromKey)
|
1017
|
+
self.parent.setTimeout(function() {unhighlight(cursor); unhighlight(found.node);}, 500);
|
1018
|
+
else
|
1019
|
+
self.highlighted = [cursor, found.node];
|
1020
|
+
if (jump && found.node)
|
1021
|
+
select.focusAfterNode(found.node.previousSibling, this.container);
|
1022
|
+
break;
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
},
|
1026
|
+
|
1027
|
+
// Adjust the amount of whitespace at the start of the line that
|
1028
|
+
// the cursor is on so that it is indented properly.
|
1029
|
+
indentAtCursor: function(direction) {
|
1030
|
+
if (!this.container.firstChild) return;
|
1031
|
+
// The line has to have up-to-date lexical information, so we
|
1032
|
+
// highlight it first.
|
1033
|
+
if (!this.highlightAtCursor()) return;
|
1034
|
+
var cursor = select.selectionTopNode(this.container, false);
|
1035
|
+
// If we couldn't determine the place of the cursor,
|
1036
|
+
// there's nothing to indent.
|
1037
|
+
if (cursor === false)
|
1038
|
+
return;
|
1039
|
+
var lineStart = startOfLine(cursor);
|
1040
|
+
var whiteSpace = this.indentLineAfter(lineStart, direction);
|
1041
|
+
if (cursor == lineStart && whiteSpace)
|
1042
|
+
cursor = whiteSpace;
|
1043
|
+
// This means the indentation has probably messed up the cursor.
|
1044
|
+
if (cursor == whiteSpace)
|
1045
|
+
select.focusAfterNode(cursor, this.container);
|
1046
|
+
},
|
1047
|
+
|
1048
|
+
// Indent all lines whose start falls inside of the current
|
1049
|
+
// selection.
|
1050
|
+
indentRegion: function(start, end, direction) {
|
1051
|
+
var current = (start = startOfLine(start)), before = start && startOfLine(start.previousSibling);
|
1052
|
+
if (!isBR(end)) end = endOfLine(end, this.container);
|
1053
|
+
this.addDirtyNode(start);
|
1054
|
+
|
1055
|
+
do {
|
1056
|
+
var next = endOfLine(current, this.container);
|
1057
|
+
if (current) this.highlight(before, next, true);
|
1058
|
+
this.indentLineAfter(current, direction);
|
1059
|
+
before = current;
|
1060
|
+
current = next;
|
1061
|
+
} while (current != end);
|
1062
|
+
select.setCursorPos(this.container, {node: start, offset: 0}, {node: end, offset: 0});
|
1063
|
+
},
|
1064
|
+
|
1065
|
+
// Find the node that the cursor is in, mark it as dirty, and make
|
1066
|
+
// sure a highlight pass is scheduled.
|
1067
|
+
cursorActivity: function(safe) {
|
1068
|
+
// pagehide event hack above
|
1069
|
+
if (this.unloaded) {
|
1070
|
+
this.win.document.designMode = "off";
|
1071
|
+
this.win.document.designMode = "on";
|
1072
|
+
this.unloaded = false;
|
1073
|
+
}
|
1074
|
+
|
1075
|
+
if (internetExplorer) {
|
1076
|
+
this.container.createTextRange().execCommand("unlink");
|
1077
|
+
this.selectionSnapshot = select.getBookmark(this.container);
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
var activity = this.options.cursorActivity;
|
1081
|
+
if (!safe || activity) {
|
1082
|
+
var cursor = select.selectionTopNode(this.container, false);
|
1083
|
+
if (cursor === false || !this.container.firstChild) return;
|
1084
|
+
cursor = cursor || this.container.firstChild;
|
1085
|
+
if (activity) activity(cursor);
|
1086
|
+
if (!safe) {
|
1087
|
+
this.scheduleHighlight();
|
1088
|
+
this.addDirtyNode(cursor);
|
1089
|
+
}
|
1090
|
+
}
|
1091
|
+
},
|
1092
|
+
|
1093
|
+
reparseBuffer: function() {
|
1094
|
+
forEach(this.container.childNodes, function(node) {node.dirty = true;});
|
1095
|
+
if (this.container.firstChild)
|
1096
|
+
this.addDirtyNode(this.container.firstChild);
|
1097
|
+
},
|
1098
|
+
|
1099
|
+
// Add a node to the set of dirty nodes, if it isn't already in
|
1100
|
+
// there.
|
1101
|
+
addDirtyNode: function(node) {
|
1102
|
+
node = node || this.container.firstChild;
|
1103
|
+
if (!node) return;
|
1104
|
+
|
1105
|
+
for (var i = 0; i < this.dirty.length; i++)
|
1106
|
+
if (this.dirty[i] == node) return;
|
1107
|
+
|
1108
|
+
if (node.nodeType != 3)
|
1109
|
+
node.dirty = true;
|
1110
|
+
this.dirty.push(node);
|
1111
|
+
},
|
1112
|
+
|
1113
|
+
allClean: function() {
|
1114
|
+
return !this.dirty.length;
|
1115
|
+
},
|
1116
|
+
|
1117
|
+
// Cause a highlight pass to happen in options.passDelay
|
1118
|
+
// milliseconds. Clear the existing timeout, if one exists. This
|
1119
|
+
// way, the passes do not happen while the user is typing, and
|
1120
|
+
// should as unobtrusive as possible.
|
1121
|
+
scheduleHighlight: function() {
|
1122
|
+
// Timeouts are routed through the parent window, because on
|
1123
|
+
// some browsers designMode windows do not fire timeouts.
|
1124
|
+
var self = this;
|
1125
|
+
this.parent.clearTimeout(this.highlightTimeout);
|
1126
|
+
this.highlightTimeout = this.parent.setTimeout(function(){self.highlightDirty();}, this.options.passDelay);
|
1127
|
+
},
|
1128
|
+
|
1129
|
+
// Fetch one dirty node, and remove it from the dirty set.
|
1130
|
+
getDirtyNode: function() {
|
1131
|
+
while (this.dirty.length > 0) {
|
1132
|
+
var found = this.dirty.pop();
|
1133
|
+
// IE8 sometimes throws an unexplainable 'invalid argument'
|
1134
|
+
// exception for found.parentNode
|
1135
|
+
try {
|
1136
|
+
// If the node has been coloured in the meantime, or is no
|
1137
|
+
// longer in the document, it should not be returned.
|
1138
|
+
while (found && found.parentNode != this.container)
|
1139
|
+
found = found.parentNode;
|
1140
|
+
if (found && (found.dirty || found.nodeType == 3))
|
1141
|
+
return found;
|
1142
|
+
} catch (e) {}
|
1143
|
+
}
|
1144
|
+
return null;
|
1145
|
+
},
|
1146
|
+
|
1147
|
+
// Pick dirty nodes, and highlight them, until options.passTime
|
1148
|
+
// milliseconds have gone by. The highlight method will continue
|
1149
|
+
// to next lines as long as it finds dirty nodes. It returns
|
1150
|
+
// information about the place where it stopped. If there are
|
1151
|
+
// dirty nodes left after this function has spent all its lines,
|
1152
|
+
// it shedules another highlight to finish the job.
|
1153
|
+
highlightDirty: function(force) {
|
1154
|
+
// Prevent FF from raising an error when it is firing timeouts
|
1155
|
+
// on a page that's no longer loaded.
|
1156
|
+
if (!window.select) return false;
|
1157
|
+
|
1158
|
+
if (!this.options.readOnly) select.markSelection(this.win);
|
1159
|
+
var start, endTime = force ? null : time() + this.options.passTime;
|
1160
|
+
while ((time() < endTime || force) && (start = this.getDirtyNode())) {
|
1161
|
+
var result = this.highlight(start, endTime);
|
1162
|
+
if (result && result.node && result.dirty)
|
1163
|
+
this.addDirtyNode(result.node);
|
1164
|
+
}
|
1165
|
+
if (!this.options.readOnly) select.selectMarked();
|
1166
|
+
if (start) this.scheduleHighlight();
|
1167
|
+
return this.dirty.length == 0;
|
1168
|
+
},
|
1169
|
+
|
1170
|
+
// Creates a function that, when called through a timeout, will
|
1171
|
+
// continuously re-parse the document.
|
1172
|
+
documentScanner: function(passTime) {
|
1173
|
+
var self = this, pos = null;
|
1174
|
+
return function() {
|
1175
|
+
// FF timeout weirdness workaround.
|
1176
|
+
if (!window.select) return;
|
1177
|
+
// If the current node is no longer in the document... oh
|
1178
|
+
// well, we start over.
|
1179
|
+
if (pos && pos.parentNode != self.container)
|
1180
|
+
pos = null;
|
1181
|
+
select.markSelection(self.win);
|
1182
|
+
var result = self.highlight(pos, time() + passTime, true);
|
1183
|
+
select.selectMarked();
|
1184
|
+
var newPos = result ? (result.node && result.node.nextSibling) : null;
|
1185
|
+
pos = (pos == newPos) ? null : newPos;
|
1186
|
+
self.delayScanning();
|
1187
|
+
};
|
1188
|
+
},
|
1189
|
+
|
1190
|
+
// Starts the continuous scanning process for this document after
|
1191
|
+
// a given interval.
|
1192
|
+
delayScanning: function() {
|
1193
|
+
if (this.scanner) {
|
1194
|
+
this.parent.clearTimeout(this.documentScan);
|
1195
|
+
this.documentScan = this.parent.setTimeout(this.scanner, this.options.continuousScanning);
|
1196
|
+
}
|
1197
|
+
},
|
1198
|
+
|
1199
|
+
// The function that does the actual highlighting/colouring (with
|
1200
|
+
// help from the parser and the DOM normalizer). Its interface is
|
1201
|
+
// rather overcomplicated, because it is used in different
|
1202
|
+
// situations: ensuring that a certain line is highlighted, or
|
1203
|
+
// highlighting up to X milliseconds starting from a certain
|
1204
|
+
// point. The 'from' argument gives the node at which it should
|
1205
|
+
// start. If this is null, it will start at the beginning of the
|
1206
|
+
// document. When a timestamp is given with the 'target' argument,
|
1207
|
+
// it will stop highlighting at that time. If this argument holds
|
1208
|
+
// a DOM node, it will highlight until it reaches that node. If at
|
1209
|
+
// any time it comes across two 'clean' lines (no dirty nodes), it
|
1210
|
+
// will stop, except when 'cleanLines' is true. maxBacktrack is
|
1211
|
+
// the maximum number of lines to backtrack to find an existing
|
1212
|
+
// parser instance. This is used to give up in situations where a
|
1213
|
+
// highlight would take too long and freeze the browser interface.
|
1214
|
+
highlight: function(from, target, cleanLines, maxBacktrack){
|
1215
|
+
var container = this.container, self = this, active = this.options.activeTokens;
|
1216
|
+
var endTime = (typeof target == "number" ? target : null);
|
1217
|
+
|
1218
|
+
if (!container.firstChild)
|
1219
|
+
return false;
|
1220
|
+
// Backtrack to the first node before from that has a partial
|
1221
|
+
// parse stored.
|
1222
|
+
while (from && (!from.parserFromHere || from.dirty)) {
|
1223
|
+
if (maxBacktrack != null && isBR(from) && (--maxBacktrack) < 0)
|
1224
|
+
return false;
|
1225
|
+
from = from.previousSibling;
|
1226
|
+
}
|
1227
|
+
// If we are at the end of the document, do nothing.
|
1228
|
+
if (from && !from.nextSibling)
|
1229
|
+
return false;
|
1230
|
+
|
1231
|
+
// Check whether a part (<span> node) and the corresponding token
|
1232
|
+
// match.
|
1233
|
+
function correctPart(token, part){
|
1234
|
+
return !part.reduced && part.currentText == token.value && part.className == token.style;
|
1235
|
+
}
|
1236
|
+
// Shorten the text associated with a part by chopping off
|
1237
|
+
// characters from the front. Note that only the currentText
|
1238
|
+
// property gets changed. For efficiency reasons, we leave the
|
1239
|
+
// nodeValue alone -- we set the reduced flag to indicate that
|
1240
|
+
// this part must be replaced.
|
1241
|
+
function shortenPart(part, minus){
|
1242
|
+
part.currentText = part.currentText.substring(minus);
|
1243
|
+
part.reduced = true;
|
1244
|
+
}
|
1245
|
+
// Create a part corresponding to a given token.
|
1246
|
+
function tokenPart(token){
|
1247
|
+
var part = makePartSpan(token.value, self.doc);
|
1248
|
+
part.className = token.style;
|
1249
|
+
return part;
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
function maybeTouch(node) {
|
1253
|
+
if (node) {
|
1254
|
+
var old = node.oldNextSibling;
|
1255
|
+
if (lineDirty || old === undefined || node.nextSibling != old)
|
1256
|
+
self.history.touch(node);
|
1257
|
+
node.oldNextSibling = node.nextSibling;
|
1258
|
+
}
|
1259
|
+
else {
|
1260
|
+
var old = self.container.oldFirstChild;
|
1261
|
+
if (lineDirty || old === undefined || self.container.firstChild != old)
|
1262
|
+
self.history.touch(null);
|
1263
|
+
self.container.oldFirstChild = self.container.firstChild;
|
1264
|
+
}
|
1265
|
+
}
|
1266
|
+
|
1267
|
+
// Get the token stream. If from is null, we start with a new
|
1268
|
+
// parser from the start of the frame, otherwise a partial parse
|
1269
|
+
// is resumed.
|
1270
|
+
var traversal = traverseDOM(from ? from.nextSibling : container.firstChild),
|
1271
|
+
stream = stringStream(traversal),
|
1272
|
+
parsed = from ? from.parserFromHere(stream) : Editor.Parser.make(stream);
|
1273
|
+
|
1274
|
+
function surroundedByBRs(node) {
|
1275
|
+
return (node.previousSibling == null || isBR(node.previousSibling)) &&
|
1276
|
+
(node.nextSibling == null || isBR(node.nextSibling));
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
// parts is an interface to make it possible to 'delay' fetching
|
1280
|
+
// the next DOM node until we are completely done with the one
|
1281
|
+
// before it. This is necessary because often the next node is
|
1282
|
+
// not yet available when we want to proceed past the current
|
1283
|
+
// one.
|
1284
|
+
var parts = {
|
1285
|
+
current: null,
|
1286
|
+
// Fetch current node.
|
1287
|
+
get: function(){
|
1288
|
+
if (!this.current)
|
1289
|
+
this.current = traversal.nodes.shift();
|
1290
|
+
return this.current;
|
1291
|
+
},
|
1292
|
+
// Advance to the next part (do not fetch it yet).
|
1293
|
+
next: function(){
|
1294
|
+
this.current = null;
|
1295
|
+
},
|
1296
|
+
// Remove the current part from the DOM tree, and move to the
|
1297
|
+
// next.
|
1298
|
+
remove: function(){
|
1299
|
+
container.removeChild(this.get());
|
1300
|
+
this.current = null;
|
1301
|
+
},
|
1302
|
+
// Advance to the next part that is not empty, discarding empty
|
1303
|
+
// parts.
|
1304
|
+
getNonEmpty: function(){
|
1305
|
+
var part = this.get();
|
1306
|
+
// Allow empty nodes when they are alone on a line, needed
|
1307
|
+
// for the FF cursor bug workaround (see select.js,
|
1308
|
+
// insertNewlineAtCursor).
|
1309
|
+
while (part && isSpan(part) && part.currentText == "") {
|
1310
|
+
// Leave empty nodes that are alone on a line alone in
|
1311
|
+
// Opera, since that browsers doesn't deal well with
|
1312
|
+
// having 2 BRs in a row.
|
1313
|
+
if (window.opera && surroundedByBRs(part)) {
|
1314
|
+
this.next();
|
1315
|
+
part = this.get();
|
1316
|
+
}
|
1317
|
+
else {
|
1318
|
+
var old = part;
|
1319
|
+
this.remove();
|
1320
|
+
part = this.get();
|
1321
|
+
// Adjust selection information, if any. See select.js for details.
|
1322
|
+
select.snapshotMove(old.firstChild, part && (part.firstChild || part), 0);
|
1323
|
+
}
|
1324
|
+
}
|
1325
|
+
|
1326
|
+
return part;
|
1327
|
+
}
|
1328
|
+
};
|
1329
|
+
|
1330
|
+
var lineDirty = false, prevLineDirty = true, lineNodes = 0;
|
1331
|
+
|
1332
|
+
// This forEach loops over the tokens from the parsed stream, and
|
1333
|
+
// at the same time uses the parts object to proceed through the
|
1334
|
+
// corresponding DOM nodes.
|
1335
|
+
forEach(parsed, function(token){
|
1336
|
+
var part = parts.getNonEmpty();
|
1337
|
+
|
1338
|
+
if (token.value == "\n"){
|
1339
|
+
// The idea of the two streams actually staying synchronized
|
1340
|
+
// is such a long shot that we explicitly check.
|
1341
|
+
if (!isBR(part))
|
1342
|
+
throw "Parser out of sync. Expected BR.";
|
1343
|
+
|
1344
|
+
if (part.dirty || !part.indentation) lineDirty = true;
|
1345
|
+
maybeTouch(from);
|
1346
|
+
from = part;
|
1347
|
+
|
1348
|
+
// Every <br> gets a copy of the parser state and a lexical
|
1349
|
+
// context assigned to it. The first is used to be able to
|
1350
|
+
// later resume parsing from this point, the second is used
|
1351
|
+
// for indentation.
|
1352
|
+
part.parserFromHere = parsed.copy();
|
1353
|
+
part.indentation = token.indentation;
|
1354
|
+
part.dirty = false;
|
1355
|
+
|
1356
|
+
// If the target argument wasn't an integer, go at least
|
1357
|
+
// until that node.
|
1358
|
+
if (endTime == null && part == target) throw StopIteration;
|
1359
|
+
|
1360
|
+
// A clean line with more than one node means we are done.
|
1361
|
+
// Throwing a StopIteration is the way to break out of a
|
1362
|
+
// MochiKit forEach loop.
|
1363
|
+
if ((endTime != null && time() >= endTime) || (!lineDirty && !prevLineDirty && lineNodes > 1 && !cleanLines))
|
1364
|
+
throw StopIteration;
|
1365
|
+
prevLineDirty = lineDirty; lineDirty = false; lineNodes = 0;
|
1366
|
+
parts.next();
|
1367
|
+
}
|
1368
|
+
else {
|
1369
|
+
if (!isSpan(part))
|
1370
|
+
throw "Parser out of sync. Expected SPAN.";
|
1371
|
+
if (part.dirty)
|
1372
|
+
lineDirty = true;
|
1373
|
+
lineNodes++;
|
1374
|
+
|
1375
|
+
// If the part matches the token, we can leave it alone.
|
1376
|
+
if (correctPart(token, part)){
|
1377
|
+
part.dirty = false;
|
1378
|
+
parts.next();
|
1379
|
+
}
|
1380
|
+
// Otherwise, we have to fix it.
|
1381
|
+
else {
|
1382
|
+
lineDirty = true;
|
1383
|
+
// Insert the correct part.
|
1384
|
+
var newPart = tokenPart(token);
|
1385
|
+
container.insertBefore(newPart, part);
|
1386
|
+
if (active) active(newPart, token, self);
|
1387
|
+
var tokensize = token.value.length;
|
1388
|
+
var offset = 0;
|
1389
|
+
// Eat up parts until the text for this token has been
|
1390
|
+
// removed, adjusting the stored selection info (see
|
1391
|
+
// select.js) in the process.
|
1392
|
+
while (tokensize > 0) {
|
1393
|
+
part = parts.get();
|
1394
|
+
var partsize = part.currentText.length;
|
1395
|
+
select.snapshotReplaceNode(part.firstChild, newPart.firstChild, tokensize, offset);
|
1396
|
+
if (partsize > tokensize){
|
1397
|
+
shortenPart(part, tokensize);
|
1398
|
+
tokensize = 0;
|
1399
|
+
}
|
1400
|
+
else {
|
1401
|
+
tokensize -= partsize;
|
1402
|
+
offset += partsize;
|
1403
|
+
parts.remove();
|
1404
|
+
}
|
1405
|
+
}
|
1406
|
+
}
|
1407
|
+
}
|
1408
|
+
});
|
1409
|
+
maybeTouch(from);
|
1410
|
+
webkitLastLineHack(this.container);
|
1411
|
+
|
1412
|
+
// The function returns some status information that is used by
|
1413
|
+
// hightlightDirty to determine whether and where it has to
|
1414
|
+
// continue.
|
1415
|
+
return {node: parts.getNonEmpty(),
|
1416
|
+
dirty: lineDirty};
|
1417
|
+
}
|
1418
|
+
};
|
1419
|
+
|
1420
|
+
return Editor;
|
1421
|
+
})();
|
1422
|
+
|
1423
|
+
addEventHandler(window, "load", function() {
|
1424
|
+
var CodeMirror = window.frameElement.CodeMirror;
|
1425
|
+
var e = CodeMirror.editor = new Editor(CodeMirror.options);
|
1426
|
+
this.parent.setTimeout(method(CodeMirror, "init"), 0);
|
1427
|
+
});
|