105 Commits

Author SHA1 Message Date
Matthias Mees
7410465496 Improve accessibility of iconfont icons
Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.
2016-10-26 11:29:25 +02:00
Ian
1a99a8dd65 idents to source and remove old Smarty @ array delimiter 2016-02-03 15:54:16 +01:00
Garvin Hicking
bdd6c4fb17 Fix missing escaping (possible XSS) of category names in the Backend
Entry Admin, which would allow editors that create a forged
category name to attack other editors in the backend (privileged
access to the backend required).
Thanks a lot to Edric Teo for reporting this issue.
2015-03-12 10:16:59 +01:00
Garvin Hicking
b63c4e1466 Revert release, check for freetag
References #272
2015-01-23 12:20:26 +01:00
Matthias Mees
24bdb147e0 Move taxonomy quick view back
References #239
2015-01-19 11:51:30 +01:00
Matthias Mees
d375a00046 Move cats/tags quick view below Entry Body
References #239
2015-01-19 11:23:50 +01:00
Matthias Mees
1a0e039f6f Add proper lang constants for tags quick view
– Also translated the new constants to German
- Also removed duplicate tagsList function (remnant of the merge
  conflict)

References #239
2015-01-19 09:38:51 +01:00
Matthias Mees
1448313fb8 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
Conflicts:
	templates/2k11/admin/entries.tpl
	templates/2k11/admin/serendipity_editor.js.tpl
	templates/2k11/admin/style.css
2015-01-17 18:12:15 +01:00
Ian
1480e0a88b ups how come? 2015-01-17 18:11:42 +01:00
Matthias Mees
4ecc125adb Merge branch '2.0' of github.com:s9y/Serendipity into 2.0
Conflicts:
	templates/2k11/admin/entries.tpl
	templates/2k11/admin/serendipity_editor.js.tpl
	templates/2k11/admin/style.css
2015-01-17 18:10:41 +01:00
Matthias Mees
0dc96ec9b8 Fix showing cats/tags list overlay on clicking cats/tags list
This was broken due to my recent markup changes. Also added lang
constants for the tags list, but since we could label it better,
introduced new lang constants for it.

References #239
2015-01-17 18:05:20 +01:00
Matthias Mees
7c4f1f1052 Add a 'quick view' for assigned tags to the entry editor
Basically replicates the same functionality as for categories. JS
only. Also revised the markup and JS of that for consistency. Too
lazy to make a generic function for it, we can do that later.

References #239
2015-01-17 17:41:35 +01:00
Matthias Mees
0e56ffeba0 Introduce new lag constant for category view mode toggle.
(Already removed the old lang constant in addlang.txt which has
already been added.)

References #254
2015-01-01 15:31:37 +01:00
Matthias Mees
d0af671d2f Add better icons for compact/hierarchical category view toggle.
Includes new iconfont build.

References #254
2015-01-01 15:25:13 +01:00
Matthias Mees
d91aceb41e Add style for compact category view overlay.
References #254
2014-12-31 15:37:52 +01:00
Matthias Mees
8cb627cb31 Add switch for category overlay view + JS code for it.
References #254
2014-12-31 15:18:52 +01:00
Matthias Mees
b141f4a410 Revert relevant aspects of category overlay to hierarchical view.
Reference #254
2014-12-31 14:52:39 +01:00
Matthias Mees
1ac7f7141c Fix date format bug in entry editor (related to typo).
References #252
2014-12-29 15:23:18 +01:00
Ian
ffe93c92fc allow php class_exists in smarty security and better 0ffd02c
Rferences #245
2014-12-10 12:01:15 +01:00
Matthias Mees
5f7fa8ee2a Improve layout and UI/UX for categories overlay in entry editor.
References #222
2014-11-15 12:38:29 +01:00
Matthias Mees
55459bc112 Fix weird show/hide behaviour for tags/classes toggle buttons.
References #222
2014-11-13 21:43:39 +01:00
Matthias Mees
b5e976adcf Add a button to switch entry status quickly to entry editor.
- Includes new iconfont build with two new icons for entry state.
- JS to toggle entry status based on quick switch button.
- JS to toggle quick switch status based on entry status.
- JS to emit a notification that entry status has been updated.

References #222
2014-11-13 20:49:13 +01:00
Ian
5e6b864fdf fix xhtml for 9b89c3d
References #201
2014-08-08 16:24:39 +02:00
Garvin Hicking
9b89c3d815 Another stab at fixing Issue #201
When no categories are delivered to serendipity_updertEntry this can mean two things:
- categories need to be un-assigned
- categories where not addressed/fetched/passed to the function [see include/admin/overview.inc.php for publishing a post! Or plugins like freetag, using serendipity_updertEntry]

