locomotive_cms 0.0.4.beta12 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -15
- data/README.textile +4 -5
- data/app/controllers/admin/api_contents_controller.rb +1 -10
- data/app/controllers/admin/base_controller.rb +2 -2
- data/app/controllers/admin/cross_domain_sessions_controller.rb +4 -7
- data/app/controllers/admin/current_sites_controller.rb +0 -2
- data/app/controllers/admin/imports_controller.rb +19 -13
- data/app/controllers/admin/pages_controller.rb +1 -1
- data/app/controllers/admin/passwords_controller.rb +2 -2
- data/app/controllers/admin/sessions_controller.rb +2 -2
- data/app/controllers/admin/sites_controller.rb +0 -2
- data/app/controllers/admin/theme_assets_controller.rb +1 -1
- data/app/controllers/application_controller.rb +1 -1
- data/app/controllers/home_controller.rb +7 -0
- data/app/helpers/admin/assets_helper.rb +6 -0
- data/app/helpers/admin/custom_fields_helper.rb +2 -2
- data/app/helpers/admin/{box_helper.rb → login_helper.rb} +3 -7
- data/app/models/asset_collection.rb +3 -15
- data/app/models/content_instance.rb +0 -19
- data/app/models/content_type.rb +3 -21
- data/app/models/extensions/page/tree.rb +7 -63
- data/app/models/page.rb +0 -2
- data/app/models/site.rb +3 -15
- data/app/uploaders/asset_uploader.rb +1 -1
- data/app/uploaders/theme_asset_uploader.rb +1 -12
- data/app/views/admin/asset_collections/edit.html.haml +2 -2
- data/app/views/admin/asset_collections/new.html.haml +1 -1
- data/app/views/admin/assets/_form.html.haml +2 -2
- data/app/views/admin/content_types/_form.html.haml +2 -2
- data/app/views/admin/content_types/new.html.haml +1 -1
- data/app/views/admin/contents/_form.html.haml +2 -2
- data/app/views/admin/contents/index.html.haml +1 -1
- data/app/views/admin/cross_domain_sessions/new.html.haml +1 -1
- data/app/views/admin/current_sites/_form.html.haml +3 -3
- data/app/views/admin/current_sites/edit.html.haml +1 -1
- data/app/views/admin/imports/new.html.haml +0 -11
- data/app/views/admin/imports/show.html.haml +1 -1
- data/app/views/admin/my_accounts/edit.html.haml +1 -1
- data/app/views/admin/pages/_form.html.haml +3 -2
- data/app/views/admin/pages/_page.html.haml +2 -4
- data/app/views/admin/pages/index.html.haml +1 -1
- data/app/views/admin/passwords/edit.html.haml +2 -2
- data/app/views/admin/passwords/new.html.haml +2 -2
- data/app/views/admin/sessions/new.html.haml +2 -2
- data/app/views/admin/shared/_head.html.haml +5 -4
- data/app/views/admin/shared/menu/_contents.html.haml +1 -1
- data/app/views/admin/sites/_form.html.haml +3 -3
- data/app/views/admin/snippets/_form.html.haml +2 -2
- data/app/views/admin/snippets/index.html.haml +15 -0
- data/app/views/admin/theme_assets/_form.html.haml +2 -2
- data/app/views/admin/theme_assets/index.html.haml +1 -1
- data/app/views/home/show.html.haml +4 -0
- data/app/views/{admin/layouts → layouts/admin}/application.html.haml +0 -0
- data/app/views/layouts/admin/box.html.haml +19 -0
- data/app/views/layouts/application.html.haml +7 -0
- data/config/application.rb +3 -1
- data/config/environments/development.rb +6 -1
- data/config/environments/production.rb +1 -1
- data/config/environments/test.rb +5 -1
- data/config/initializers/locomotive.rb +0 -14
- data/config/locales/admin_ui_en.yml +1 -33
- data/config/locales/admin_ui_fr.yml +1 -34
- data/config/locales/default_en.yml +0 -1
- data/config/locales/default_fr.yml +0 -1
- data/config/locales/flash.en.yml +0 -1
- data/config/locales/flash.fr.yml +0 -1
- data/config/mongoid.yml +5 -13
- data/config/routes.rb +1 -6
- data/lib/generators/locomotive/copy_assets/copy_assets_generator.rb +14 -0
- data/lib/generators/locomotive/install/install_generator.rb +10 -18
- data/lib/generators/locomotive/install/templates/README +13 -23
- data/lib/generators/locomotive/install/templates/locomotive.rb +1 -15
- data/lib/locomotive/carrierwave.rb +0 -1
- data/lib/locomotive/configuration.rb +1 -3
- data/lib/locomotive/custom_fields.rb +1 -0
- data/lib/locomotive/delayed_job.rb +2 -1
- data/lib/locomotive/engine.rb +7 -24
- data/lib/locomotive/heroku.rb +0 -1
- data/lib/locomotive/httparty/webservice.rb +1 -12
- data/lib/locomotive/import.rb +0 -2
- data/lib/locomotive/import/asset_collections.rb +8 -40
- data/lib/locomotive/import/assets.rb +12 -20
- data/lib/locomotive/import/content_types.rb +15 -51
- data/lib/locomotive/import/job.rb +11 -106
- data/lib/locomotive/import/pages.rb +26 -79
- data/lib/locomotive/import/site.rb +5 -3
- data/lib/locomotive/import/snippets.rb +8 -6
- data/lib/locomotive/inherited_resources.rb +0 -1
- data/lib/locomotive/liquid/drops/asset_collections.rb +4 -4
- data/lib/locomotive/liquid/drops/contents.rb +16 -21
- data/lib/locomotive/liquid/drops/page.rb +0 -4
- data/lib/locomotive/liquid/filters/html.rb +29 -15
- data/lib/locomotive/liquid/tags/consume.rb +1 -1
- data/lib/locomotive/liquid/tags/nav.rb +17 -48
- data/lib/locomotive/liquid/tags/paginate.rb +3 -3
- data/lib/locomotive/middlewares/fonts.rb +11 -3
- data/lib/locomotive/misc_form_builder.rb +7 -2
- data/lib/locomotive/regexps.rb +1 -1
- data/lib/locomotive/render.rb +3 -9
- data/lib/locomotive/routing/site_dispatcher.rb +6 -10
- data/lib/locomotive/version.rb +1 -2
- data/public/images/admin/box/buttons/right_bg.png +0 -0
- data/public/javascripts/admin/aloha/VERSION.txt +1 -1
- data/public/javascripts/admin/aloha/aloha-nodeps.js +101 -140
- data/public/javascripts/admin/aloha/aloha.js +105 -193
- data/public/javascripts/admin/aloha/css/aloha.css +4 -65
- data/public/javascripts/admin/aloha/deps/prettyPhoto/resources/css/prettyPhoto.css +2 -2
- data/public/javascripts/admin/aloha/i18n/de.dict +0 -2
- data/public/javascripts/admin/aloha/i18n/en.dict +0 -2
- data/public/javascripts/admin/aloha/images/base.png +0 -0
- data/public/javascripts/admin/aloha/images/base_multi.png +0 -0
- data/public/javascripts/admin/aloha/images/fade_in.png +0 -0
- data/public/javascripts/admin/aloha/images/fade_out.png +0 -0
- data/public/javascripts/admin/aloha/images/gentics_logo.png +0 -0
- data/public/javascripts/admin/aloha/images/grabhandle.png +0 -0
- data/public/javascripts/admin/aloha/images/maximize.png +0 -0
- data/public/javascripts/admin/aloha/images/pin.png +0 -0
- data/public/javascripts/admin/aloha/images/removeformat.png +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/de.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/en.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/eo.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fi.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/fr.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/i18n/it.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.DummyDC/plugin.js +7 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/i18n/de.dict +0 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/i18n/en.dict +0 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/i18n/fi.dict +0 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/i18n/fr.dict +0 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/i18n/it.dict +0 -0
- data/public/javascripts/admin/aloha/plugins/{com.example.aloha.plugins.Save → com.example.aloha.DummySave}/plugin.js +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/de.dict +20 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/en.dict +20 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/eo.dict +16 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fi.dict +20 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/fr.dict +16 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/i18n/it.dict +20 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.GCN/plugin.js +7 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.HighlightEditables/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/css/jquery.autocomplete.css +48 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/deps/jquery.autocomplete.js +1 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressource.js +7 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourcedummy.js +7 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/ressourceregistry.js +7 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.List/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/de.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/en.dict +0 -2
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/plugin.js +1 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/table.css +110 -28
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Loader/plugin.js +1 -0
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/en.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fi.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/i18n/fr.dict +2 -0
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/person.css +3 -0
- data/public/javascripts/admin/aloha/plugins/eu.iksproject.plugins.Person/plugin.js +1 -0
- data/public/javascripts/admin/aloha/plugins/simpletable/plugin.js.deactivated +2330 -0
- data/public/javascripts/admin/asset_collections.js +7 -11
- data/public/javascripts/admin/contents.js +1 -3
- data/public/javascripts/admin/site.js +3 -9
- data/public/javascripts/admin/snippets.js +1 -1
- data/public/javascripts/admin/utils.js +3 -5
- data/public/stylesheets/admin/application.css +1 -1
- data/public/stylesheets/admin/box.css +5 -5
- data/public/stylesheets/admin/buttons.css +5 -0
- data/public/stylesheets/admin/formtastic_changes.css +12 -5
- data/public/stylesheets/admin/inline_editor.css +5 -22
- data/public/stylesheets/admin/layout.css +4 -9
- metadata +130 -187
- data/app/controllers/admin/installation_controller.rb +0 -79
- data/app/uploaders/theme_uploader.rb +0 -19
- data/app/views/admin/errors/no_page.html.haml +0 -1
- data/app/views/admin/errors/no_site.html.haml +0 -1
- data/app/views/admin/installation/step_1.html.haml +0 -24
- data/app/views/admin/installation/step_2.html.haml +0 -26
- data/app/views/admin/installation/step_3.html.haml +0 -23
- data/app/views/admin/layouts/box.html.haml +0 -21
- data/app/views/admin/layouts/error.html.haml +0 -1
- data/config/assets.yml +0 -96
- data/config/initializers/carrierwave.rb +0 -17
- data/lib/locomotive/import/base.rb +0 -46
- data/lib/locomotive/import/logger.rb +0 -13
- data/lib/locomotive/railties/tasks.rake +0 -16
- data/public/javascripts/admin/aloha/i18n/pl.dict +0 -5
- data/public/javascripts/admin/aloha/images/base_big.png +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.css +0 -86
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/examples/triSports.html +0 -44
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/de.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/en.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/i18n/fr.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/plugin.js +0 -1
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/product.js +0 -1
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/2xu-wetsuit.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/asics-noosa.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/fivefingers-kso.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/kuota-kueen-k.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/mizuno-wave-musha2.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product.css +0 -69
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/product_button.gif +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/simplon-mrt.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trek-fuel-ex.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/trisports.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.example.aloha.plugins.Product/resources/zoggs-predator.jpg +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.css +0 -48
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/examples/AlohaAbbr.html +0 -69
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/de.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/i18n/en.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Abbr/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Format/i18n/pl.dict +0 -30
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/LinkList.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/delicious.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Link/i18n/pl.dict +0 -4
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/css/LinkChecker.css +0 -14
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.css +0 -49
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/examples/AlohaLinkChecker.html +0 -82
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/i18n/en.dict +0 -27
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/proxy.php +0 -235
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/plugin.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/wordpastehandler.js +0 -7
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/de.dict +0 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.TOC/i18n/en.dict +0 -1
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/i18n/pl.dict +0 -12
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_green.png +0 -0
- data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_red.png +0 -0
- data/public/stylesheets/admin/installation.css +0 -50
- data/public/stylesheets/admin/safari.css +0 -15
data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.LinkChecker/i18n/en.dict
DELETED
@@ -1,27 +0,0 @@
|
|
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.
|
@@ -1,7 +0,0 @@
|
|
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,"+")};
|
@@ -1,235 +0,0 @@
|
|
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
|
@@ -1,7 +0,0 @@
|
|
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.PastePlugin=new GENTICS.Aloha.Plugin("com.gentics.aloha.plugins.Paste");GENTICS.Aloha.PastePlugin.pasteHandlers=[];GENTICS.Aloha.PastePlugin.init=function(){var that=this;this.pasteDiv=jQuery('<div style="position:absolute; top:-100000px; left:-100000px"></div>');this.pasteDiv.attr("contentEditable","true");jQuery("body").append(this.pasteDiv);GENTICS.Aloha.EventRegistry.subscribe(GENTICS.Aloha,"editableCreated",function(event,editable){if(jQuery.browser.msie){editable.obj.bind("beforepaste",function(event){that.redirectPaste()})}else{editable.obj.bind("paste",function(event){that.redirectPaste();window.setTimeout(function(){that.getPastedContent()},10)})}});if(jQuery.browser.msie){this.pasteDiv.bind("paste",function(event){window.setTimeout(function(){that.getPastedContent()},10)})}};GENTICS.Aloha.PastePlugin.redirectPaste=function(){this.currentRange=new GENTICS.Utils.RangeObject(true);this.currentEditable=GENTICS.Aloha.activeEditable;this.pasteDiv.text("");if(this.currentEditable){this.currentEditable.blur()}GENTICS.Utils.Dom.setCursorInto(this.pasteDiv.get(0));this.pasteDiv.focus()};GENTICS.Aloha.PastePlugin.getPastedContent=function(){var that=this;for(var i=0;i<this.pasteHandlers.length;++i){this.pasteHandlers[i].handlePaste(this.pasteDiv)}if(this.currentRange&&this.currentEditable){var pasteDivContents=this.pasteDiv.contents();for(var i=pasteDivContents.length-1;i>=0;--i){GENTICS.Utils.Dom.insertIntoDOM(jQuery(pasteDivContents.get(i)),that.currentRange,that.currentEditable.obj,false)}this.currentEditable.activate();this.currentEditable.obj.focus();if(pasteDivContents.length>0){GENTICS.Utils.Dom.setCursorAfter(pasteDivContents.get(pasteDivContents.length-1))}else{this.currentRange.select()}}this.currentRange=false;this.currentEditable=false;this.pasteDiv.text("")};GENTICS.Aloha.PastePlugin.register=function(pasteHandler){this.pasteHandlers.push(pasteHandler)};GENTICS.Aloha.PastePlugin.PasteHandler=function(){GENTICS.Aloha.PastePlugin.register(this)};GENTICS.Aloha.PastePlugin.PasteHandler.prototype.handlePaste=function(jqPasteDiv){};
|
data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Paste/wordpastehandler.js
DELETED
@@ -1,7 +0,0 @@
|
|
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.PastePlugin.WordPasteHandler=new GENTICS.Aloha.PastePlugin.PasteHandler();GENTICS.Aloha.PastePlugin.WordPasteHandler.handlePaste=function(jqPasteDiv){if(this.detectWordContent(jqPasteDiv)){this.transformWordContent(jqPasteDiv)}};GENTICS.Aloha.PastePlugin.WordPasteHandler.detectWordContent=function(jqPasteDiv){var wordDetected=false;jqPasteDiv.find("*").each(function(){var style=jQuery(this).attr("style");if(style){if(style.toLowerCase().indexOf("mso")>=0){wordDetected=true;return false}}var clazz=jQuery(this).attr("class");if(clazz){if(clazz.toLowerCase().indexOf("mso")>=0){wordDetected=true;return false}}});return wordDetected};GENTICS.Aloha.PastePlugin.WordPasteHandler.isOrderedList=function(listSpan){if(listSpan.css("fontFamily")=="Wingdings"||listSpan.css("fontFamily")=="Symbol"){return false}return listSpan.text().match(/^([0-9]{1,3}\.)|([0-9]{1,3}\)|([a-zA-Z]{1,5}\.)|([a-zA-Z]{1,5}\)))$/)?true:false};GENTICS.Aloha.PastePlugin.WordPasteHandler.transformListsFromWord=function(jqPasteDiv){var that=this;var listElementClass="aloha-list-element";var bulletClass="aloha-list-bullet";var detectionFilter="p.MsoListParagraphCxSpFirst,p.MsoListParagraph,p span";var paragraphs=jqPasteDiv.find(detectionFilter);paragraphs.each(function(){var jqElem=jQuery(this);if(jqElem.hasClass("MsoListParagraphCxSpFirst")||jqElem.hasClass("MsoListParagraph")){jqElem.addClass(listElementClass)}else{if(jqElem.css("font-family").indexOf("Symbol")>=0){jqElem.closest("p").addClass(listElementClass)}else{if(jqElem.css("mso-list")!=""){jqElem.closest("p").addClass(listElementClass)}}}});detectionFilter="p span span span";var spans=jqPasteDiv.find(detectionFilter);spans.each(function(){var jqElem=jQuery(this);var innerText=jqElem.text().trim().replace(/ /g,"");if(innerText.length==0){var outerText=jqElem.parent().parent().text().trim().replace(/ /g,"");if(outerText.match(/^([0-9]{1,3}\.)|([0-9]{1,3}\)|([a-zA-Z]{1,5}\.)|([a-zA-Z]{1,5}\)))$/)){jqElem.closest("p").addClass(listElementClass);jqElem.parent().parent().addClass(bulletClass)}}});detectionFilter="p."+listElementClass;var negateDetectionFilter=":not("+detectionFilter+")";paragraphs=jqPasteDiv.find(detectionFilter);if(paragraphs.length>0){paragraphs.each(function(){var jqElem=jQuery(this);jqElem.removeClass(listElementClass);jqElem.find("font").each(function(){jQuery(this).contents().unwrap()});var nestLevel=0;var margin=parseFloat(jqElem.css("marginLeft"));var lists=[];var following=jqElem.nextUntil(negateDetectionFilter);var firstSpan=jQuery(jqElem.find("span."+bulletClass));if(firstSpan.length==0){firstSpan=jQuery(jqElem.children("span:first"))}var ordered=that.isOrderedList(firstSpan);firstSpan.remove();var jqList=jQuery(ordered?"<ol></ol>":"<ul></ul>");lists.push(jqList);var jqNewLi=jQuery("<li></li>");jqList.append(jqNewLi);jqElem.contents().appendTo(jqNewLi);jqElem.replaceWith(jqList);following.each(function(){var jqElem=jQuery(this);jqElem.find("font").each(function(){jQuery(this).contents().unwrap()});var newMargin=parseFloat(jqElem.css("marginLeft"));firstSpan=jQuery(jqElem.find("span."+bulletClass));if(firstSpan.length==0){firstSpan=jQuery(jqElem.children("span:first"))}ordered=that.isOrderedList(firstSpan);firstSpan.remove();if(newMargin>margin){var jqNewList=jQuery(ordered?"<ol></ol>":"<ul></ul>");jqList.children(":last").append(jqNewList);jqList=jqNewList;lists.push(jqList);nestLevel++;margin=newMargin}else{if(newMargin<margin&&nestLevel>0){lists.pop();nestLevel--;jqList=lists[nestLevel];margin=newMargin}}jqNewLi=jQuery("<li></li>");jqList.append(jqNewLi);jqElem.contents().appendTo(jqNewLi);jqElem.remove()})})}};GENTICS.Aloha.PastePlugin.WordPasteHandler.transformTitles=function(jqPasteDiv){jqPasteDiv.find("p.MsoTitle").each(function(){GENTICS.Aloha.Markup.transformDomObject(jQuery(this),"h1")});jqPasteDiv.find("p.MsoSubtitle").each(function(){GENTICS.Aloha.Markup.transformDomObject(jQuery(this),"h2")})};GENTICS.Aloha.PastePlugin.WordPasteHandler.transformTables=function(jqPasteDiv){jqPasteDiv.find("table").each(function(){jQuery(this).removeAttr("border").removeAttr("cellspacing").removeAttr("cellpadding")});jqPasteDiv.find("td").each(function(){jQuery(this).removeAttr("width").removeAttr("height").removeAttr("valign")})};GENTICS.Aloha.PastePlugin.WordPasteHandler.transformFormattings=function(jqPasteDiv){jqPasteDiv.find("strong,em,s,u").each(function(){if(this.nodeName.toLowerCase()=="strong"){GENTICS.Aloha.Markup.transformDomObject(jQuery(this),"b")}else{if(this.nodeName.toLowerCase()=="em"){GENTICS.Aloha.Markup.transformDomObject(jQuery(this),"i")}else{if(this.nodeName.toLowerCase()=="s"){GENTICS.Aloha.Markup.transformDomObject(jQuery(this),"del")}else{if(this.nodeName.toLowerCase()=="u"){jQuery(this).contents().unwrap()}}}}})};GENTICS.Aloha.PastePlugin.WordPasteHandler.removeComments=function(jqPasteDiv){jqPasteDiv.contents().each(function(){if(this.nodeType==8){jQuery(this).remove()}})};GENTICS.Aloha.PastePlugin.WordPasteHandler.unwrapTags=function(jqPasteDiv){jqPasteDiv.find("span,font,div").each(function(){jQuery(this).contents().unwrap()})};GENTICS.Aloha.PastePlugin.WordPasteHandler.removeStyles=function(jqPasteDiv){jqPasteDiv.find("*").each(function(){jQuery(this).removeAttr("style").removeClass()})};GENTICS.Aloha.PastePlugin.WordPasteHandler.removeNamespacedElements=function(jqPasteDiv){jqPasteDiv.find("*").each(function(){var nsPrefix=this.prefix?this.prefix:(this.scopeName?this.scopeName:undefined);if(nsPrefix&&nsPrefix!="HTML"){jQuery(this).remove()}})};GENTICS.Aloha.PastePlugin.WordPasteHandler.transformWordContent=function(jqPasteDiv){this.transformListsFromWord(jqPasteDiv);this.transformTables(jqPasteDiv);this.transformTitles(jqPasteDiv);this.removeComments(jqPasteDiv);this.unwrapTags(jqPasteDiv);this.removeStyles(jqPasteDiv);this.removeNamespacedElements(jqPasteDiv);this.transformFormattings(jqPasteDiv)};
|
@@ -1 +0,0 @@
|
|
1
|
-
button.addtoc.tooltip=Inhaltsverzeichnis
|
@@ -1 +0,0 @@
|
|
1
|
-
button.addtoc.tooltip=Table of contents
|
@@ -1,12 +0,0 @@
|
|
1
|
-
floatingmenu.tab.table=Tabela
|
2
|
-
deleterows.confirm=Czy na pewno chcesz usunąć zaznaczone wiersze?
|
3
|
-
deletecolumns.confirm=Czy na pewno chcesz usunąć zaznaczone kolumny?
|
4
|
-
deletetable.confirm=Czy na pewno chcesz usunąć tabelę?
|
5
|
-
Table=Tabela
|
6
|
-
button.createtable.tooltip=Wstaw tabelę
|
7
|
-
button.addcolleft.tooltip=Dodaj kolumnę na lewo
|
8
|
-
button.addcolright.tooltip=Dodaj kolumnę na prawo
|
9
|
-
button.delcols.tooltip=Usuń kolumny
|
10
|
-
button.addrowbefore.tooltip=Dodaj wiersz przed
|
11
|
-
button.addrowafter.tooltip=Dodaj wiersz po
|
12
|
-
button.delrows.tooltip=Usuń wiersze
|
data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_green.png
DELETED
Binary file
|
data/public/javascripts/admin/aloha/plugins/com.gentics.aloha.plugins.Table/resources/wai_red.png
DELETED
Binary file
|
@@ -1,50 +0,0 @@
|
|
1
|
-
#panel .inner {
|
2
|
-
padding-left: 20px;
|
3
|
-
padding-right: 20px;
|
4
|
-
color: #222;
|
5
|
-
}
|
6
|
-
|
7
|
-
#panel .inner p.explanations {
|
8
|
-
margin-top: 10px;
|
9
|
-
font-size: 1.2em;
|
10
|
-
}
|
11
|
-
|
12
|
-
#panel .inner p.explanations a {
|
13
|
-
color: #1F82BC;
|
14
|
-
text-decoration: none;
|
15
|
-
}
|
16
|
-
|
17
|
-
#panel .inner p.explanations a:hover {
|
18
|
-
text-decoration: underline;
|
19
|
-
}
|
20
|
-
|
21
|
-
#panel .inner p.done {
|
22
|
-
margin: 20px 0px 15px;
|
23
|
-
font-size: 1.2em;
|
24
|
-
}
|
25
|
-
|
26
|
-
#panel .inner p {
|
27
|
-
margin-bottom: 5px;
|
28
|
-
text-align: justify;
|
29
|
-
}
|
30
|
-
|
31
|
-
#panel .inner dl {
|
32
|
-
margin-bottom: 0px;
|
33
|
-
font-size: 1.2em;
|
34
|
-
}
|
35
|
-
|
36
|
-
#panel .inner dt {
|
37
|
-
margin-bottom: 7px;
|
38
|
-
}
|
39
|
-
|
40
|
-
#panel .inner dt em {
|
41
|
-
margin-left: 10px;
|
42
|
-
font-size: 1.1em;
|
43
|
-
color: #666;
|
44
|
-
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
|
45
|
-
}
|
46
|
-
|
47
|
-
#panel .inner dd p {
|
48
|
-
|
49
|
-
}
|
50
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
@media screen and/*!YUI-Compresser */(-webkit-min-device-pixel-ratio:0) {
|
2
|
-
|
3
|
-
#panel div.footer .button { padding-left: 5px; }
|
4
|
-
#panel div.footer .button span { top: 0px; padding-right: 10px; }
|
5
|
-
|
6
|
-
.button { padding-left: 5px; }
|
7
|
-
.button span { top: 0px; }
|
8
|
-
|
9
|
-
form.formtastic fieldset.foldable legend span em { top: 0px; }
|
10
|
-
form.formtastic fieldset.foldable.folded legend span em { top: 0px; }
|
11
|
-
|
12
|
-
form.formtastic fieldset.inputs ol { margin-top: 30px; }
|
13
|
-
|
14
|
-
#content #local-actions-bar a em { top: 4px; }
|
15
|
-
}
|