106 Commits

Author SHA1 Message Date
Matthias Mees
26d4b32987 Remove s9y image editor from 2k11 admin theme.
This removes the proof-of-concept image editor from 2k11 – as far
as I can see/do that. @onli should probably have a look at whether
there are other code parts which need/should be removed along with
this.
2013-07-02 12:15:36 +02:00
Matthias Mees
8091a4fc34 Replace href-less insert_image with button. 2013-06-28 14:29:43 +02:00
Matthias Mees
47ca296b66 Replace status timestamp with a simple info tooltip. 2013-06-28 14:21:37 +02:00
Matthias Mees
a245a28c4b Fix insert (category) image JS. 2013-06-28 12:24:24 +02:00
Matthias Mees
2f5daac8b2 Use namespaced call to toggle_categoryselector. 2013-06-28 12:05:54 +02:00
Matthias Mees
adcb2f3e87 Skip toggle_extended if wysiwyg editor is used.
With a wysiwyg editor, collapsing the extended entry editor does
not work, so we'll just skip it in that case.
2013-06-27 12:39:23 +02:00
onli
f2cf17804b fix toggle_extended (missing namespace) 2013-06-25 01:12:28 +02:00
onli
4c95630c4c Replace xinha with ckeditor
Removes also a lot of the code needed by the wysiwyg-plugins, but the whole spawn()-logic has to get checked anyway
2013-06-25 01:05:19 +02:00
onli
ce9ac484d9 namespace serendipity_editor.js 2013-06-24 23:17:16 +02:00
onli
edaf7e9d6f serendipity_editor.js.tpl: escapeBrackets(str) 2013-06-24 21:56:54 +02:00
Matthias Mees
49181fb06d A better solution for show/hide additional form info text.
This is based on the show/hide functionality already used in the
backend in various places with a nice no-js fallback.o
2013-06-24 20:59:03 +02:00
Matthias Mees
17e0f159b0 Revert jQuery tooltips. 2013-06-24 11:04:56 +02:00
Matthias Mees
3bd03b0129 Add jQuery tooltips.
There are responsive and touch-friendly, including a tweakable
timeout so they don't get too annoying when used on a collection
of icon buttons. Demoed on reset timestamp button in entry editor.
2013-06-23 18:25:37 +02:00
Matthias Mees
5bec2323ac Switch show_config_all plus/minus icon. 2013-06-22 14:11:59 +02:00
Matthias Mees
95b5764edf Zebra striping for configuration groups. 2013-06-22 13:57:08 +02:00
Matthias Mees
f0b7d6631b Spped up configuration display.
Since we now hide controls on no-js, we can skip some JS which
affected rendering performance.
2013-06-22 11:14:18 +02:00
Matthias Mees
01b390fcb7 Clean up comments reply click handler. 2013-06-21 23:06:50 +02:00
Matthias Mees
e9f55cc418 JS cleanup. 2013-06-21 22:24:01 +02:00
Matthias Mees
f572ff84ea Media upload form rewrite.
This version no longer requires a hidden form template in the DOM,
which makes the logic for cloning the upload form a bit easier to
understand and avoids an initial clone to put the initial upload
for into the DOM.
2013-06-21 18:23:19 +02:00
Matthias Mees
01a93d5488 Adapt fillInput() to media upload; fix addUploadField(). 2013-06-21 17:58:03 +02:00
Matthias Mees
fd2f4ea5bf Drop foreign upload from add media form. 2013-06-21 14:30:40 +02:00
Matthias Mees
f7dd8ba630 Externalize onsubmit events. 2013-06-21 14:16:46 +02:00
Matthias Mees
748cf0b8b1 Insert .media_choose preview dynamically; hide stuff on no-js. 2013-06-21 13:49:26 +02:00
Matthias Mees
5798ca100f Minor UI consistency fixes. 2013-06-21 11:19:39 +02:00
Matthias Mees
8a58c5eb1a Some minor UI consistency fixes. 2013-06-19 15:36:01 +02:00
Matthias Mees
e1aac9cc13 Simplified media upload submit; added icon button. 2013-06-19 10:26:12 +02:00
Matthias Mees
dbaf23ed69 Media file metadata rewrite.
Also fixes media upload form not being submitted.
2013-06-19 09:58:41 +02:00
Matthias Mees
45986fb2da External event handlers for theme options choose media. 2013-06-19 08:18:31 +02:00
onli
637a75f0fc propagate token_url for js-initiated form-actions like ML-rename 2013-06-18 22:21:22 +02:00
onli
a52e05598b fix ML-Image insert in template options 2013-06-18 22:05:36 +02:00
Matthias Mees
6906e2cac4 External onclick handler for checking inputs on submit. 2013-06-18 16:49:59 +02:00
Matthias Mees
7818fb1c96 External onclick handler for adding keywords. 2013-06-18 16:45:48 +02:00
Matthias Mees
8ce7457f3f External onclick handler for media cropping. 2013-06-18 16:07:21 +02:00
Matthias Mees
850652f527 External onclick handler for media fullsize view. 2013-06-18 14:27:35 +02:00
Matthias Mees
6bba09cbf2 External onclick handler for renaming media file.
NOTE: Renaming is not completed, submitting the prompt results in
      an error msg:

"Your browser did not sent a valid HTTP-Referrer string. This may
have either been caused by a misconfigured browser/proxy or by a
Cross Site Request Forgery (XSRF) aimed at you. The action you
requested could not be completed."

      This is beyond my JS knowledge. @onli …?
2013-06-18 14:12:07 +02:00
onli
8da2368e26 fix js-init error 2013-06-16 19:57:26 +02:00
onli
06f65b44b3 datetime-local fallback and fix timestamp-button 2013-06-16 15:56:35 +02:00
Matthias Mees
606764fc9e External onchange handler for media upload. 2013-06-15 14:10:37 +02:00
Matthias Mees
91ff747733 External onchange handlers for media scale. 2013-06-14 19:07:26 +02:00
Matthias Mees
41734c682e Move rescale() to serendipity_editor.js.tpl.
Also jQueryfied rescale() a bit, simplified rescale preview.
2013-06-14 19:00:01 +02:00
Matthias Mees
d7144c0a24 Drop unused FT_toggle(). 2013-06-14 17:59:44 +02:00
Matthias Mees
2b2ed7551d External onclick handler for scaling images. 2013-06-14 17:18:37 +02:00
Matthias Mees
a6470864fb External onclick handlers for comments. 2013-06-14 17:09:25 +02:00
Matthias Mees
a7c7d1426e External onclick handler for entry preview. 2013-06-14 11:32:41 +02:00
Matthias Mees
bc0549397a External onclick handlers for editor tools. 2013-06-14 11:24:55 +02:00
Matthias Mees
cdeb113846 Replace inline onlick handler for go back. 2013-06-13 16:07:44 +02:00
Matthias Mees
6cb397247f Replace onclick handler for reset timestamp. 2013-06-13 15:53:49 +02:00
Matthias Mees
a658e20b27 New iconfont build.
This includes only the icons actually used or intended to be used
in the backend. Please note that unfortunately, some class names
have changed. Also some icons have been exchanged.
2013-06-11 12:54:58 +02:00
Matthias Mees
60657014ea Show/hide full comment. 2013-06-09 16:16:59 +02:00
Matthias Mees
a9774d3920 Backported checkSave() function. 2013-06-08 15:41:25 +02:00