Archived
1
0
Commit Graph

816 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
Matthias Mees 31eba101f6 Rewrite toggle_extended function to work with wysiwyg editor.
References #102
2014-03-18 15:48:16 +01:00
Matthias Mees 5ef157063c A more subtle styling for links in field info text. 2014-03-18 15:23:08 +01:00
Matthias Mees 8ff7cdeddb Save a little space in no-js in media upload. 2014-03-18 15:15:18 +01:00
Matthias Mees 58e59a9193 Hide more things which don't make sense in no-js. 2014-03-18 15:14:23 +01:00
Matthias Mees 38c072c871 Don't show comment summary in no-js mode. 2014-03-18 15:04:51 +01:00
Ian c024b0fa97 exclude textarea info button in case of wysiwyg
for html nugget plugin (there is no more)
2014-03-18 09:28:08 +01:00
Ian cb0ba6cf7e fix non-read pre event hook for other templates
This fixes the problem of empty core backend js files
and not properly executed ckeditor inits with other templates.

References #72
closes #72
2014-03-17 14:55:37 +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 795410a6c9 chip another line 2014-03-16 09:44:47 +01:00
Ian 4f59ac109b fix note 2014-03-16 09:39:48 +01:00
Ian 408774cba3 move errorToException 'appendTop' javascript into 'js' hook
since this also fixes not having had this in backend_header before.
2014-03-16 09:33:20 +01:00
Ian f509d042ab purge note, since not a tpl (2) 2014-03-15 19:46:00 +01:00
Ian 15977512dd purge note, since not a tpl 2014-03-15 19:25:34 +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 44ea050a13 fix virtual js 2014-03-15 17:35:37 +01:00
Ian 40609d803f add backend_footer hook 2014-03-14 20:06:11 +01:00
Ian 9b3443dcd6 fix 390ec689c2 2014-03-12 20:25:10 +01:00
Matthias Mees 67d75d9eba Replace relevant occurrences of 'Template' with 'Theme'
This is for files in the templates/ directory.

References #103
2014-03-11 20:25:20 +01:00
Ian 544d0bf7b4 fix wysiwyg-Spawnnugget() - fixes #92 2014-03-11 19:14:17 +01:00
Ian 390ec689c2 get right instance for CKE plugin (and nugget textareas) 2014-03-11 18:07:33 +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 a722036b8a Re-position spartacus update buttons on small screens
References #97
2014-03-11 12:21:58 +01:00
Matthias Mees 1927da75c1 Move plugin name in plugin description, add styling 2014-03-11 11:49:31 +01:00
Matthias Mees 79135a988d Add new lang constants for the installer
Someone (@garvinhicking) please run addlang.sh for me to add these
(doesn't work on OSX command line). Thanks.
2014-03-11 11:18:08 +01:00
Matthias Mees 9ed9056ff1 Fix missing lang constant 2014-03-11 11:09:03 +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 c81d957094 The form elements need to be a wee bit smaller
References #83
2014-03-10 20:22:12 +01:00
Matthias Mees bb83c2c7a1 Realign filter form elements on small screens
References #83
2014-03-10 20:16:23 +01:00
Matthias Mees dc9c05ba8b Fix headings in content lists on small screens
References #83
2014-03-10 20:07:50 +01:00
Matthias Mees 3106a59fc4 Make filter buttons in comment data smaller
References #83
2014-03-10 20:00:01 +01:00
Matthias Mees fcefdbece2 No margin for action buttons on small screens
Reference #83
2014-03-10 19:58:21 +01:00
Matthias Mees 1ceae353bf Reposition media selector bar on small screens
References #83
2014-03-10 19:47:10 +01:00
Matthias Mees 64eeeaafc8 Make room for timestamp msg in entry editor on small screens
References #83
2014-03-10 19:43:02 +01:00
Matthias Mees 40b066a3b9 Reduce font-size for h1
This will make longer blog titles fit better on small screens.

References #83
2014-03-10 19:34:23 +01:00
Matthias Mees af9cd2135d Don't use updateOnResize in IE8 for equal heights
This seems to fix the scrolling issues in IE8 in the media db.

References #83
2014-03-10 18:16:18 +01:00
Garvin Hicking 50562d49a9 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-03-10 17:19:59 +01:00
Matthias Mees 93aed1b818 Fix zebra striping in IE8
Apparently, IE8 won't interpret CSS statements if it does not
support all selectors used in the statement?!

References #83
2014-03-10 15:59:13 +01:00
Matthias Mees d157084851 Better container for weblogping services
References #87
2014-03-10 15:13:20 +01:00
Matthias Mees 7e68fdd63e Reposition update plugins button on larger screens
References #87
2014-03-10 15:09:12 +01:00
Garvin Hicking 68b93fd1bc if plugins append to this, we need linebreaks 2014-03-10 12:13:43 +01:00
Matthias Mees e903534862 Layout styles for the update plugins buttons
References #87
2014-03-10 12:09:20 +01:00
Matthias Mees e3c027907f New Modernizr build. 2014-03-09 20:04:16 +01:00
Matthias Mees 5d04730011 Fix iconfonts not working in the installer/upgrader. Again.
First solution affected the backend of finished installations as
well, this one does not.

References #80
2014-03-09 19:05:04 +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 4c00d5f5ae This is not an error per se, change class.
References #80
2014-03-09 17:37:36 +01:00
Matthias Mees cc0a590ec6 Fix installer and updater for use with backend JS
- include Modernizr in the installer as well (needed for no-js/js)
- reference backend JS before body instead of in head
- added container markup for installer error msgs
- some styling for tables in the installer
- remove obsolete no-js/js styles for JS-less installer
- compensate for the lack of iconfonts (due to the style.css not
  being piped through serendipity.css.php in the installer) by
  using different markup which works with system fonts
2014-03-09 17:17:44 +01:00
onli 7f4dbb3e2e Include JS in installer and upgrader
This should fix issue #80 by giving serendipity_editor.js of default to the
installer and  the normal template JS to the upgrader
2014-03-09 16:00:38 +01:00
Matthias Mees 3ef2575788 Minor adjustment for the upgrader 2014-03-09 15:27:48 +01:00
onli e01a754315 Installer markup cleanup
The template assumed the messages to be arrays, though only one of them was one,
and that actually seems to be a mixup from the smartification
2014-03-09 14:58:06 +01:00