typo 5.0.3.98.1 → 5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES-5.1 +54 -0
- data/app/apis/meta_weblog_service.rb +7 -6
- data/app/controllers/accounts_controller.rb +2 -1
- data/app/controllers/admin/content_controller.rb +45 -3
- data/app/controllers/admin/pages_controller.rb +1 -1
- data/app/controllers/admin/textfilters_controller.rb +4 -4
- data/app/controllers/admin/users_controller.rb +14 -2
- data/app/controllers/application.rb +4 -1
- data/app/controllers/articles_controller.rb +1 -3
- data/app/controllers/backend_controller.rb +2 -0
- data/app/controllers/comments_controller.rb +6 -0
- data/app/helpers/admin/base_helper.rb +24 -26
- data/app/helpers/admin/feedback_helper.rb +0 -20
- data/app/helpers/application_helper.rb +1 -0
- data/app/models/article.rb +2 -0
- data/app/models/blog.rb +1 -0
- data/app/models/blog_sweeper.rb +8 -9
- data/app/models/page_cache.rb +1 -0
- data/app/models/tag.rb +2 -2
- data/app/models/user.rb +5 -1
- data/app/views/admin/blacklist/destroy.html.erb +1 -1
- data/app/views/admin/categories/destroy.html.erb +1 -1
- data/app/views/admin/comments/destroy.html.erb +1 -1
- data/app/views/admin/content/_articles.html.erb +4 -4
- data/app/views/admin/content/_attachment.html.erb +6 -7
- data/app/views/admin/content/_drafts.html.erb +6 -0
- data/app/views/admin/content/_form.html.erb +47 -34
- data/app/views/admin/content/destroy.html.erb +1 -1
- data/app/views/admin/content/edit.html.erb +1 -1
- data/app/views/admin/content/index.html.erb +1 -6
- data/app/views/admin/content/new.html.erb +1 -1
- data/app/views/admin/pages/_form.html.erb +4 -3
- data/app/views/admin/pages/_pages.html.erb +3 -3
- data/app/views/admin/pages/destroy.html.erb +1 -1
- data/app/views/admin/resources/destroy.html.erb +1 -1
- data/app/views/admin/settings/index.html.erb +10 -0
- data/app/views/admin/shared/_edit.html.erb +1 -6
- data/app/views/admin/textfilters/destroy.html.erb +3 -0
- data/app/views/admin/textfilters/edit.html.erb +3 -1
- data/app/views/admin/textfilters/index.html.erb +1 -1
- data/app/views/admin/textfilters/new.html.erb +3 -1
- data/app/views/admin/trackbacks/show.html.erb +1 -1
- data/app/views/admin/users/destroy.html.erb +1 -1
- data/app/views/admin/users/edit.html.erb +1 -5
- data/app/views/admin/users/index.html.erb +1 -1
- data/app/views/articles/_comment_failed.html.erb +3 -0
- data/config/initializers/access_rules.rb +3 -3
- data/db/migrate/070_add_users_to_non_admins.rb +17 -0
- data/installer/rails_installer_defaults.yml +1 -1
- data/lib/tasks/release.rake +3 -3
- data/lib/typo_version.rb +1 -1
- data/public/images/admin/cancel.png +0 -0
- data/public/images/admin/checked.png +0 -0
- data/public/images/admin/delete.png +0 -0
- data/public/images/admin/edit.png +0 -0
- data/public/images/admin/show.png +0 -0
- data/public/javascripts/controls.js +2 -0
- data/public/javascripts/dragdrop.js +2 -0
- data/public/javascripts/effects.js +6 -4
- data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +13 -8
- data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +189 -79
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +4 -3
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +16 -15
- data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +30 -9
- data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +108 -90
- data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +22 -3
- data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +76 -38
- data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +7 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +142 -0
- data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +3 -3
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +8 -5
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +3 -3
- data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +6 -5
- data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +85 -38
- data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +7 -8
- data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +180 -17
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +9 -4
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +5 -1
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +3 -3
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +15 -4
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +5 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +13 -13
- data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +17 -13
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +28 -13
- data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +75 -19
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +64 -8
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +3 -1
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +5 -3
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +6 -6
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +4 -4
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +3 -1
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +3 -1
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +7 -9
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +4 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +4 -2
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +3 -3
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +4 -4
- data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +28 -10
- data/public/javascripts/fckeditor/editor/_source/fckconstants.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +21 -13
- data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +5 -5
- data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +4 -4
- data/public/javascripts/fckeditor/editor/_source/internals/fck.js +148 -38
- data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +4 -4
- data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +45 -47
- data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +50 -17
- data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +4 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +28 -28
- data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +12 -13
- data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +211 -15
- data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +63 -39
- data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +177 -37
- data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +2 -1
- data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +5 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +5 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +3 -3
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +36 -27
- data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +91 -17
- data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +22 -13
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +15 -15
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +1 -1
- data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +32 -6
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +181 -22
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +19 -7
- data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +8 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +8 -5
- data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +2 -2
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +116 -61
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +6 -10
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +51 -56
- data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +1 -1
- data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +3 -2
- data/public/javascripts/fckeditor/editor/css/fck_internal.css +19 -2
- data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +8 -1
- data/public/javascripts/fckeditor/editor/css/images/fck_plugin.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +8 -1
- data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +199 -26
- data/public/javascripts/fckeditor/editor/dialog/fck_about.html +20 -14
- data/public/javascripts/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
- data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +15 -10
- data/public/javascripts/fckeditor/editor/dialog/fck_button.html +9 -14
- data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +8 -13
- data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +4 -3
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +6 -6
- data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +1 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +9 -3
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +18 -11
- data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +7 -3
- data/public/javascripts/fckeditor/editor/dialog/fck_form.html +7 -4
- data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +12 -15
- data/public/javascripts/fckeditor/editor/dialog/fck_image.html +9 -3
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +24 -12
- data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +24 -18
- data/public/javascripts/fckeditor/editor/dialog/fck_link.html +1 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +41 -20
- data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +8 -4
- data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +53 -54
- data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +8 -13
- data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +157 -79
- data/public/javascripts/fckeditor/editor/dialog/fck_select.html +14 -11
- data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +2 -2
- data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +9 -4
- data/public/javascripts/fckeditor/editor/dialog/fck_source.html +5 -2
- data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +9 -6
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +2 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +3 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +5 -2
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +2 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +1 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_table.html +10 -5
- data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +8 -6
- data/public/javascripts/fckeditor/editor/dialog/fck_template.html +1 -1
- data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +10 -11
- data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +10 -14
- data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -2
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +2 -2
- data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +3 -3
- data/public/javascripts/fckeditor/editor/fckdebug.html +1 -1
- data/public/javascripts/fckeditor/editor/fckdialog.html +660 -213
- data/public/javascripts/fckeditor/editor/fckeditor.html +66 -16
- data/public/javascripts/fckeditor/editor/fckeditor.original.html +70 -16
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +2 -2
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +37 -2
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +33 -1
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +1 -1
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +2 -1
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +3 -2
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +1 -1
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +2 -1
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +34 -2
- data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +3 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +5 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +5 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +1 -1
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +50 -4
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +2 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +14 -4
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +2 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +23 -4
- data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +1 -1
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +43 -32
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +16 -16
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +26 -9
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +2 -2
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +40 -9
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +20 -21
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +2 -2
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +13 -13
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +3 -3
- data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +4 -5
- data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +34 -1
- data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +47 -4
- data/public/javascripts/fckeditor/editor/js/fckadobeair.js +176 -0
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +77 -77
- data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +74 -74
- data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +55 -54
- data/public/javascripts/fckeditor/editor/lang/af.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ar.js +16 -17
- data/public/javascripts/fckeditor/editor/lang/bg.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/bn.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/bs.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ca.js +27 -28
- data/public/javascripts/fckeditor/editor/lang/cs.js +18 -19
- data/public/javascripts/fckeditor/editor/lang/da.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/de.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/el.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/en-au.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/en-ca.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/en-uk.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/en.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/eo.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/es.js +34 -35
- data/public/javascripts/fckeditor/editor/lang/et.js +32 -33
- data/public/javascripts/fckeditor/editor/lang/eu.js +32 -33
- data/public/javascripts/fckeditor/editor/lang/fa.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/fi.js +15 -16
- data/public/javascripts/fckeditor/editor/lang/fo.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/fr-ca.js +515 -0
- data/public/javascripts/fckeditor/editor/lang/fr.js +5 -6
- data/public/javascripts/fckeditor/editor/lang/gl.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/he.js +15 -16
- data/public/javascripts/fckeditor/editor/lang/hi.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/hr.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/hu.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/it.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ja.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/km.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ko.js +25 -26
- data/public/javascripts/fckeditor/editor/lang/lt.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/lv.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/mn.js +199 -200
- data/public/javascripts/fckeditor/editor/lang/ms.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/nb.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/nl.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/no.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/pl.js +51 -52
- data/public/javascripts/fckeditor/editor/lang/pt-br.js +16 -17
- data/public/javascripts/fckeditor/editor/lang/pt.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ro.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/ru.js +31 -32
- data/public/javascripts/fckeditor/editor/lang/sk.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/sl.js +39 -40
- data/public/javascripts/fckeditor/editor/lang/sr-latn.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/sr.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/sv.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/th.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/tr.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/uk.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/vi.js +1 -2
- data/public/javascripts/fckeditor/editor/lang/zh-cn.js +2 -3
- data/public/javascripts/fckeditor/editor/lang/zh.js +1 -2
- data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +9 -2
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +1 -1
- data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +1 -1
- data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +2 -2
- data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +35 -11
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +10 -5
- data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +3 -3
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +2 -2
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +2 -2
- data/public/javascripts/fckeditor/editor/{filemanager/connectors/cfm/upload.cfm → plugins/placeholder/lang/es.js} +9 -13
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +1 -1
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +1 -1
- data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +2 -2
- data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +1 -1
- data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +1 -1
- data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +1 -1
- data/public/javascripts/fckeditor/editor/skins/default/fck_dialog.css +271 -8
- data/public/javascripts/fckeditor/editor/skins/default/fck_editor.css +2 -2
- data/public/javascripts/fckeditor/editor/skins/office2003/fck_dialog.css +270 -8
- data/public/javascripts/fckeditor/editor/skins/office2003/fck_editor.css +2 -2
- data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +270 -11
- data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +2 -2
- data/public/javascripts/fckeditor/fckconfig.js +58 -55
- data/public/javascripts/fckeditor/fckeditor.js +99 -8
- data/public/javascripts/fckeditor/fckeditor.py +2 -4
- data/public/javascripts/fckeditor/fckpackager.xml +12 -12
- data/public/javascripts/fckeditor/fckstyles.xml +2 -5
- data/public/javascripts/fckeditor/fcktemplates.xml +1 -1
- data/public/javascripts/fckeditor/license.txt +1 -2
- data/public/javascripts/prototype.js +46 -101
- data/public/javascripts/scriptaculous.js +28 -17
- data/public/stylesheets/administration.css +5 -1
- data/themes/dirtylicious/about.markdown +3 -0
- data/themes/dirtylicious/images/body.jpg +0 -0
- data/themes/dirtylicious/images/container.jpg +0 -0
- data/themes/dirtylicious/images/gravatar.gif +0 -0
- data/themes/dirtylicious/images/header.jpg +0 -0
- data/themes/dirtylicious/images/li.gif +0 -0
- data/themes/dirtylicious/images/main.gif +0 -0
- data/themes/dirtylicious/images/nav.gif +0 -0
- data/themes/dirtylicious/images/quote.gif +0 -0
- data/themes/dirtylicious/images/spinner.gif +0 -0
- data/themes/dirtylicious/layouts/default.html.erb +60 -0
- data/themes/dirtylicious/preview.png +0 -0
- data/themes/dirtylicious/stylesheets/application.css +327 -0
- data/themes/dirtylicious/views/articles/_article.html.erb +33 -0
- data/themes/dirtylicious/views/articles/_comment.html.erb +14 -0
- data/themes/dirtylicious/views/articles/_comment_form.html.erb +37 -0
- data/themes/dirtylicious/views/articles/_comment_list.html.erb +7 -0
- data/themes/dirtylicious/views/articles/_trackback.html.erb +9 -0
- data/themes/dirtylicious/views/articles/comment_preview.html.erb +10 -0
- data/themes/dirtylicious/views/articles/index.html.erb +5 -0
- data/themes/dirtylicious/views/articles/read.html.erb +42 -0
- data/themes/dirtylicious/views/shared/_search.html.erb +16 -0
- data/themes/standard_issue/about.markdown +5 -0
- data/themes/standard_issue/images/img01.gif +0 -0
- data/themes/standard_issue/images/img02.gif +0 -0
- data/themes/standard_issue/images/img03.gif +0 -0
- data/themes/standard_issue/images/img04.jpg +0 -0
- data/themes/standard_issue/images/img05.gif +0 -0
- data/themes/standard_issue/images/img06.gif +0 -0
- data/themes/standard_issue/images/img07.gif +0 -0
- data/themes/standard_issue/images/img08.gif +0 -0
- data/themes/standard_issue/images/img09.gif +0 -0
- data/themes/standard_issue/images/img10.gif +0 -0
- data/themes/standard_issue/images/spacer.gif +0 -0
- data/themes/standard_issue/images/spinner.gif +0 -0
- data/themes/standard_issue/layouts/default.html.erb +59 -0
- data/themes/standard_issue/preview.png +0 -0
- data/themes/standard_issue/stylesheets/application.css +461 -0
- data/themes/standard_issue/views/articles/_article.html.erb +37 -0
- data/themes/standard_issue/views/articles/_comment.html.erb +12 -0
- data/themes/standard_issue/views/articles/_comment_form.html.erb +48 -0
- data/themes/standard_issue/views/articles/_comment_list.html.erb +7 -0
- data/themes/standard_issue/views/articles/_trackback.html.erb +9 -0
- data/themes/standard_issue/views/articles/comment_preview.html.erb +10 -0
- data/themes/standard_issue/views/articles/index.html.erb +5 -0
- data/themes/standard_issue/views/articles/read.html.erb +42 -0
- data/themes/standard_issue/views/shared/_search.html.erb +17 -0
- data/themes/standard_issue/views/theme/static_view_test.html.erb +1 -0
- data/themes/typographic/images/accept.gif +0 -0
- data/themes/typographic/images/accept50.gif +0 -0
- data/themes/typographic/images/bg_white.gif +0 -0
- data/themes/typographic/images/bg_wrapper.gif +0 -0
- data/themes/typographic/images/bullet_bottom.gif +0 -0
- data/themes/typographic/images/bullet_right.gif +0 -0
- data/themes/typographic/images/email_open.gif +0 -0
- data/themes/typographic/images/email_open50.gif +0 -0
- data/themes/typographic/images/meta.gif +0 -0
- data/themes/typographic/images/page_edit.gif +0 -0
- data/themes/typographic/images/page_edit50.gif +0 -0
- data/themes/typographic/images/spinner.gif +0 -0
- data/themes/typographic/images/tag.gif +0 -0
- data/themes/typographic/images/user.gif +0 -0
- data/themes/typographic/images/user50.gif +0 -0
- data/themes/typographic/images/world_link.gif +0 -0
- data/themes/typographic/images/world_link50.gif +0 -0
- data/themes/typographic/layouts/default.html.erb +5 -2
- data/themes/typographic/stylesheets/ie6.css +86 -0
- data/themes/typographic/views/articles/_article.html.erb +2 -2
- data/vendor/plugins/fckeditor/README +0 -7
- data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +1 -3
- data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +2 -2
- data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +1 -1
- data/vendor/plugins/fckeditor/test/fckeditor_test.rb +8 -0
- metadata +98 -66
- data/CHANGES-5.0.4 +0 -33
- data/SIDEBARS +0 -39
- data/app/views/admin/content/_quick_post.html.erb +0 -20
- data/db/schema.rb +0 -224
- data/public/.DS_Store +0 -0
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/basexml.asp +0 -62
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/class_upload.asp +0 -353
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/commands.asp +0 -198
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/config.asp +0 -128
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/connector.asp +0 -88
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/io.asp +0 -222
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/upload.asp +0 -61
- data/public/javascripts/fckeditor/editor/filemanager/connectors/asp/util.asp +0 -55
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/ImageObject.cfc +0 -273
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf5_connector.cfm +0 -315
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf5_upload.cfm +0 -296
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_basexml.cfm +0 -68
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_commands.cfm +0 -225
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_connector.cfm +0 -89
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_io.cfm +0 -288
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_upload.cfm +0 -68
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/cf_util.cfm +0 -132
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/config.cfm +0 -183
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/connector.cfm +0 -31
- data/public/javascripts/fckeditor/editor/filemanager/connectors/cfm/image.cfc +0 -1325
- data/public/javascripts/fckeditor/editor/filemanager/connectors/lasso/config.lasso +0 -65
- data/public/javascripts/fckeditor/editor/filemanager/connectors/lasso/connector.lasso +0 -257
- data/public/javascripts/fckeditor/editor/filemanager/connectors/lasso/upload.lasso +0 -157
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/basexml.php +0 -93
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/commands.php +0 -245
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/config.php +0 -140
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/connector.php +0 -87
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/io.php +0 -272
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/phpcompat.php +0 -17
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/upload.php +0 -59
- data/public/javascripts/fckeditor/editor/filemanager/connectors/php/util.php +0 -185
- data/public/javascripts/fckeditor/fckeditor.afp +0 -161
- data/public/javascripts/fckeditor/fckeditor.asp +0 -235
- data/public/javascripts/fckeditor/fckeditor.cfc +0 -273
- data/public/javascripts/fckeditor/fckeditor.cfm +0 -210
- data/public/javascripts/fckeditor/fckeditor.lasso +0 -112
- data/test/mocks/themes/typographic/.DS_Store +0 -0
- data/themes/typographic/.DS_Store +0 -0
- data/vendor/plugins/audioscrobbler_sidebar/MAINTAINERS +0 -26
- data/vendor/plugins/audioscrobbler_sidebar/MIT-LICENSE +0 -21
- data/vendor/plugins/audioscrobbler_sidebar/README +0 -27
- data/vendor/plugins/audioscrobbler_sidebar/Rakefile +0 -22
- data/vendor/plugins/audioscrobbler_sidebar/init.rb +0 -5
- data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler.rb +0 -54
- data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler_sidebar.rb +0 -13
- data/vendor/plugins/audioscrobbler_sidebar/test/audioscrobbler_sidebar_test.rb +0 -8
- data/vendor/plugins/audioscrobbler_sidebar/views/content.rhtml +0 -10
@@ -1,7 +1,7 @@
|
|
1
1
|
<?xml version="1.0" encoding="utf-8" ?>
|
2
2
|
<!--
|
3
3
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4
|
-
* Copyright (C) 2003-
|
4
|
+
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
5
5
|
*
|
6
6
|
* == BEGIN LICENSE ==
|
7
7
|
*
|
@@ -68,9 +68,6 @@
|
|
68
68
|
<Style name="background-color" value="Lime" />
|
69
69
|
</Style>
|
70
70
|
|
71
|
-
<Style name="Strong Emphasis" element="strong" />
|
72
|
-
<Style name="Emphasis" element="em" />
|
73
|
-
|
74
71
|
<Style name="Big" element="big" />
|
75
72
|
<Style name="Small" element="small" />
|
76
73
|
<Style name="Typewriter" element="tt" />
|
@@ -111,4 +108,4 @@
|
|
111
108
|
<Attribute name="border" value="2" />
|
112
109
|
<Attribute name="align" value="right" />
|
113
110
|
</Style>
|
114
|
-
</Styles>
|
111
|
+
</Styles>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
2
|
-
Copyright (C) 2003-
|
2
|
+
Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
3
3
|
|
4
4
|
Licensed under the terms of any of the following licenses at your
|
5
5
|
choice:
|
@@ -1244,4 +1244,3 @@ EXHIBIT A -Mozilla Public License.
|
|
1244
1244
|
the notices in the Source Code files of the Original Code. You should
|
1245
1245
|
use the text of this Exhibit A rather than the text found in the
|
1246
1246
|
Original Code Source Code for Your Modifications.]
|
1247
|
-
|
@@ -806,7 +806,7 @@ Object.extend(Enumerable, {
|
|
806
806
|
function $A(iterable) {
|
807
807
|
if (!iterable) return [];
|
808
808
|
if (iterable.toArray) return iterable.toArray();
|
809
|
-
var length = iterable.length, results = new Array(length);
|
809
|
+
var length = iterable.length || 0, results = new Array(length);
|
810
810
|
while (length--) results[length] = iterable[length];
|
811
811
|
return results;
|
812
812
|
}
|
@@ -816,7 +816,7 @@ if (Prototype.Browser.WebKit) {
|
|
816
816
|
if (!iterable) return [];
|
817
817
|
if (!(Object.isFunction(iterable) && iterable == '[object NodeList]') &&
|
818
818
|
iterable.toArray) return iterable.toArray();
|
819
|
-
var length = iterable.length, results = new Array(length);
|
819
|
+
var length = iterable.length || 0, results = new Array(length);
|
820
820
|
while (length--) results[length] = iterable[length];
|
821
821
|
return results;
|
822
822
|
}
|
@@ -1318,7 +1318,7 @@ Ajax.Request = Class.create(Ajax.Base, {
|
|
1318
1318
|
|
1319
1319
|
getHeader: function(name) {
|
1320
1320
|
try {
|
1321
|
-
return this.transport.getResponseHeader(name);
|
1321
|
+
return this.transport.getResponseHeader(name) || null;
|
1322
1322
|
} catch (e) { return null }
|
1323
1323
|
},
|
1324
1324
|
|
@@ -1608,24 +1608,28 @@ Element.Methods = {
|
|
1608
1608
|
Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
|
1609
1609
|
insertions = {bottom:insertions};
|
1610
1610
|
|
1611
|
-
var content,
|
1611
|
+
var content, insert, tagName, childNodes;
|
1612
1612
|
|
1613
1613
|
for (position in insertions) {
|
1614
1614
|
content = insertions[position];
|
1615
1615
|
position = position.toLowerCase();
|
1616
|
-
|
1616
|
+
insert = Element._insertionTranslations[position];
|
1617
1617
|
|
1618
1618
|
if (content && content.toElement) content = content.toElement();
|
1619
1619
|
if (Object.isElement(content)) {
|
1620
|
-
|
1620
|
+
insert(element, content);
|
1621
1621
|
continue;
|
1622
1622
|
}
|
1623
1623
|
|
1624
1624
|
content = Object.toHTML(content);
|
1625
1625
|
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1626
|
+
tagName = ((position == 'before' || position == 'after')
|
1627
|
+
? element.parentNode : element).tagName.toUpperCase();
|
1628
|
+
|
1629
|
+
childNodes = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
1630
|
+
|
1631
|
+
if (position == 'top' || position == 'after') childNodes.reverse();
|
1632
|
+
childNodes.each(insert.curry(element));
|
1629
1633
|
|
1630
1634
|
content.evalScripts.bind(content).defer();
|
1631
1635
|
}
|
@@ -1709,32 +1713,31 @@ Element.Methods = {
|
|
1709
1713
|
element = $(element);
|
1710
1714
|
if (arguments.length == 1) return $(element.parentNode);
|
1711
1715
|
var ancestors = element.ancestors();
|
1712
|
-
return expression ?
|
1713
|
-
ancestors
|
1716
|
+
return Object.isNumber(expression) ? ancestors[expression] :
|
1717
|
+
Selector.findElement(ancestors, expression, index);
|
1714
1718
|
},
|
1715
1719
|
|
1716
1720
|
down: function(element, expression, index) {
|
1717
1721
|
element = $(element);
|
1718
1722
|
if (arguments.length == 1) return element.firstDescendant();
|
1719
|
-
|
1720
|
-
|
1721
|
-
descendants[index || 0];
|
1723
|
+
return Object.isNumber(expression) ? element.descendants()[expression] :
|
1724
|
+
element.select(expression)[index || 0];
|
1722
1725
|
},
|
1723
1726
|
|
1724
1727
|
previous: function(element, expression, index) {
|
1725
1728
|
element = $(element);
|
1726
1729
|
if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element));
|
1727
1730
|
var previousSiblings = element.previousSiblings();
|
1728
|
-
return expression ?
|
1729
|
-
previousSiblings
|
1731
|
+
return Object.isNumber(expression) ? previousSiblings[expression] :
|
1732
|
+
Selector.findElement(previousSiblings, expression, index);
|
1730
1733
|
},
|
1731
1734
|
|
1732
1735
|
next: function(element, expression, index) {
|
1733
1736
|
element = $(element);
|
1734
1737
|
if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element));
|
1735
1738
|
var nextSiblings = element.nextSiblings();
|
1736
|
-
return expression ?
|
1737
|
-
nextSiblings
|
1739
|
+
return Object.isNumber(expression) ? nextSiblings[expression] :
|
1740
|
+
Selector.findElement(nextSiblings, expression, index);
|
1738
1741
|
},
|
1739
1742
|
|
1740
1743
|
select: function() {
|
@@ -2153,46 +2156,6 @@ Element._attributeTranslations = {
|
|
2153
2156
|
}
|
2154
2157
|
};
|
2155
2158
|
|
2156
|
-
|
2157
|
-
if (!document.createRange || Prototype.Browser.Opera) {
|
2158
|
-
Element.Methods.insert = function(element, insertions) {
|
2159
|
-
element = $(element);
|
2160
|
-
|
2161
|
-
if (Object.isString(insertions) || Object.isNumber(insertions) ||
|
2162
|
-
Object.isElement(insertions) || (insertions && (insertions.toElement || insertions.toHTML)))
|
2163
|
-
insertions = { bottom: insertions };
|
2164
|
-
|
2165
|
-
var t = Element._insertionTranslations, content, position, pos, tagName;
|
2166
|
-
|
2167
|
-
for (position in insertions) {
|
2168
|
-
content = insertions[position];
|
2169
|
-
position = position.toLowerCase();
|
2170
|
-
pos = t[position];
|
2171
|
-
|
2172
|
-
if (content && content.toElement) content = content.toElement();
|
2173
|
-
if (Object.isElement(content)) {
|
2174
|
-
pos.insert(element, content);
|
2175
|
-
continue;
|
2176
|
-
}
|
2177
|
-
|
2178
|
-
content = Object.toHTML(content);
|
2179
|
-
tagName = ((position == 'before' || position == 'after')
|
2180
|
-
? element.parentNode : element).tagName.toUpperCase();
|
2181
|
-
|
2182
|
-
if (t.tags[tagName]) {
|
2183
|
-
var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts());
|
2184
|
-
if (position == 'top' || position == 'after') fragments.reverse();
|
2185
|
-
fragments.each(pos.insert.curry(element));
|
2186
|
-
}
|
2187
|
-
else element.insertAdjacentHTML(pos.adjacency, content.stripScripts());
|
2188
|
-
|
2189
|
-
content.evalScripts.bind(content).defer();
|
2190
|
-
}
|
2191
|
-
|
2192
|
-
return element;
|
2193
|
-
};
|
2194
|
-
}
|
2195
|
-
|
2196
2159
|
if (Prototype.Browser.Opera) {
|
2197
2160
|
Element.Methods.getStyle = Element.Methods.getStyle.wrap(
|
2198
2161
|
function(proceed, element, style) {
|
@@ -2482,45 +2445,25 @@ Element._returnOffset = function(l, t) {
|
|
2482
2445
|
|
2483
2446
|
Element._getContentFromAnonymousElement = function(tagName, html) {
|
2484
2447
|
var div = new Element('div'), t = Element._insertionTranslations.tags[tagName];
|
2485
|
-
|
2486
|
-
|
2448
|
+
if (t) {
|
2449
|
+
div.innerHTML = t[0] + html + t[1];
|
2450
|
+
t[2].times(function() { div = div.firstChild });
|
2451
|
+
} else div.innerHTML = html;
|
2487
2452
|
return $A(div.childNodes);
|
2488
2453
|
};
|
2489
2454
|
|
2490
2455
|
Element._insertionTranslations = {
|
2491
|
-
before: {
|
2492
|
-
|
2493
|
-
insert: function(element, node) {
|
2494
|
-
element.parentNode.insertBefore(node, element);
|
2495
|
-
},
|
2496
|
-
initializeRange: function(element, range) {
|
2497
|
-
range.setStartBefore(element);
|
2498
|
-
}
|
2456
|
+
before: function(element, node) {
|
2457
|
+
element.parentNode.insertBefore(node, element);
|
2499
2458
|
},
|
2500
|
-
top: {
|
2501
|
-
|
2502
|
-
insert: function(element, node) {
|
2503
|
-
element.insertBefore(node, element.firstChild);
|
2504
|
-
},
|
2505
|
-
initializeRange: function(element, range) {
|
2506
|
-
range.selectNodeContents(element);
|
2507
|
-
range.collapse(true);
|
2508
|
-
}
|
2459
|
+
top: function(element, node) {
|
2460
|
+
element.insertBefore(node, element.firstChild);
|
2509
2461
|
},
|
2510
|
-
bottom: {
|
2511
|
-
|
2512
|
-
insert: function(element, node) {
|
2513
|
-
element.appendChild(node);
|
2514
|
-
}
|
2462
|
+
bottom: function(element, node) {
|
2463
|
+
element.appendChild(node);
|
2515
2464
|
},
|
2516
|
-
after: {
|
2517
|
-
|
2518
|
-
insert: function(element, node) {
|
2519
|
-
element.parentNode.insertBefore(node, element.nextSibling);
|
2520
|
-
},
|
2521
|
-
initializeRange: function(element, range) {
|
2522
|
-
range.setStartAfter(element);
|
2523
|
-
}
|
2465
|
+
after: function(element, node) {
|
2466
|
+
element.parentNode.insertBefore(node, element.nextSibling);
|
2524
2467
|
},
|
2525
2468
|
tags: {
|
2526
2469
|
TABLE: ['<table>', '</table>', 1],
|
@@ -2532,7 +2475,6 @@ Element._insertionTranslations = {
|
|
2532
2475
|
};
|
2533
2476
|
|
2534
2477
|
(function() {
|
2535
|
-
this.bottom.initializeRange = this.top.initializeRange;
|
2536
2478
|
Object.extend(this.tags, {
|
2537
2479
|
THEAD: this.tags.TBODY,
|
2538
2480
|
TFOOT: this.tags.TBODY,
|
@@ -2989,7 +2931,8 @@ Object.extend(Selector, {
|
|
2989
2931
|
tagName: /^\s*(\*|[\w\-]+)(\b|$)?/,
|
2990
2932
|
id: /^#([\w\-\*]+)(\b|$)/,
|
2991
2933
|
className: /^\.([\w\-\*]+)(\b|$)/,
|
2992
|
-
pseudo:
|
2934
|
+
pseudo:
|
2935
|
+
/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~>]))/,
|
2993
2936
|
attrPresence: /^\[([\w]+)\]/,
|
2994
2937
|
attr: /\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\4]*?)\4|([^'"][^\]]*?)))?\]/
|
2995
2938
|
},
|
@@ -3114,7 +3057,7 @@ Object.extend(Selector, {
|
|
3114
3057
|
|
3115
3058
|
// TOKEN FUNCTIONS
|
3116
3059
|
tagName: function(nodes, root, tagName, combinator) {
|
3117
|
-
|
3060
|
+
var uTagName = tagName.toUpperCase();
|
3118
3061
|
var results = [], h = Selector.handlers;
|
3119
3062
|
if (nodes) {
|
3120
3063
|
if (combinator) {
|
@@ -3127,7 +3070,7 @@ Object.extend(Selector, {
|
|
3127
3070
|
if (tagName == "*") return nodes;
|
3128
3071
|
}
|
3129
3072
|
for (var i = 0, node; node = nodes[i]; i++)
|
3130
|
-
if (node.tagName.toUpperCase()
|
3073
|
+
if (node.tagName.toUpperCase() === uTagName) results.push(node);
|
3131
3074
|
return results;
|
3132
3075
|
} else return root.getElementsByTagName(tagName);
|
3133
3076
|
},
|
@@ -3880,7 +3823,7 @@ Object.extend(Event, (function() {
|
|
3880
3823
|
return false;
|
3881
3824
|
|
3882
3825
|
Event.extend(event);
|
3883
|
-
handler.call(element, event)
|
3826
|
+
handler.call(element, event);
|
3884
3827
|
};
|
3885
3828
|
|
3886
3829
|
wrapper.handler = handler;
|
@@ -3962,11 +3905,12 @@ Object.extend(Event, (function() {
|
|
3962
3905
|
if (element == document && document.createEvent && !element.dispatchEvent)
|
3963
3906
|
element = document.documentElement;
|
3964
3907
|
|
3908
|
+
var event;
|
3965
3909
|
if (document.createEvent) {
|
3966
|
-
|
3910
|
+
event = document.createEvent("HTMLEvents");
|
3967
3911
|
event.initEvent("dataavailable", true, true);
|
3968
3912
|
} else {
|
3969
|
-
|
3913
|
+
event = document.createEventObject();
|
3970
3914
|
event.eventType = "ondataavailable";
|
3971
3915
|
}
|
3972
3916
|
|
@@ -3995,20 +3939,21 @@ Element.addMethods({
|
|
3995
3939
|
Object.extend(document, {
|
3996
3940
|
fire: Element.Methods.fire.methodize(),
|
3997
3941
|
observe: Element.Methods.observe.methodize(),
|
3998
|
-
stopObserving: Element.Methods.stopObserving.methodize()
|
3942
|
+
stopObserving: Element.Methods.stopObserving.methodize(),
|
3943
|
+
loaded: false
|
3999
3944
|
});
|
4000
3945
|
|
4001
3946
|
(function() {
|
4002
3947
|
/* Support for the DOMContentLoaded event is based on work by Dan Webb,
|
4003
3948
|
Matthias Miller, Dean Edwards and John Resig. */
|
4004
3949
|
|
4005
|
-
var timer
|
3950
|
+
var timer;
|
4006
3951
|
|
4007
3952
|
function fireContentLoadedEvent() {
|
4008
|
-
if (
|
3953
|
+
if (document.loaded) return;
|
4009
3954
|
if (timer) window.clearInterval(timer);
|
4010
3955
|
document.fire("dom:loaded");
|
4011
|
-
|
3956
|
+
document.loaded = true;
|
4012
3957
|
}
|
4013
3958
|
|
4014
3959
|
if (document.addEventListener) {
|
@@ -1,4 +1,6 @@
|
|
1
|
-
//
|
1
|
+
// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
|
2
|
+
|
3
|
+
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
2
4
|
//
|
3
5
|
// Permission is hereby granted, free of charge, to any person obtaining
|
4
6
|
// a copy of this software and associated documentation files (the
|
@@ -18,29 +20,38 @@
|
|
18
20
|
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
21
|
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
22
|
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
//
|
24
|
+
// For details, see the script.aculo.us web site: http://script.aculo.us/
|
21
25
|
|
22
26
|
var Scriptaculous = {
|
23
|
-
Version: '1.
|
27
|
+
Version: '1.8.1',
|
24
28
|
require: function(libraryName) {
|
25
29
|
// inserting via DOM fails in Safari 2.0, so brute force approach
|
26
|
-
document.write('<script type="text/javascript" src="'+libraryName+'"
|
30
|
+
document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');
|
27
31
|
},
|
32
|
+
REQUIRED_PROTOTYPE: '1.6.0',
|
28
33
|
load: function() {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0");
|
33
|
-
var scriptTags = document.getElementsByTagName("script");
|
34
|
-
for(var i=0;i<scriptTags.length;i++) {
|
35
|
-
if(scriptTags[i].src && scriptTags[i].src.match(/scriptaculous\.js(\?.*)?$/)) {
|
36
|
-
var path = scriptTags[i].src.replace(/scriptaculous\.js(\?.*)?$/,'');
|
37
|
-
this.require(path + 'effects.js');
|
38
|
-
this.require(path + 'dragdrop.js');
|
39
|
-
this.require(path + 'controls.js');
|
40
|
-
this.require(path + 'slider.js');
|
41
|
-
break;
|
42
|
-
}
|
34
|
+
function convertVersionString(versionString){
|
35
|
+
var r = versionString.split('.');
|
36
|
+
return parseInt(r[0])*100000 + parseInt(r[1])*1000 + parseInt(r[2]);
|
43
37
|
}
|
38
|
+
|
39
|
+
if((typeof Prototype=='undefined') ||
|
40
|
+
(typeof Element == 'undefined') ||
|
41
|
+
(typeof Element.Methods=='undefined') ||
|
42
|
+
(convertVersionString(Prototype.Version) <
|
43
|
+
convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))
|
44
|
+
throw("script.aculo.us requires the Prototype JavaScript framework >= " +
|
45
|
+
Scriptaculous.REQUIRED_PROTOTYPE);
|
46
|
+
|
47
|
+
$A(document.getElementsByTagName("script")).findAll( function(s) {
|
48
|
+
return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
|
49
|
+
}).each( function(s) {
|
50
|
+
var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
|
51
|
+
var includes = s.src.match(/\?.*load=([a-z,]*)/);
|
52
|
+
(includes ? includes[1] : 'builder,effects,dragdrop,controls,slider,sound').split(',').each(
|
53
|
+
function(include) { Scriptaculous.require(path+include+'.js') });
|
54
|
+
});
|
44
55
|
}
|
45
56
|
}
|
46
57
|
|
@@ -860,6 +860,7 @@ input.submit {
|
|
860
860
|
float: left;
|
861
861
|
margin-bottom: 10px;
|
862
862
|
margin-left: 2%;
|
863
|
+
display: inline;
|
863
864
|
}
|
864
865
|
|
865
866
|
.dashboard {
|
@@ -902,7 +903,6 @@ input.submit {
|
|
902
903
|
}
|
903
904
|
|
904
905
|
hr {
|
905
|
-
clear: both;
|
906
906
|
border: medium none;
|
907
907
|
color: #ccc;
|
908
908
|
background: #ccc;
|
@@ -1013,6 +1013,10 @@ tr.menubar {
|
|
1013
1013
|
clear: both;
|
1014
1014
|
}
|
1015
1015
|
|
1016
|
+
#autosave {
|
1017
|
+
color: green;
|
1018
|
+
}
|
1019
|
+
|
1016
1020
|
/* Menu déroulant */
|
1017
1021
|
|
1018
1022
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,60 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title><%=h page_title %></title>
|
5
|
+
<%= page_header %>
|
6
|
+
<%= stylesheet_link_tag '/stylesheets/theme/application.css', :media => 'all' %>
|
7
|
+
</head>
|
8
|
+
|
9
|
+
<body>
|
10
|
+
<div class="outer-container">
|
11
|
+
<div class="inner-container">
|
12
|
+
<div class="header">
|
13
|
+
<div class="title">
|
14
|
+
<h1 class="sitename"><%= link_to this_blog.blog_name, this_blog.base_url %></h1>
|
15
|
+
<div class="slogan"><%= this_blog.blog_subtitle %></div>
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
<div class="path">
|
19
|
+
<ul>
|
20
|
+
<li class="page_item <%= 'current_page_item' if (controller.controller_name == "articles" and controller.action_name == "index") %>">
|
21
|
+
<%= link_to _("Home"), this_blog.base_url %>
|
22
|
+
</li>
|
23
|
+
<li class="page_item <%= 'current_page_item' if (controller.action_name != 'index' and controller.action_name != 'view_page') %>">
|
24
|
+
<%= link_to _("Articles"), {:controller => "articles", :action => "archives"} if (controller.controller_name != "index" )%>
|
25
|
+
</li>
|
26
|
+
<li class="page_item <%= 'current_page_item' if (controller.controller_name == "articles" and controller.action_name == "view_page" and params[:name].to_s == 'about') %>">
|
27
|
+
<%= link_to _("About"), this_blog.base_url + "/pages/about" %>
|
28
|
+
</li>
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="main">
|
33
|
+
<div id="content">
|
34
|
+
<%= @content_for_layout %>
|
35
|
+
<%= javascript_tag 'show_dates_as_local_time()' %>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div id="sidebar">
|
39
|
+
<!-- search -->
|
40
|
+
<%= render :partial => 'shared/search' %>
|
41
|
+
|
42
|
+
<!-- sidebar components -->
|
43
|
+
<%= render_sidebars %>
|
44
|
+
</div>
|
45
|
+
<br style="clear:both;" />
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<div id="footer">
|
49
|
+
<div class="left"><%= link_to this_blog.blog_name, this_blog.base_url %></div>
|
50
|
+
<div class="right">
|
51
|
+
<%= _("Designed by %s ported to typo by %s ", link_to ('Dirtylicious', ' http://templates.arcsin.se/'),
|
52
|
+
link_to ("Frédéric de Villamil", 'http://fredericdevillamil.com')) %> <br />
|
53
|
+
<%= _("Powered by %s", link_to ('typo', 'http://typosphere.org')) %>
|
54
|
+
</div>
|
55
|
+
<div class="clearer"></div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</body>
|
60
|
+
</html>
|