To address this a new serendipity[had_categories] is added to the backend template, which can be checked for.

Feedback appreciated!
2014-08-08 14:23:19 +02:00
Garvin Hicking
33193806ed References #189
Combine additional jquery/plugin files into one
Remove single file references
Moved dragdrop.js to serendipity_Editor.js.

Please test. Might make trouble in the installer/upgrader?
2014-06-25 12:28:59 +02:00
Ian
426e5d766b correct escape in 2k11/admin files 2014-06-19 19:43:52 +02:00
Matthias Mees
ead0f15e46 Merge branch '2.0' of github.com:s9y/Serendipity into 2.0 2014-06-18 11:57:53 +02:00
Matthias Mees
f60df79b15 Add button for tag selection to entry editor.
Only displayed if freetag plugin is installed.

References #188
2014-06-18 11:04:46 +02:00
Ian
b5148f0fbd reintegrate plugin hook to WYSIWYG textareas - fixes #185
@yellowled
Please have a look to extended area CSS, since the hook button/link in #tools_extended is handled differently to #tools_entry.
Test with emoticonchooser plugin.
2014-06-18 10:42:13 +02:00
Matthias Mees
5aae04915c Move submit buttons in entry editor
References #176
2014-06-02 10:52:13 +02:00
Matthias Mees
a915981b6a Move category list in entry editor.
Also trigger category selector on clicking category list.

References #176
2014-06-02 10:49:56 +02:00
Matthias Mees
b8faaba829 Make category filtering a reusable function for live filtering
Can now be used anywhere where a "real-time" filter is desirable.
As a usage example, it's implemented for the list of installable
plugins. Should work anywhere, though – needs an input element,
a list of target elements and an element within those target
elements to contain the search term.

Also made the function for the reset button for this reusable.

References #154
2014-05-18 14:13:27 +02:00
Garvin Hicking
7223456b53 i18n title attributes, document some past changes 2014-05-05 10:00:59 +02:00
Matthias Mees
9ce0033c88 Add HTML button classes to extended entry textarea.
Fixes the buttons not emitting the arrow brackets for HTML tags in
the extended entry's plain editor.

References #121
2014-05-04 11:27:08 +02:00
Matthias Mees
52fd0d331b Marked stray untranslated title attributes
References #142
2014-05-02 13:18:12 +02:00
Garvin Hicking
919674e25a i81n for categoryfilter 2014-04-25 09:30:21 +02:00
Matthias Mees
2ae6bcc5dd Add reset button for category filter; add some styling.
References #123
2014-04-24 17:30:40 +02:00
Garvin Hicking
063b753892 Proof of concept idea for the "filter category" idea
http://board.s9y.org/viewtopic.php?f=11&t=19862
2014-04-24 15:21:25 +02:00
Matthias Mees
ed1fb3c8a3 Open/close tags, support for language-based tags in non-WYSIWYG.
Some plugins might want to hook into the non-WYSIWYG editor and
create buttons which do use different "tags" for open/close or
not create HTML markup at all. This makes it possible for them
to do so.

References #122
References #114
2014-04-18 16:23:40 +02:00
Matthias Mees
fa500b947c Use lower-case letters in non-WYSIWYG editor.
References #122
2014-04-18 16:15:01 +02:00
onli
931a0f0b3b nobr button was using the wrong id for tarea 2014-03-31 02:46:39 +02:00
onli
fd113ae212 Use id for textarea identification
this prodcues an easier compatiblity with the staticpage-plugin, and is
altogether more developer friendly than the documents.form-selector
2014-03-31 02:29:54 +02: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
e41ef67f99 Add a (JS only) category list to entry editor
This will emit (and update) a list of all categories assigned to an
entry based on the selection in the category selection popup.

References #77
2014-03-08 10:47:45 +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
49319139e0 Refactor toggle buttons in entry editor according to config. 2014-03-01 18:24:49 +01:00
Matthias Mees
dd013f3a70 Use new show hide buttons. 2014-03-01 15:51:44 +01:00
Ian
fd8f4d5a16 short modifier - escape default is html 2014-02-28 10:04:12 +01:00
Matthias Mees
9af2e54f6f Updated iconfont build; exchanged a few icons. 2014-02-10 19:48:26 +01:00
Garvin Hicking
3d7765f066 upport 1.7.6 security fixes 2014-02-06 09:36:31 +01:00