Archived
1
0
Commit Graph

59 Commits

Author SHA1 Message Date
onli 0d54063c5e Use old method to init ckeditor
Instead of using global JS-variables and ignoring serendipity[textarea]={$view}, this
approach actually uses the variable and therefore reinstates wysiwyg_init.tpl.

ckeditor_custom_config.js (Thx Ian!) is still respected, but the toolbar got restored to the old version. We need an easy way to remove _underline_, for example. It could be extended though.

This fixes #{107} somewhat, as serendipity_image_selector.php is useable now, but still with display errors (and without an upload widget). Probably still a good idea to copy the ML-eapproach of the normal textareas

This also works with htmlnuggets, without using spawnnugget from the core, instead wysiwyg_init.tpl gets reused in the plugin-config.

ckeditor_custom_plugin.js got emptied, the relevant code (which should only be the part that adds the plugins into the toolbar) should be integrated into wysiwyg_init.tpl).
2014-03-23 23:03:09 +01:00
Ian 5fddf72bed include ckeditor.js in case of entryform, staticpages, html nuggets only
References #72
2014-03-16 16:26:21 +01:00
Ian faae4b0533 fix core to read ckeditor and handle hook-ins
This supports custom ckeditor plugins and a custom ckeditor config
and reads $eventData for
- normal entry form (case1) textareas,
- staticpage (case2) textareas and
- other nugget plugins (case3) textareas.
They all are build differently, therfore we needed three cases.
Please test!

Based to following commits
 8e26bd9 prepare core ckeditor for custom config and plugins
 44ea050 fix virtual js
 40609d8 add backend_footer hook

References #72
2014-03-15 19:02:13 +01:00
Ian 40609d803f add backend_footer hook 2014-03-14 20:06:11 +01:00
Garvin Hicking 78c7b11c36 Change the order, serendipity_editor provides an API that plugins might want to use, so it needs to be declared first in queue. 2014-03-11 15:11:35 +01:00
Matthias Mees 6d5c24af2f Move serendipity_editor.js reference back to <head>
The document ready shorthand function needed a little adapting as
well (which is not an issue since we abandoned noConflict mode).

References #91
2014-03-11 10:44:10 +01:00
Matthias Mees f34134b215 Add extra stylesheet for IE8
Referenced in conditional comments, needs to be recreated if the
style.css changes.

References #82
2014-03-09 18:32:17 +01:00
Matthias Mees a956c52e6b Update Modernizr to recent version
We still need to include a customized build of this.
2014-03-09 11:49:48 +01:00
Garvin Hicking 94c3a75a96 New language constants, hopefully caught all i18n's. Please check. 2014-03-05 13:22:50 +01:00
Matthias Mees 39a3da9e8f Bring back the button links, some minor CSS fixes. 2014-03-03 19:31:12 +01:00
Matthias Mees cfc893cd56 Refactor smallscreen nav to off-canvas nav (basics).
– necessary layout changes
– move toggle nav button
– incorporate user menu back into main nav
– basic styles required for off-canvas nav
– adapt typography, remove some redundant styles
– adapt toggle JS
2014-03-03 17:48:13 +01:00
Matthias Mees 8ee296529a Simplified nav item link texts. 2014-03-01 16:27:46 +01:00
Matthias Mees 3b23f6b13d Use the span/legend trick properly. Ooops. 2014-01-25 23:30:13 +01:00
onli ee3ea72208 Introduce Maintenance menu
Containing all the small action menu-items that were in the main navigation menu, like verify installation
2014-01-19 13:19:30 +01:00
Matthias Mees c31bd24494 Better label text for home button. Needs i18n. 2013-12-03 14:54:48 +01:00
Matthias Mees b936b00df7 Remove trailing whitespace. 2013-10-04 20:26:56 +02:00
Matthias Mees 1b7332dea4 Remove duplicate backend_header reference in the head.
References #65, related to c425f20994.
2013-10-04 20:17:23 +02:00
onli c425f20994 Fix drag'n drop by moving jquery to top (#65)
The backend_header-event, which includes jquery, should really stay in the header. I'm surprised the other jquery-plugins continued to work.
2013-10-04 17:28:25 +02:00
onli af21acc641 consistent template naming 2013-10-04 15:44:01 +02:00
Garvin Hicking ca84b8b85d backend_footer hook 2013-09-24 13:09:42 +02:00
Matthias Mees 1fb8c54efb Back to button style.
Partial manual revert of 168cb146ea.
Please note that this does *not* contain any changes to the UI as
discussed; those will follow later.

