aloha_rails 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -0
- data/Gemfile.lock +50 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +26 -0
- data/Rakefile +28 -0
- data/VERSION +1 -0
- data/aloha_rails-0.1.3.gem +0 -0
- data/aloha_rails.gemspec +521 -0
- data/lib/aloha_rails.rb +6 -0
- data/lib/assets/images/aloha/deps/extjs/resources/charts.swf +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/expressinstall.swf +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/corners-blue.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/corners.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/l-blue.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/l.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/r-blue.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/r.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/tb-blue.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/box/tb.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/arrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/group-cs.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/group-lr.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/group-tb.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow-b-noline.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow-b.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow-bo.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow-noline.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow-o.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/button/s-arrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/dd/drop-add.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/dd/drop-no.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/dd/drop-yes.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/editor/tb-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/checkbox.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/clear-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/clear-trigger.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/date-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/date-trigger.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/error-tip-corners.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/exclamation.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/radio.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/search-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/search-trigger.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/text-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/trigger-square.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/trigger-square.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/trigger-tpl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/form/trigger.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/gradient-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/arrow-left-white.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/arrow-right-white.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/col-move-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/col-move-top.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/columns.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/dirty.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/done.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/drop-no.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/drop-yes.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/footer-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-blue-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-blue-split.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-hrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-loading.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-split.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid-vista-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid3-hd-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid3-hrow-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid3-hrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/group-by.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/group-collapse.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/group-expand-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/group-expand.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hd-pop.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-asc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-desc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-lock.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/hmenu-unlock.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/invalid_line.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/loading.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/mso-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/nowait.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-first-disabled.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-first.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-last-disabled.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-last.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-next-disabled.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-next.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-prev-disabled.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/page-prev.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/pick-button.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/refresh.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/row-check-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/row-expand-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/row-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/row-sel.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/sort-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/sort_asc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/sort_desc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/grid/wait.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/collapse.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/expand.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/gradient-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/mini-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/mini-left.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/mini-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/mini-top.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/ns-collapse.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/ns-expand.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/panel-close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/panel-title-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/panel-title-light-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/stick.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/stuck.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/tab-close-on.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/layout/tab-close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/checked.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/group-checked.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/item-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/menu-parent.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/menu.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/menu/unchecked.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/corners-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/left-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/light-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/tool-sprites.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/tools-sprites-trans.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/top-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/top-bottom.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/white-corners-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/white-left-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/panel/white-top-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/progress/progress-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/qtip/bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/qtip/close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/qtip/tip-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/s.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shadow-c.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shadow-lr.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shadow.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/blue-loading.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/calendar.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/glass-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/hd-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/large-loading.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/left-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/loading-balls.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/right-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/shared/warning.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/e-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/e-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/ne-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/ne-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/nw-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/nw-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/s-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/s-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/se-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/se-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/square.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/sw-handle-dark.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/sizer/sw-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/slider/slider-bg.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/slider/slider-thumb.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/slider/slider-v-bg.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/slider/slider-v-thumb.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/scroll-left.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/scroll-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/scroller-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-over-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-strip-bg.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tabs/tabs-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/btn-arrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/btn-over-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/gray-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/more.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/tb-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/arrows.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-add.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-between.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-no.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-under.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/drop-yes.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-end-minus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-end-plus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-end.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-line.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-minus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-minus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-plus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow-plus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/elbow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/folder-open.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/folder.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/leaf.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/loading.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/tree/s.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/icon-error.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/icon-info.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/icon-question.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/icon-warning.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/left-corners.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/left-corners.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/left-right.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/left-right.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/right-corners.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/right-corners.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/top-bottom.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/default/window/top-bottom.psd +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/btn-arrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/btn-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/group-cs.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/group-lr.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/group-tb.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/s-arrow-bo.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/button/s-arrow-o.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/form/clear-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/form/date-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/form/search-trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/form/trigger-square.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/form/trigger.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/gradient-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/col-move-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/col-move-top.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-hd-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow-over2.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-hrow2.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-bg2.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/grid3-special-col-sel-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/group-collapse.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/group-expand-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/group-expand.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/page-first.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/page-last.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/page-next.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/page-prev.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/refresh.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/row-expand-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/sort_asc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/grid/sort_desc.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/menu/group-checked.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/menu/item-over-disabled.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/menu/item-over.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/menu/menu-parent.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/corners-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/left-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/light-hd.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/tool-sprite-tpl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/tool-sprites.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/tools-sprites-trans.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/top-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/top-bottom.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/white-corners-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/white-left-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/panel/white-top-bottom.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/progress/progress-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/qtip/bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/qtip/close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/qtip/tip-anchor-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/qtip/tip-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/s.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/shared/hd-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/shared/left-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/shared/right-btn.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/e-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/ne-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/nw-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/s-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/se-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/square.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/sizer/sw-handle.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/slider/slider-thumb.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/slider/slider-v-thumb.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/scroll-left.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/scroll-right.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/scroller-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-left-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-over-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-close.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-bg.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tabs/tabs-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow-light.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/btn-arrow.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/btn-over-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/gray-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/more.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/tb-bg.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tree/arrows.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tree/elbow-end-minus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus-nl.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/tree/elbow-end-plus.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/icon-error.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/icon-info.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/icon-question.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/icon-warning.gif +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/left-corners.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/left-corners.pspimage +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/left-right.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/right-corners.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/images/gray/window/top-bottom.png +0 -0
- data/lib/assets/images/aloha/deps/extjs/resources/resources.jsb +507 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +386 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnNext.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_rounded/btnPrevious.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_rounded/contentPattern.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_rounded/loader.gif +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_rounded/sprite.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_square/btnNext.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_square/btnPrevious.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_square/contentPattern.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_square/loader.gif +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/dark_square/sprite.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/btnNext.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/btnPrevious.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternBottom.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternLeft.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternRight.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/contentPatternTop.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/loader.gif +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/facebook/sprite.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_rounded/btnNext.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_rounded/btnPrevious.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_rounded/loader.gif +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_rounded/sprite.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_square/btnNext.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_square/btnPrevious.png +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_square/loader.gif +0 -0
- data/lib/assets/images/aloha/deps/prettyPhoto/resources/images/light_square/sprite.png +0 -0
- data/lib/assets/images/aloha/i18n/de.dict +7 -0
- data/lib/assets/images/aloha/i18n/en.dict +7 -0
- data/lib/assets/images/aloha/i18n/eo.dict +5 -0
- data/lib/assets/images/aloha/i18n/fi.dict +5 -0
- data/lib/assets/images/aloha/i18n/fr.dict +5 -0
- data/lib/assets/images/aloha/i18n/it.dict +5 -0
- data/lib/assets/images/aloha/i18n/pl.dict +5 -0
- data/lib/assets/images/aloha/i18n/ru.dict +5 -0
- data/lib/assets/images/aloha/images/base.gif +0 -0
- data/lib/assets/images/aloha/images/base.png +0 -0
- data/lib/assets/images/aloha/images/base_big.png +0 -0
- data/lib/assets/images/aloha/images/base_multi.png +0 -0
- data/lib/assets/images/aloha/images/fade_in.png +0 -0
- data/lib/assets/images/aloha/images/fade_out.png +0 -0
- data/lib/assets/images/aloha/images/gentics_logo.png +0 -0
- data/lib/assets/images/aloha/images/grabhandle.png +0 -0
- data/lib/assets/images/aloha/images/maximize.png +0 -0
- data/lib/assets/images/aloha/images/multisplit-close.gif +0 -0
- data/lib/assets/images/aloha/images/multisplit-open.gif +0 -0
- data/lib/assets/images/aloha/images/multisplit_base.jpg +0 -0
- data/lib/assets/images/aloha/images/pin.png +0 -0
- data/lib/assets/images/aloha/images/removeformat.png +0 -0
- data/lib/assets/javascripts/aloha/aloha.js +304 -0
- data/lib/assets/javascripts/aloha/index.js +17 -0
- data/lib/assets/javascripts/aloha/jquery.cookie.js +96 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/i18n/de.dict +8 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/i18n/en.dict +8 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/plugin.js +168 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/imageplugin.css +20 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/images/image-align-left.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/images/image-align-none.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/images/image-align-right.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/images/image-border.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/at.tapo.aloha.plugins.Image/resources/images/image-title.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.css +48 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.html +69 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/de.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/en.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Abbr/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/de.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/en.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/eo.dict +29 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fi.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/fr.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/it.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/pl.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/ru.dict +30 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/css/HighlightEditables.css +14 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/LinkList.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/css/Link.css +15 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/delicious.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/de.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/en.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/fr.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/pl.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/ru.dict +4 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/css/LinkChecker.css +14 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.css +49 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.html +82 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/i18n/en.dict +27 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/proxy.php +235 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/de.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/en.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/eo.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fi.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/fr.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/it.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/i18n/ru.dict +2 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Paste/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Paste/wordpastehandler.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/de.dict +1 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/en.dict +1 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +1 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +14 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +14 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/eo.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fi.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/fr.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/it.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/pl.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/ru.dict +12 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +7 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/resources/down.cur +0 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/resources/left.cur +0 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +112 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_green.png +0 -0
- data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_red.png +0 -0
- data/lib/assets/javascripts/aloha/set_base_location.js +3 -0
- data/lib/assets/javascripts/aloha/start_aloha.js.coffee +3 -0
- data/lib/assets/stylesheets/aloha/css/aloha.css +455 -0
- data/lib/assets/stylesheets/aloha/deps/MIT-LICENSE.txt +20 -0
- data/lib/assets/stylesheets/aloha/deps/extjs/resources/css/ext-all.css +6795 -0
- data/lib/assets/stylesheets/aloha/deps/extjs/resources/css/xtheme-gray.css +1654 -0
- data/lib/assets/stylesheets/extjs/ext-all.css +6795 -0
- data/lib/assets/stylesheets/extjs/xtheme-gray.css +1654 -0
- metadata +596 -0
@@ -0,0 +1,30 @@
|
|
1
|
+
button.b.tooltip=Pogrubienie
|
2
|
+
button.i.tooltip=Kursywa
|
3
|
+
button.u.tooltip=Podkreślenie
|
4
|
+
button.cite.tooltip=Cytat
|
5
|
+
button.q.tooltip=
|
6
|
+
button.code.tooltip=Kod
|
7
|
+
button.abbr.tooltip=Skrót
|
8
|
+
button.del.tooltip=Przekreślenie
|
9
|
+
button.sub.tooltip=Indeks dolny
|
10
|
+
button.sup.tooltip=Indeks górny
|
11
|
+
button.p.tooltip=Paragraf
|
12
|
+
button.h1.tooltip=Nagłówek 1
|
13
|
+
button.h2.tooltip=Nagłówek 2
|
14
|
+
button.h3.tooltip=Nagłówek 3
|
15
|
+
button.h4.tooltip=Nagłówek 4
|
16
|
+
button.h5.tooltip=Nagłówek 5
|
17
|
+
button.h6.tooltip=Nagłówek 6
|
18
|
+
button.pre.tooltip=Tekst preformatowany
|
19
|
+
button.title.tooltip=Tytuł
|
20
|
+
button.removeFormat.tooltip=Usuń formatowanie
|
21
|
+
button.removeFormat.text=Usuń formatowanie
|
22
|
+
GENTICS_button_p=GENTICS_button_p
|
23
|
+
GENTICS_button_h1=GENTICS_button_h1
|
24
|
+
GENTICS_button_h2=GENTICS_button_h2
|
25
|
+
GENTICS_button_h3=GENTICS_button_h3
|
26
|
+
GENTICS_button_h4=GENTICS_button_h4
|
27
|
+
GENTICS_button_h5=GENTICS_button_h5
|
28
|
+
GENTICS_button_h6=GENTICS_button_h6
|
29
|
+
GENTICS_button_pre=GENTICS_button_pre
|
30
|
+
GENTICS_button_title=GENTICS_button_title
|
@@ -0,0 +1,30 @@
|
|
1
|
+
button.b.tooltip=Полужирный
|
2
|
+
button.i.tooltip=Курсив
|
3
|
+
button.u.tooltip=Подчеркивание
|
4
|
+
button.cite.tooltip=Цитировать
|
5
|
+
button.q.tooltip=Цитата
|
6
|
+
button.code.tooltip=Код
|
7
|
+
button.abbr.tooltip=Аббривиатура
|
8
|
+
button.del.tooltip=Перечеркивание
|
9
|
+
button.sub.tooltip=Нижний индекс
|
10
|
+
button.sup.tooltip=Верхний индекс
|
11
|
+
button.p.tooltip=Параграф
|
12
|
+
button.h1.tooltip=Заголовок 1
|
13
|
+
button.h2.tooltip=Заголовок 2
|
14
|
+
button.h3.tooltip=Заголовок 3
|
15
|
+
button.h4.tooltip=Заголовок 4
|
16
|
+
button.h5.tooltip=Заголовок 5
|
17
|
+
button.h6.tooltip=Заголовок 6
|
18
|
+
button.pre.tooltip=Отформатированный текс
|
19
|
+
button.title.tooltip=Название
|
20
|
+
button.removeFormat.tooltip=Убрать форматирование
|
21
|
+
button.removeFormat.text=Убрать форматирование
|
22
|
+
GENTICS_button_p=GENTICS_button_p
|
23
|
+
GENTICS_button_h1=GENTICS_button_h1
|
24
|
+
GENTICS_button_h2=GENTICS_button_h2
|
25
|
+
GENTICS_button_h3=GENTICS_button_h3
|
26
|
+
GENTICS_button_h4=GENTICS_button_h4
|
27
|
+
GENTICS_button_h5=GENTICS_button_h5
|
28
|
+
GENTICS_button_h6=GENTICS_button_h6
|
29
|
+
GENTICS_button_pre=GENTICS_button_pre
|
30
|
+
GENTICS_button_title=GENTICS_button_title
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
GENTICS.Aloha.Format=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.Format");GENTICS.Aloha.Format.languages=["en","de","fr","eo","fi","ru","it","pl"];GENTICS.Aloha.Format.config=["b","i","del","sub","sup","p","h1","h2","h3","h4","h5","h6","pre","removeFormat"];GENTICS.Aloha.Format.init=function(){this.initButtons();var that=this;GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(e,params){that.applyButtonConfig(params.editable.obj)})};GENTICS.Aloha.Format.applyButtonConfig=function(obj){config=this.getEditableConfig(obj);for(var button in this.buttons){if(jQuery.inArray(button,config)!=-1){this.buttons[button].button.show()}else{this.buttons[button].button.hide()}}for(var i in this.multiSplitItems){if(jQuery.inArray(this.multiSplitItems[i].name,config)!=-1){this.multiSplitButton.extButton.showItem(this.multiSplitItems[i].name)}else{this.multiSplitButton.extButton.hideItem(this.multiSplitItems[i].name)}}};GENTICS.Aloha.Format.initButtons=function(){var scope="GENTICS.Aloha.continuoustext";this.buttons={};var that=this;this.multiSplitItems=new Array();this.multiSplitButton;jQuery.each(GENTICS.Aloha.Format.config,function(j,button){switch(button){case"b":case"i":case"cite":case"q":case"code":case"abbr":case"del":case"sub":case"sup":that.buttons[button]={button:new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_"+button,size:"small",onclick:function(){if(GENTICS.Aloha.activeEditable){GENTICS.Aloha.activeEditable.obj[0].focus()}var markup=jQuery("<"+button+"></"+button+">");var rangeObject=GENTICS.Aloha.Selection.rangeObject;var foundMarkup=rangeObject.findMarkup(function(){return this.nodeName.toLowerCase()==markup.get(0).nodeName.toLowerCase()},GENTICS.Aloha.activeEditable.obj);if(foundMarkup){if(rangeObject.isCollapsed()){GENTICS.Utils.Dom.removeFromDOM(foundMarkup,rangeObject,true)}else{GENTICS.Utils.Dom.removeMarkup(rangeObject,markup,GENTICS.Aloha.activeEditable.obj)}}else{if(rangeObject.isCollapsed()){GENTICS.Utils.Dom.extendToWord(rangeObject)}GENTICS.Utils.Dom.addMarkup(rangeObject,markup)}rangeObject.select();return false},tooltip:that.i18n("button."+button+".tooltip"),toggle:true}),markup:jQuery("<"+button+"></"+button+">")};GENTICS.Aloha.FloatingMenu.addButton(scope,that.buttons[button].button,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),1);break;case"p":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"pre":that.multiSplitItems.push({name:button,tooltip:that.i18n("button."+button+".tooltip"),iconClass:"GENTICS_button "+that.i18n("GENTICS_button_"+button),markup:jQuery("<"+button+"></"+button+">"),click:function(){if(GENTICS.Aloha.activeEditable){GENTICS.Aloha.activeEditable.obj[0].focus()}GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+button+"></"+button+">"))}});break;case"removeFormat":that.multiSplitItems.push({name:button,text:that.i18n("button."+button+".text"),tooltip:that.i18n("button."+button+".tooltip"),iconClass:"GENTICS_button GENTICS_button_"+button,wide:true,click:function(){GENTICS.Aloha.Format.removeFormat()}});break;default:GENTICS.Aloha.log("warn",this,'Button "'+button+'" is not defined');break}});if(this.multiSplitItems.length>0){this.multiSplitButton=new GENTICS.Aloha.ui.MultiSplitButton({items:this.multiSplitItems});GENTICS.Aloha.FloatingMenu.addButton(scope,this.multiSplitButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),3)}GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"selectionChanged",function(event,rangeObject){jQuery.each(that.buttons,function(index,button){for(var i=0;i<rangeObject.markupEffectiveAtStart.length;i++){var effectiveMarkup=rangeObject.markupEffectiveAtStart[i];if(GENTICS.Aloha.Selection.standardTextLevelSemanticsComparator(effectiveMarkup,button.markup)){button.button.setPressed(true);var statusWasSet=true}}if(!statusWasSet){button.button.setPressed(false)}});if(that.multiSplitItems.length>0){var foundMultiSplit=false;for(var i=0;i<rangeObject.markupEffectiveAtStart.length&&!foundMultiSplit;i++){var effectiveMarkup=rangeObject.markupEffectiveAtStart[i];for(var j=0;j<that.multiSplitItems.length&&!foundMultiSplit;j++){var multiSplitItem=that.multiSplitItems[j];if(!multiSplitItem.markup){continue}if(GENTICS.Aloha.Selection.standardTextLevelSemanticsComparator(effectiveMarkup,multiSplitItem.markup)){that.multiSplitButton.setActiveItem(multiSplitItem.name);foundMultiSplit=true}}}if(!foundMultiSplit){that.multiSplitButton.setActiveItem(null)}}})};GENTICS.Aloha.Format.removeFormat=function(){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<p></p>"));var formats=["b","i","cite","q","code","abbr","del","sub","sup"];var rangeObject=GENTICS.Aloha.Selection.rangeObject;var startObj=jQuery(rangeObject.startContainer);var limitObj=jQuery(rangeObject.limitObject);if(rangeObject.isCollapsed()||startObj===limitObj){return}var parent=startObj.parent();while(parent.get(0)!==limitObj.get(0)){var index=formats.indexOf(parent.get(0).nodeName.toLowerCase());parent=parent.parent();if(index!=-1){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[index]+"></"+formats[index]+">"));formats.splice(index,1)}}for(var i in formats){GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[i]+"></"+formats[i]+">"));GENTICS.Aloha.Selection.changeMarkupOnSelection(jQuery("<"+formats[i]+"></"+formats[i]+">"))}};GENTICS.Aloha.Format.toString=function(){return"com.gentics.aloha.plugins.Format"};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
|
8
|
+
.GENTICS_editable_highlight {
|
9
|
+
outline: #FFE767 solid 5px !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
.GENTICS_editable_active, .GENTICS_editable_active[contenteditable=true]:focus {
|
13
|
+
outline: #B7D6FA solid 5px !important;
|
14
|
+
}
|
data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
GENTICS.Aloha.HighlightEditables=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.highlighteditables");GENTICS.Aloha.HighlightEditables.init=function(){var that=this;GENTICS.Utils.Position.addMouseMoveCallback(function(){for(var i=0;i<GENTICS.Aloha.editables.length;i++){var editable=GENTICS.Aloha.editables[i];if(!GENTICS.Aloha.activeEditable&&!editable.isDisabled()){editable.obj.addClass("GENTICS_editable_highlight")}}});GENTICS.Utils.Position.addMouseStopCallback(function(){that.fade()});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(jEvent,aEvent){aEvent.editable.obj.addClass("GENTICS_editable_active");that.fade()});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableDeactivated",function(jEvent,aEvent){aEvent.editable.obj.removeClass("GENTICS_editable_active")})};GENTICS.Aloha.HighlightEditables.fade=function(){for(var i=0;i<GENTICS.Aloha.editables.length;i++){var editable=GENTICS.Aloha.editables[i].obj;if(editable.hasClass("GENTICS_editable_highlight")){editable.removeClass("GENTICS_editable_highlight").css("outline","5px solid #FFE767").animate({outlineWidth:"0px"},300,"swing",function(){jQuery(this).css("outline","")})}}};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
if(!GENTICS.Aloha.Repositories){GENTICS.Aloha.Repositories={}}GENTICS.Aloha.Repositories.LinkList=new GENTICS.Aloha.Repository("com.gentics.aloha.repositories.LinkList");GENTICS.Aloha.Repositories.LinkList.settings.data=[{name:"Aloha Editor - The HTML5 Editor",url:"http://aloha-editor.com",type:"website"},{name:"Aloha Logo",url:"http://www.aloha-editor.com/images/aloha-editor-logo.png",type:"image"}];GENTICS.Aloha.Repositories.LinkList.folder=[];GENTICS.Aloha.Repositories.LinkList.init=function(){for(var i=0;i<this.settings.data.length;i++){var e=this.settings.data[i];e.repositoryId=this.repositoryId;e.id=e.id?e.id:e.url;var u=e.uri=this.parseUri(e.url);var path=this.addFolder("",u.host);var pathparts=u.path.split("/");for(j=0;j<pathparts.length;j++){if(pathparts[j]&&pathparts[j].lastIndexOf(".")<0){path=this.addFolder(path,pathparts[j])}}e.parentId=path;this.settings.data[i]=new GENTICS.Aloha.Repository.Document(e)}this.repositoryName="Linklist"};GENTICS.Aloha.Repositories.LinkList.addFolder=function(path,name){var type=path?"folder":"hostname";var p=path?path+"/"+name:name;if(name&&!this.folder[p]){this.folder[p]=new GENTICS.Aloha.Repository.Folder({id:p,name:(name)?name:p,parentId:path,type:"host",repositoryId:this.repositoryId})}return p};GENTICS.Aloha.Repositories.LinkList.query=function(p,callback){var d=this.settings.data.filter(function(e,i,a){var r=new RegExp(p.queryString,"i");var ret=false;return((!p.queryString||e.name.match(r)||e.url.match(r))&&(!p.objectTypeFilter||jQuery.inArray(e.type,p.objectTypeFilter)>-1)&&(!p.inFolderId||p.inFolderId==e.parentId))});callback.call(this,d)};GENTICS.Aloha.Repositories.LinkList.getChildren=function(p,callback){var d=[];for(e in this.folder){var l=this.folder[e].parentId;if(typeof this.folder[e]!="function"&&(this.folder[e].parentId==p.inFolderId||(!this.folder[e].parentId&&p.inFolderId==this.repositoryId))){d.push(this.folder[e])}}callback.call(this,d)};GENTICS.Aloha.Repositories.LinkList.parseUri=function(str){var o={strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},m=o.parser[o.strictMode?"strict":"loose"].exec(str),uri={},i=14;while(i--){uri[o.key[i]]=m[i]||""}uri[o.q.name]={};uri[o.key[12]].replace(o.q.parser,function($0,$1,$2){if($1){uri[o.q.name][$1]=$2}});return uri};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*!
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
|
8
|
+
.GENTICS_link_pointer {
|
9
|
+
cursor: pointer;
|
10
|
+
}
|
11
|
+
|
12
|
+
.GENTICS_link_text {
|
13
|
+
cursor: text;
|
14
|
+
}
|
15
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
if(!GENTICS.Aloha.Repositories){GENTICS.Aloha.Repositories={}}GENTICS.Aloha.Repositories.delicious=new GENTICS.Aloha.Repository("com.gentics.aloha.repositories.delicious");GENTICS.Aloha.Repositories.delicious.settings.username="draftkraft";GENTICS.Aloha.Repositories.delicious.settings.weight=0.35;GENTICS.Aloha.Repositories.delicious.init=function(){var that=this;if(this.settings.weight+0.15>1){this.settings.weight=1-0.15}this.deliciousURL="http://feeds.delicious.com/v2/json/";if(this.settings.username){this.deliciousURL+=this.settings.username+"/";this.repositoryName="deliciuos/"+this.settings.username;this.tags=[];jQuery.ajax({type:"GET",dataType:"jsonp",url:"http://feeds.delicious.com/v2/json/tags/"+that.settings.username,success:function(data){for(var tag in data){that.tags.push(tag)}}})}else{this.repositoryName="deliciuos/"+popular;this.deliciousURL+="tag/"}};GENTICS.Aloha.Repositories.delicious.query=function(p,callback){var that=this;if(p.objectTypeFilter&&jQuery.inArray("website",p.objectTypeFilter)==-1){callback.call(this,[])}else{var tags=[];if(this.settings.username){var queryTags=p.queryString?p.queryString.split(" "):[];for(var i=0;i<queryTags.length;i++){var queryTag=queryTags[i].trim();if(jQuery.inArray(queryTag,that.tags)==-1){var newtags=that.tags.filter(function(e,i,a){var r=new RegExp(queryTag,"i");return(e.match(r))});if(newtags.length>0){tags.push(newtags[0])}}else{tags.push(queryTag)}}}else{tags=p.queryString.split(" ")}var folderTags=p.inFolderId?p.inFolderId.split("+"):[];jQuery.extend(tags,folderTags);if(p.queryString&&tags.length==0){callback.call(that,[]);return}jQuery.ajax({type:"GET",dataType:"jsonp",url:that.deliciousURL+tags.join("+"),success:function(data){var items=[];for(var i=0;i<data.length;i++){if(typeof data[i]!="function"){items.push(new GENTICS.Aloha.Repository.Document({id:data[i].u,name:data[i].d,repositoryId:that.repositoryId,type:"website",url:data[i].u,weight:that.settings.weight+(15-1)/100}))}}callback.call(that,items)}})}};GENTICS.Aloha.Repositories.delicious.getChildren=function(p,callback){var that=this;if(this.settings.username){var items=[];if(p.inFolderId==this.repositoryId){for(var i=0;i<this.tags.length;i++){if(typeof this.tags[i]!="function"){items.push(new GENTICS.Aloha.Repository.Folder({id:this.tags[i],name:this.tags[i],repositoryId:this.repositoryId,type:"tag",url:"http://feeds.delicious.com/v2/rss/tags/"+that.settings.username+"/"+this.tags[i]}))}}callback.call(this,items)}else{jQuery.ajax({type:"GET",dataType:"jsonp",url:"http://feeds.delicious.com/v2/json/tags/"+that.settings.username+"/"+p.inFolderId,success:function(data){var items=[];for(var tag in data){var id=(p.inFolderId)?p.inFolderId+"+"+tag:tag;if(typeof data[tag]!="function"){items.push(new GENTICS.Aloha.Repository.Folder({id:id,name:tag,repositoryId:that.repositoryId,type:"tag",url:"http://feeds.delicious.com/v2/rss/tags/"+that.settings.username+"/"+id,hasMoreItems:true}))}}callback.call(that,items)}})}}else{callback.call(this,[])}};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
GENTICS.Aloha.Link=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.Link");GENTICS.Aloha.Link.languages=["en","de","fr","ru","pl"];GENTICS.Aloha.Link.config=["a"];GENTICS.Aloha.Link.targetregex="";GENTICS.Aloha.Link.target="";GENTICS.Aloha.Link.cssclassregex="";GENTICS.Aloha.Link.cssclass="";GENTICS.Aloha.Link.objectTypeFilter=[];GENTICS.Aloha.Link.onHrefChange=null;GENTICS.Aloha.Link.init=function(){if(GENTICS.Aloha.Link.settings.targetregex!=undefined){GENTICS.Aloha.Link.targetregex=GENTICS.Aloha.Link.settings.targetregex}if(GENTICS.Aloha.Link.settings.target!=undefined){GENTICS.Aloha.Link.target=GENTICS.Aloha.Link.settings.target}if(GENTICS.Aloha.Link.settings.cssclassregex!=undefined){GENTICS.Aloha.Link.cssclassregex=GENTICS.Aloha.Link.settings.cssclassregex}if(GENTICS.Aloha.Link.settings.cssclass!=undefined){GENTICS.Aloha.Link.cssclass=GENTICS.Aloha.Link.settings.cssclass}if(GENTICS.Aloha.Link.settings.objectTypeFilter!=undefined){GENTICS.Aloha.Link.objectTypeFilter=GENTICS.Aloha.Link.settings.objectTypeFilter}if(GENTICS.Aloha.Link.settings.onHrefChange!=undefined){GENTICS.Aloha.Link.onHrefChange=GENTICS.Aloha.Link.settings.onHrefChange}this.createButtons();this.subscribeEvents();this.bindInteractions()};GENTICS.Aloha.Link.createButtons=function(){var that=this;this.formatLinkButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a",size:"small",onclick:function(){that.formatLink()},tooltip:this.i18n("button.addlink.tooltip"),toggle:true});GENTICS.Aloha.FloatingMenu.addButton("GENTICS.Aloha.continuoustext",this.formatLinkButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.format"),1);this.insertLinkButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a",size:"small",onclick:function(){that.insertLink(false)},tooltip:this.i18n("button.addlink.tooltip"),toggle:false});GENTICS.Aloha.FloatingMenu.addButton("GENTICS.Aloha.continuoustext",this.insertLinkButton,GENTICS.Aloha.i18n(GENTICS.Aloha,"floatingmenu.tab.insert"),1);GENTICS.Aloha.FloatingMenu.createScope(this.getUID("link"),"GENTICS.Aloha.continuoustext");this.browser=new GENTICS.Aloha.ui.Browser();this.browser.setObjectTypeFilter(GENTICS.Aloha.Link.objectTypeFilter);this.browser.onSelect=function(item){that.hrefField.setItem(item);that.hrefChange()};this.repositoryButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button_big GENTICS_button_tree",size:"large",onclick:function(){that.browser.show()},tooltip:this.i18n("button.addlink.tooltip"),toggle:false});GENTICS.Aloha.FloatingMenu.addButton(this.getUID("link"),this.repositoryButton,this.i18n("floatingmenu.tab.link"),1);this.hrefField=new GENTICS.Aloha.ui.AttributeField({width:320});this.hrefField.setObjectTypeFilter(GENTICS.Aloha.Link.objectTypeFilter);GENTICS.Aloha.FloatingMenu.addButton(this.getUID("link"),this.hrefField,this.i18n("floatingmenu.tab.link"),1);this.removeLinkButton=new GENTICS.Aloha.ui.Button({iconClass:"GENTICS_button GENTICS_button_a_remove",size:"small",onclick:function(){that.removeLink()},tooltip:this.i18n("button.removelink.tooltip")});GENTICS.Aloha.FloatingMenu.addButton(this.getUID("link"),this.removeLinkButton,this.i18n("floatingmenu.tab.link"),1)};GENTICS.Aloha.Link.bindInteractions=function(){var that=this;this.hrefField.addListener("keyup",function(obj,event){if(event.keyCode==27){var curval=that.hrefField.getQueryValue();if(curval[0]=="/"||curval.match(/^.*\.([a-z]){2,4}$/i)||curval[0]=="#"||curval.match(/^htt.*/i)){}else{}}that.hrefChange()});this.hrefField.addListener("blur",function(obj,event){if(this.getValue()==""){that.removeLink()}});for(var i=0;i<GENTICS.Aloha.editables.length;i++){GENTICS.Aloha.editables[i].obj.keydown(function(e){if(e.metaKey&&e.which==76){if(that.findLinkMarkup()){GENTICS.Aloha.FloatingMenu.userActivatedTab=that.i18n("floatingmenu.tab.link");GENTICS.Aloha.FloatingMenu.doLayout();that.hrefField.focus()}else{that.insertLink()}return false}});GENTICS.Aloha.editables[i].obj.find("a").each(function(i){jQuery(this).mouseenter(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"mouse over link.");that.mouseOverLink=this;that.updateMousePointer()});jQuery(this).mouseleave(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"mouse left link.");that.mouseOverLink=null;that.updateMousePointer()});jQuery(this).click(function(e){if(e.metaKey){GENTICS.Aloha.activeEditable.blur();setTimeout(function(){location.href=e.target},0);e.stopPropagation();return false}})})}jQuery(document).keydown(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"Meta key down.");that.metaKey=e.metaKey;that.updateMousePointer()});jQuery(document).keyup(function(e){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"Meta key up.");that.metaKey=e.metaKey;that.updateMousePointer()})};GENTICS.Aloha.Link.updateMousePointer=function(){if(this.metaKey&&this.mouseOverLink){GENTICS.Aloha.Log.debug(GENTICS.Aloha.Link,"set pointer");jQuery(this.mouseOverLink).removeClass("GENTICS_link_text");jQuery(this.mouseOverLink).addClass("GENTICS_link_pointer")}else{jQuery(this.mouseOverLink).removeClass("GENTICS_link_pointer");jQuery(this.mouseOverLink).addClass("GENTICS_link_text")}};GENTICS.Aloha.Link.subscribeEvents=function(){var that=this;GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"selectionChanged",function(event,rangeObject){if(GENTICS.Aloha.activeEditable){var config=that.getEditableConfig(GENTICS.Aloha.activeEditable.obj);if(jQuery.inArray("a",config)!=-1){that.formatLinkButton.show();that.insertLinkButton.show()}else{that.formatLinkButton.hide();that.insertLinkButton.hide();return}var foundMarkup=that.findLinkMarkup(rangeObject);if(foundMarkup){that.insertLinkButton.hide();that.formatLinkButton.setPressed(true);GENTICS.Aloha.FloatingMenu.setScope(that.getUID("link"));that.hrefField.setTargetObject(foundMarkup,"href")}else{that.formatLinkButton.setPressed(false);that.hrefField.setTargetObject(null)}GENTICS.Aloha.FloatingMenu.doLayout()}})};GENTICS.Aloha.Link.findLinkMarkup=function(range){if(typeof range=="undefined"){var range=GENTICS.Aloha.Selection.getRangeObject()}if(GENTICS.Aloha.activeEditable){return range.findMarkup(function(){return this.nodeName.toLowerCase()=="a"},GENTICS.Aloha.activeEditable.obj)}else{return null}};GENTICS.Aloha.Link.formatLink=function(){var range=GENTICS.Aloha.Selection.getRangeObject();if(GENTICS.Aloha.activeEditable){if(this.findLinkMarkup(range)){this.removeLink()}else{this.insertLink()}}};GENTICS.Aloha.Link.insertLink=function(extendToWord){if(this.findLinkMarkup(range)){return}GENTICS.Aloha.FloatingMenu.userActivatedTab=this.i18n("floatingmenu.tab.link");var range=GENTICS.Aloha.Selection.getRangeObject();if(range.isCollapsed()&&extendToWord!=false){GENTICS.Utils.Dom.extendToWord(range)}if(range.isCollapsed()){var linkText=this.i18n("newlink.defaulttext");var newLink=jQuery('<a href="">'+linkText+"</a>");GENTICS.Utils.Dom.insertIntoDOM(newLink,range,jQuery(GENTICS.Aloha.activeEditable.obj));range.startContainer=range.endContainer=newLink.contents().get(0);range.startOffset=0;range.endOffset=linkText.length}else{var newLink=jQuery('<a href=""></a>');GENTICS.Utils.Dom.addMarkup(range,newLink,false)}range.select();this.hrefField.focus();this.hrefChange()};GENTICS.Aloha.Link.removeLink=function(){var range=GENTICS.Aloha.Selection.getRangeObject();var foundMarkup=this.findLinkMarkup();if(foundMarkup){GENTICS.Utils.Dom.removeFromDOM(foundMarkup,range,true);GENTICS.Aloha.activeEditable.obj[0].focus();range.select()}};GENTICS.Aloha.Link.hrefChange=function(){this.hrefField.setAttribute("target",this.target,this.targetregex,this.hrefField.getQueryValue());this.hrefField.setAttribute("class",this.cssclass,this.cssclassregex,this.hrefField.getQueryValue());if(typeof this.onHrefChange=="function"){this.onHrefChange.call(this,this.hrefField.getTargetObject(),this.hrefField.getQueryValue(),this.hrefField.getItem())}GENTICS.Aloha.EventRegistry.trigger(new GENTICS.Aloha.Event("hrefChanged",GENTICS.Aloha,{obj:this.hrefField.getTargetObject(),href:this.hrefField.getQueryValue(),item:this.hrefField.getItem()}))};GENTICS.Aloha.Link.makeClean=function(obj){obj.find("a").each(function(){jQuery(this).removeClass("GENTICS_link_pointer");jQuery(this).removeClass("GENTICS_link_text")})};
|
data/lib/assets/javascripts/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/css/LinkChecker.css
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
|
8
|
+
.GENTICS_link_error {
|
9
|
+
color: red !important;
|
10
|
+
}
|
11
|
+
|
12
|
+
.GENTICS_link_warn {
|
13
|
+
color: red !important;
|
14
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
body {
|
2
|
+
font-family: sans-serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
background-color: #ccc;
|
7
|
+
}
|
8
|
+
|
9
|
+
#bodyContent {
|
10
|
+
font-size:0.9em;
|
11
|
+
}
|
12
|
+
|
13
|
+
h1, h2, h3, h4, h5, h6 {
|
14
|
+
font-family: sans-serif;
|
15
|
+
padding-bottom:0.1em;
|
16
|
+
padding-top:0.5em;
|
17
|
+
}
|
18
|
+
h1 {
|
19
|
+
border-bottom:1px solid #AAAAAA;
|
20
|
+
}
|
21
|
+
|
22
|
+
h1 { font-size: 188%; }
|
23
|
+
h2 { font-size: 150%; }
|
24
|
+
h3 { font-size: 132%; }
|
25
|
+
h4 { font-size: 116%; }
|
26
|
+
h5 { font-size: 100%; }
|
27
|
+
h6 { font-size: 80%; }
|
28
|
+
|
29
|
+
#main {
|
30
|
+
width: 650px;
|
31
|
+
margin-top: 40px;
|
32
|
+
margin-left: auto ;
|
33
|
+
margin-right: auto ;
|
34
|
+
padding: 70px;
|
35
|
+
background-color: white;
|
36
|
+
border-radius: 1px;
|
37
|
+
-moz-border-radius: 1px;
|
38
|
+
box-shadow: 5px 5px rgba(0,0,0,0.3);
|
39
|
+
-webkit-box-shadow: 5px 5px rgba(0,0,0,0.3);
|
40
|
+
-moz-box-shadow: 5px 5px rgba(0,0,0,0.3);
|
41
|
+
}
|
42
|
+
|
43
|
+
.GENTICS_link_error {
|
44
|
+
color: red;
|
45
|
+
}
|
46
|
+
|
47
|
+
.GENTICS_link_warn {
|
48
|
+
color: orange;
|
49
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>Aloha, link checker!</title>
|
6
|
+
<script>GENTICS_Aloha_base="../../../";</script>
|
7
|
+
<script type="text/javascript" src="../../../core/include.js"></script>
|
8
|
+
<script type="text/javascript" src="../../../plugins/com.gentics.aloha.plugins.Link/plugin.js"></script>
|
9
|
+
<script type="text/javascript" src="../plugin.js"></script>
|
10
|
+
|
11
|
+
|
12
|
+
<link rel="stylesheet" href="AlohaLinkChecker.css" />
|
13
|
+
|
14
|
+
<!-- turn an element into editable Aloha continuous text -->
|
15
|
+
<script type="text/javascript">
|
16
|
+
GENTICS.Aloha.settings = {
|
17
|
+
logLevels: {'error': true, 'warn': true, 'info': true, 'debug': false},
|
18
|
+
errorhandling : false,
|
19
|
+
ribbon: false,
|
20
|
+
"i18n": {
|
21
|
+
// let the system detect the users language
|
22
|
+
//"acceptLanguage": '<?=$_SERVER['HTTP_ACCEPT_LANGUAGE']?>'
|
23
|
+
"acceptLanguage": 'de-de,de;q=0.8,it;q=0.6,en-us;q=0.7,en;q=0.2'
|
24
|
+
},
|
25
|
+
"plugins": {
|
26
|
+
"com.gentics.aloha.plugins.LinkChecker": {
|
27
|
+
'config': ['a'],
|
28
|
+
// use a proxy when you call it through a webserver
|
29
|
+
// 'proxyUrl': 'http://localhost:8888/Sites/Aloha-Editor/WebContent/plugins/com.gentics.aloha.plugins.LinkChecker/proxy.php?url='
|
30
|
+
}
|
31
|
+
}
|
32
|
+
};
|
33
|
+
|
34
|
+
$(document).ready(function() {
|
35
|
+
$('#content').aloha();
|
36
|
+
});
|
37
|
+
</script>
|
38
|
+
<style type="text/css">
|
39
|
+
|
40
|
+
.GENTICS_link_error {
|
41
|
+
color: red;
|
42
|
+
}
|
43
|
+
|
44
|
+
.GENTICS_link_warn {
|
45
|
+
color: red;
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
<div id="main">
|
51
|
+
<div id="bodyContent">
|
52
|
+
<div id="content" class="article">
|
53
|
+
<h1>Aloha</h1>
|
54
|
+
<h2>Etymology</h2>
|
55
|
+
<p>The word <a href="http://en.wikipedia.org/wiki/Aloha" target="_blank" class="external">aloha</a> derives from the Proto-Polynesian root <i>*qalofa</i>. It has cognates in other Polynesian languages, such as Samoan alofa
|
56
|
+
and Māori aroha, also meaning "love."</p>
|
57
|
+
<p><a href="http://aloha-editor.com/invalid">invalid Aloha Editor</a> is the word's most advanced browser based Editor made with aloha passion.</p>
|
58
|
+
<p>A folk etymology claims that it derives from a compound of the <a href="http://en.wikipedia.org/wiki/Hawaii" target="_blank" class="external">Hawaiian</a> words alo meaning "presence", "front", "face", or "share"; and
|
59
|
+
ha, meaning "breath of life" or "essence of life." Although alo does indeed mean "presence" etc., the word for breath is spelled with a macron
|
60
|
+
or kahakō over the a (hā) whereas the word aloha does not have a long a.</p>
|
61
|
+
<p>Links are the web's <a title="Aloha Editor rocks." href="http://rocket-power.org/not-working">Rocket Power</a>.</p>
|
62
|
+
<h2>Usage</h2>
|
63
|
+
<p>Before contact with the West, the words used for greeting were welina and anoai. Today, "aloha kakahiaka" is the phrase for "good
|
64
|
+
morning." "Aloha ʻauinalā" means "good afternoon" and "aloha ahiahi" means "good evening." "Aloha kākou" is a common form of "welcome to all."</p>
|
65
|
+
<p>In modern Hawaiʻi, numerous businesses have aloha in their names, with more than 3 pages of listings in the Oʻahu phone book alone.</p>
|
66
|
+
<h2>Trends</h2>
|
67
|
+
<p>Recent trends are popularizing the term elsewhere in the United States. Popular entertainer, Broadway star and Hollywood actress Bette
|
68
|
+
Midler, born in Honolulu, uses the greeting frequently in national appearances. The word was also used frequently in the hit television drama
|
69
|
+
Hawaii Five-O. In the influential 1982 film comedy Fast Times at Ridgemont High, the eccentric teacher Mr. Hand makes use of the greeting. The
|
70
|
+
Aloha Spirit is a major concept in Lilo and Stitch, a very popular Disney series of movies and TV shows, set in Hawaiʻi. The drama series Lost,
|
71
|
+
shot in Hawaiʻi, has a thank you note at the end of the credits saying "We thank the people of Hawaiʻi and their Aloha Spirit". Aloha is a term
|
72
|
+
also used in the Nickelodeon program Rocket Power.</p>
|
73
|
+
<ul>
|
74
|
+
<li>Arguably the most famous historical Hawaiian song, "Aloha ʻOe" was written by the last queen of Hawaii, Liliʻuokalani.</li>
|
75
|
+
<li>The term inspired the name of the ALOHA Protocol introduced in the 1970s by the University of Hawaii.</li>
|
76
|
+
<li>In Hawaii someone can be said to have or show aloha in the way they treat others; whether family, friend, neighbor or stranger.</li>
|
77
|
+
</ul>
|
78
|
+
</div>
|
79
|
+
</div>
|
80
|
+
</div>
|
81
|
+
</body>
|
82
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
error.0=An Error occurred checking this URL.
|
3
|
+
error.400=Bad Request. The request cannot be fulfilled due to bad syntax.
|
4
|
+
error.401=Unauthorized. Authentication has failed or not yet been provided.
|
5
|
+
error.402=Payment Required.
|
6
|
+
error.403=Forbidden. The request was a legal request, but the server is refusing to respond to it.
|
7
|
+
error.404=Not Found. The requested resource could not be found, but may be available in the future.
|
8
|
+
error.405=Method Not Allowed.
|
9
|
+
error.406=Not Acceptable. Your browser does not support the content.
|
10
|
+
error.407=Proxy Authentication Required.
|
11
|
+
error.408=Request Timeout. The server timed out waiting for the request.
|
12
|
+
error.409=Conflict in the request.
|
13
|
+
error.410=This resource is gone.
|
14
|
+
error.411=Length Required by server. This Link may work in the browsers.
|
15
|
+
error.412=Precondition Failed. This Link may work in the browsers.
|
16
|
+
error.413=Request Entity Too Large. The request is larger than the server is willing or able to process.
|
17
|
+
error.414=Request-URI Too Long. The URI provided was too long for the server to process.
|
18
|
+
error.415=Unsupported Media Type. The request entity has a media type which the server or resource does not support.
|
19
|
+
error.416=Requested Range Not Satisfiable. The client has asked for a portion of the file, but the server cannot supply that portion.
|
20
|
+
error.417=Expectation Failed. The server cannot meet the requirements of your browser.
|
21
|
+
error.418=I'm a teapot. ;-)
|
22
|
+
error.500=Internal Server Error. A generic error message, given when no more specific message is suitable.
|
23
|
+
error.501=Not Implemented. The server either does not recognise the request method, or it lacks the ability to fulfill the request.
|
24
|
+
error.502=Bad Gateway. The server was acting as a gateway or proxy and received an invalid response from the upstream server.
|
25
|
+
error.503=Service Unavailable. The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.
|
26
|
+
error.504=Gateway Timeout. The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
|
27
|
+
error.505=HTTP Version Not Supported. The server does not support the HTTP protocol version used in the request.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* Aloha Editor
|
3
|
+
* Author & Copyright (c) 2010 Gentics Software GmbH
|
4
|
+
* aloha-sales@gentics.com
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
*/
|
7
|
+
GENTICS.Aloha.LinkChecker=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.LinkChecker");GENTICS.Aloha.LinkChecker.languages=["en"];GENTICS.Aloha.LinkChecker.errorCodes=[400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,500,501,502,503,504,505,506];GENTICS.Aloha.LinkChecker.warningCodes=[404,411,412,413,500,503,504,505];GENTICS.Aloha.LinkChecker.init=function(){this.proxyUrl=null;if(GENTICS.Aloha.LinkChecker.settings.proxyUrl!=undefined){this.proxyUrl=GENTICS.Aloha.LinkChecker.settings.proxyUrl}this.timer={};this.xhr={};var that=this;GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableActivated",function(jEvent,aEvent){aEvent.editable.obj.find("a").each(function(){that.checkLink(this,jQuery(this).attr("href"),0)})});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableDeactivated",function(jEvent,aEvent){that.makeClean(aEvent.editable.obj)});GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"hrefChanged",function(jEvent,aEvent){that.checkLink(aEvent.obj,"hrefChanged")})};GENTICS.Aloha.LinkChecker.checkLink=function(obj,scope,delay,timeout){var that=this;var url=jQuery(obj).attr("href");var cleanUrl=url;if(typeof url=="string"&&!/^http/.test(url.toLowerCase())){this.makeCleanLink(obj);return}if(this.proxyUrl){url=this.proxyUrl+url}if(this.xhr[scope]){this.xhr[scope].abort();this.xhr[scope]=undefined}this.timer[scope]=this.urlExists(url,function(xhr){that.makeCleanLink(obj)},function(xhr){if(obj){if(jQuery.inArray(xhr.status,that.errorCodes)>=0){var e=xhr.status}else{var e="0"}var o=jQuery(obj);if(o.attr("title")&&!o.attr("data-invalid")){o.attr("data-title",o.attr("title"))}o.attr("data-invalid","true");o.attr("title",cleanUrl+". "+that.i18n("error."+e));if(jQuery.inArray(xhr.status,that.warningCodes)>=0){o.addClass("GENTICS_link_warn")}else{o.addClass("GENTICS_link_error")}}},scope,timeout,delay)};GENTICS.Aloha.LinkChecker.urlExists=function(url,successFunc,failureFunc,scope,timeout,delay){var that=this;clearTimeout(this.timer[scope]);delay=(delay!=null&&delay!=undefined)?delay:700;var newTimer=setTimeout(function(){that.xhr[scope]=jQuery.ajax({url:url,timeout:timeout?10000:timeout,type:"HEAD",complete:function(xhr){clearTimeout(newTimer);try{if(xhr.status<400){successFunc.call(this,xhr)}else{failureFunc.call(this,xhr)}}catch(e){failureFunc.call(this,{status:0})}}})},delay);return newTimer};GENTICS.Aloha.LinkChecker.makeCleanLink=function(obj){if(obj){var o=jQuery(obj);if(o.attr("data-title")){o.attr("title",o.attr("data-title"))}else{o.removeAttr("title")}o.removeAttr("data-title");o.removeAttr("data-invalid");o.removeClass("GENTICS_link_error");o.removeClass("GENTICS_link_warn")}};GENTICS.Aloha.LinkChecker.makeClean=function(editable){var that=this;editable.find("a").each(function(){that.makeCleanLink(this)})};GENTICS.Aloha.LinkChecker.urlencode=function(str){str=(str+"").toString();return encodeURIComponent(str).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")};
|
@@ -0,0 +1,235 @@
|
|
1
|
+
<?php
|
2
|
+
/**
|
3
|
+
* Gentics Aloha Editor AJAX Gateway
|
4
|
+
* Copyright (c) 2010 Gentics Software GmbH
|
5
|
+
* Licensed unter the terms of http://www.aloha-editor.com/license.html
|
6
|
+
* aloha-sales@gentics.com
|
7
|
+
* Author Haymo Meran h.meran@gentics.com
|
8
|
+
* Author Johannes Schüth j.schuet@gentics.com
|
9
|
+
* Author Tobias Steiner t.steiner@gentics.com
|
10
|
+
*
|
11
|
+
* Testing from the command line:
|
12
|
+
* function getallheaders(){return array('X-Gentics' => 'X');};
|
13
|
+
* https url example: https://google.com/adsense
|
14
|
+
*
|
15
|
+
*/
|
16
|
+
|
17
|
+
// for debugging
|
18
|
+
//$_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.0';
|
19
|
+
//$_SERVER['REQUEST_METHOD'] = 'HEAD';
|
20
|
+
//error_reporting(E_ALL);
|
21
|
+
|
22
|
+
$request = array(
|
23
|
+
'method' => $_SERVER['REQUEST_METHOD'],
|
24
|
+
'protocol' => $_SERVER['SERVER_PROTOCOL'],
|
25
|
+
'headers' => getallheaders(),
|
26
|
+
//possibly use $HTTP_RAW_POST_DATA if available
|
27
|
+
'payload' => http_build_query($_POST),
|
28
|
+
);
|
29
|
+
|
30
|
+
// read url parameter
|
31
|
+
if (array_key_exists('url', $_GET)) {
|
32
|
+
$request['url'] = urldecode($_GET['url']);
|
33
|
+
} else {
|
34
|
+
header("HTTP/1.0 400 Bad Request");
|
35
|
+
echo "Gentics AJAX Gateway failed because parameter url is missing.";
|
36
|
+
exit();
|
37
|
+
}
|
38
|
+
|
39
|
+
// check if link exists
|
40
|
+
$response = http_request($request);
|
41
|
+
|
42
|
+
// Note HEAD does not always work even if specified...
|
43
|
+
// We use HEAD for Linkchecking so we do a 2nd request.
|
44
|
+
if (strtoupper($method) == 'HEAD' && (int)$response['status'] >= 400 ) {
|
45
|
+
|
46
|
+
$request['method'] = 'GET';
|
47
|
+
$response = http_request($request);
|
48
|
+
|
49
|
+
//since we handle a HEAD, we don't need to proxy any contents
|
50
|
+
fclose($response['socket']);
|
51
|
+
$response['socket'] = null;
|
52
|
+
}
|
53
|
+
|
54
|
+
// forward each returned header...
|
55
|
+
foreach ($response['headers'] as $key => $value) {
|
56
|
+
header("$key: $value");
|
57
|
+
}
|
58
|
+
|
59
|
+
//there is no need to specify a content length since we don't do keep
|
60
|
+
//alive, and this can cause problems for integration (e.g. gzip output,
|
61
|
+
//which would change the content length)
|
62
|
+
header('Content-Length:');
|
63
|
+
|
64
|
+
// output the contents if any
|
65
|
+
if (null !== $response['socket']) {
|
66
|
+
fpassthru($response['socket']);
|
67
|
+
fclose($response['socket']);
|
68
|
+
}
|
69
|
+
|
70
|
+
exit;
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Query an HTTP(S) URL with the given request parameters and return the
|
74
|
+
* response headers and status code. The socket is returned as well and
|
75
|
+
* will point to the begining of the response payload (after all headers
|
76
|
+
* have been read), and must be closed with fclose().
|
77
|
+
* @param $url the request URL
|
78
|
+
* @param $request the request method may optionally be overridden.
|
79
|
+
* @param $timeout connection and read timeout in seconds
|
80
|
+
*/
|
81
|
+
function http_request($request, $timeout = 5) {
|
82
|
+
|
83
|
+
$url = $request['url'];
|
84
|
+
// Extract the hostname from url
|
85
|
+
$parts = parse_url($url);
|
86
|
+
if (array_key_exists('host', $parts)) {
|
87
|
+
$remote = $parts['host'];
|
88
|
+
} else {
|
89
|
+
return myErrorHandler("url ($url) has no host. Is it relative?");
|
90
|
+
}
|
91
|
+
if (array_key_exists('port', $parts)) {
|
92
|
+
$port = $parts['port'];
|
93
|
+
} else {
|
94
|
+
$port = 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Beware that RFC2616 (HTTP/1.1) defines header fields as case-insensitive entities.
|
98
|
+
$request_headers = "";
|
99
|
+
foreach ($request['headers'] as $name => $value) {
|
100
|
+
switch (strtolower($name)) {
|
101
|
+
//ommit some headers
|
102
|
+
case "keep-alive":
|
103
|
+
case "connection":
|
104
|
+
case "cookie":
|
105
|
+
//TPDP: we don't handle any compressions encodings. this is only
|
106
|
+
//a problem if client communication is already compressed (which
|
107
|
+
//would double compress the content, once from the remote server
|
108
|
+
//to us, and once from us to the client, but the client would
|
109
|
+
//de-compress only once).
|
110
|
+
case "accept-encoding":
|
111
|
+
break;
|
112
|
+
// correct the host parameter
|
113
|
+
case "host":
|
114
|
+
$host_info = $remote;
|
115
|
+
if ($port) {
|
116
|
+
$host_info .= ':' . $port;
|
117
|
+
}
|
118
|
+
$request_headers .= "$name: $host_info\r\n";
|
119
|
+
break;
|
120
|
+
// forward all other headers
|
121
|
+
default:
|
122
|
+
$request_headers .= "$name: $value\r\n";
|
123
|
+
break;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
//set fsockopen transport scheme, and the default port
|
128
|
+
switch (strtolower($parts['scheme'])) {
|
129
|
+
case 'https':
|
130
|
+
$scheme = 'ssl://';
|
131
|
+
if ( ! $port ) $port = 443;
|
132
|
+
break;
|
133
|
+
case 'http':
|
134
|
+
$scheme = '';
|
135
|
+
if ( ! $port ) $port = 80;
|
136
|
+
break;
|
137
|
+
default:
|
138
|
+
//some other transports are available but not really supported
|
139
|
+
//by this script: http://php.net/manual/en/transports.inet.php
|
140
|
+
$scheme = $parts['scheme'] . '://';
|
141
|
+
if ( ! $port ) {
|
142
|
+
return myErrorHandler("Unknown scheme ($scheme) and no port.");
|
143
|
+
}
|
144
|
+
break;
|
145
|
+
}
|
146
|
+
|
147
|
+
//we make the request with socket operations since we don't want to
|
148
|
+
//depend on the curl extension, and the higher level wrappers don't
|
149
|
+
//give us usable error information.
|
150
|
+
$sock = @fsockopen("$scheme$remote", $port, $errno, $errstr, $timeout);
|
151
|
+
if ( ! $sock ) {
|
152
|
+
return myErrorHandler("Unable to open URL ($url): $errstr");
|
153
|
+
}
|
154
|
+
|
155
|
+
//timeout in fsockopen is only for the connection, the following is
|
156
|
+
//for reading the content
|
157
|
+
stream_set_timeout($sock, $timeout);
|
158
|
+
|
159
|
+
//absolute url should only be specified for proxy requests
|
160
|
+
if (array_key_exists('path', $parts)) {
|
161
|
+
$path_info = $parts['path'];
|
162
|
+
} else {
|
163
|
+
$path_info = '/';
|
164
|
+
}
|
165
|
+
|
166
|
+
if (array_key_exists('query', $parts)) $path_info .= '?' . $parts['query'];
|
167
|
+
if (array_key_exists('fragment', $parts)) $path_info .= '#' . $parts['fragment'];
|
168
|
+
|
169
|
+
$out = $request["method"]." ".$path_info." ".$request["protocol"]."\r\n"
|
170
|
+
. $request_headers
|
171
|
+
. "Connection: Close\r\n\r\n";
|
172
|
+
fwrite($sock, $out);
|
173
|
+
fwrite($sock, $request['payload']);
|
174
|
+
|
175
|
+
$header_str = stream_get_line($sock, 1024*16, "\r\n\r\n");
|
176
|
+
$headers = http_parse_headers($header_str);
|
177
|
+
|
178
|
+
// get http status
|
179
|
+
preg_match('|HTTP/\d+\.\d+\s+(\d+)\s+.*|i',$headers[0],$match);
|
180
|
+
$status = $match[1];
|
181
|
+
|
182
|
+
return array('headers' => $headers, 'socket' => $sock, 'status' => $status);
|
183
|
+
}
|
184
|
+
|
185
|
+
/**
|
186
|
+
* Parses a string containing multiple HTTP header lines into an array
|
187
|
+
* of key => values.
|
188
|
+
* Inspired by HTTP::Daemon (CPAN).
|
189
|
+
*/
|
190
|
+
function http_parse_headers($header_str) {
|
191
|
+
$headers = array();
|
192
|
+
|
193
|
+
//ignore leading blank lines
|
194
|
+
$header_str = preg_replace("/^(?:\x0D?\x0A)+/", '', $header_str);
|
195
|
+
|
196
|
+
while (preg_match("/^([^\x0A]*?)\x0D?(?:\x0A|\$)/", $header_str, $matches)) {
|
197
|
+
$header_str = substr($header_str, strlen($matches[0]));
|
198
|
+
$header_line = $matches[1];
|
199
|
+
|
200
|
+
if (empty($headers)) {
|
201
|
+
// the status line
|
202
|
+
$headers[] = $header_line;
|
203
|
+
}
|
204
|
+
elseif (preg_match('/^([^:\s]+)\s*:\s*(.*)/', $header_line, $matches)) {
|
205
|
+
if (isset($key)) {
|
206
|
+
//previous header is finished (was potentially multi-line)
|
207
|
+
$headers[$key] = $val;
|
208
|
+
}
|
209
|
+
list(,$key,$val) = $matches;
|
210
|
+
}
|
211
|
+
elseif (preg_match('/^\s+(.*)/', $header_line, $matches)) {
|
212
|
+
//continue a multi-line header
|
213
|
+
$val .= " ".$matches[1];
|
214
|
+
}
|
215
|
+
else {
|
216
|
+
//empty (possibly malformed) header signals the end of all headers
|
217
|
+
break;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
if (isset($key)) {
|
221
|
+
$headers[$key] = $val;
|
222
|
+
}
|
223
|
+
return $headers;
|
224
|
+
}
|
225
|
+
|
226
|
+
function myErrorHandler($msg)
|
227
|
+
{
|
228
|
+
// 500 could be misleading...
|
229
|
+
// Should we return a special Error when a proxy error occurs?
|
230
|
+
header("HTTP/1.0 500 Internal Error");
|
231
|
+
echo "Gentics Aloha Editor AJAX Gateway Error: $msg";
|
232
|
+
exit();
|
233
|
+
}
|
234
|
+
|
235
|
+
//EOF
|