References #41
2013-09-23 11:19:31 +02:00
onli 168cb146ea Use links instead of buttons (#41)
A bit unfamiliar, let's give it some time. The user/groups-menu are clearer now
2013-08-18 20:59:53 +02:00
Matthias Mees c57a1b4da3 Proper scaling in landscape mode.
There used to be a bug in older iOS version which is now fixed in
iOS6, so we can use a proper landscape mode without zoom.
2013-08-17 18:28:24 +02:00
Matthias Mees 398fefa919 New iconfont build.
Removes obsolete wrench icon; replaces icon-off with icon-logout
and icon-eye with icon-globe or icon-zoom-in; adds icon-cancel as
state indicator for smallscreen navigation.
2013-08-01 17:15:41 +02:00
Matthias Mees 210e694e6c Fix minor issues
Changed Reactions to Activity; removed font icons from Install and
Upgrade buttons for plugins.

References #34
2013-07-20 19:14:13 +02:00
Matthias Mees 078bf9a18a Replace responsive nav plugin with a simpler solution.
responsive-nav.js is nice, but it imposes a performance issue and
we already have code for that behaviour. This is much simpler, but
still lacks some accessibility feature (aria-hidden). I'll add
those later after some proper accessibility testing.
2013-07-07 18:07:34 +02:00
Matthias Mees cba3d9acdb Restyle the login form. 2013-07-07 16:56:40 +02:00
Matthias Mees 7811150fe5 Use custom toggle for smallscreen nav. 2013-07-06 09:54:12 +02:00
Matthias Mees 2ab6c09339 Added smallscreen navigation. 2013-07-05 13:59:40 +02:00
Matthias Mees b2b11a6ffd Reorganize core menu items. 2013-07-04 22:24:59 +02:00
Matthias Mees c261027930 A simpler header layout. 2013-06-29 13:35:55 +02:00
Matthias Mees 765e232693 Replace some icons. 2013-06-24 12:01:24 +02:00
Matthias Mees 17e0f159b0 Revert jQuery tooltips. 2013-06-24 11:04:56 +02:00
Matthias Mees 0bc97cbc88 Tooltips, tooltips, tooltips. Everywhere. Almost. 2013-06-23 18:45:58 +02:00
Matthias Mees 891792b987 Fix media db popup layout. 2013-06-18 13:09:51 +02:00
onli be3d4d1d74 Add plugin-hook "js"
Use $link_head_script in a smarty-template to emit the path to the generated virtual javascript file
2013-06-15 16:14:14 +02:00
onli 347311e78d rely on smarty-init-css also in the backend 2013-06-15 15:40:42 +02:00
Matthias Mees a3c03d139a Added class to logged in msg. 2013-06-07 13:44:30 +02:00
Matthias Mees 44a9f8491d Restyled and less breakable header layout. 2013-06-07 13:23:34 +02:00
Matthias Mees 4d8eab61cb Adapted installer.tpl to 2k11/2.0 backend. 2013-06-05 19:48:52 +02:00
Matthias Mees 6a9bdd0c6a Removed stupid HTML5/jQuery progress hints. 2013-06-01 11:09:10 +02:00
Matthias Mees 75d45f811f Replaces inline onclick handler for .status_timestamp.
Also moved reference to serendipity_editor.js before the closing
body element. This way, jQuery's $(document).ready() equals
$(window).load(), so we don't have to use that any longer.
2013-05-31 18:10:16 +02:00
Matthias Mees c0e8922500 Dropped redundant onclick handler.
This really isn't necessary – there is a warning plus a confirm or
abort dialogue on the following page. I don't see extra value for
users in the JS-based confirm/abort dialogue.
2013-05-31 17:40:34 +02:00
Matthias Mees 1ab2389cdb Getting rid of inline body onload. 2013-05-31 17:01:06 +02:00
Matthias Mees 3cff5465d6 Drop legacy IE support. 2013-05-31 10:23:51 +02:00
Matthias Mees d0d2b246e4 Include pluginmanager.css in style.css. Another HTTP request saved. 2013-05-30 18:23:54 +02:00
Matthias Mees c2c27470ff Include header_spawn.js in serendipity_editor.js.tpl. 2013-05-30 18:13:33 +02:00
Matthias Mees 9255d01d6d Must include serendipity_editor.js after jQuery. Duh. 2013-05-30 17:55:18 +02:00
Matthias Mees f2257718c6 Move serendipity_editor.js to head.
NOTE: This is probably only temporary so that unported JS functions
      will still work. In the end, we'll want to references this
      file right before the closing </body> tag since it's going
      to get pretty big.
2013-05-30 17:48:24 +02:00
Matthias Mees 5edc98545d include 2k11.admin.js in serendipity_editor.js.tpl. 2013-05-30 17:41:35 +02:00