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.
We still have the issue that we have set authorID 0 as the standard authorid in ML. This prevents us being more strict than this.
We will have to re-think this, maybe...
References #385
Fixes many issues like for renaming files and subdir handling, database placements and other issues.
Structures case DIR, FILE and FILE vars for renaming, moving, select and replace.
Touches directoryEdit and mediaproperties related boundaries.
Adds better event messages, which fixes $ob_serendipity_moveMediaDirectory.
Extends and fixes media_items realname issues and changes the length of the item title to be as long as possible.
Added new constants to be executed to the lang files in near future, when some follow up commits have been added.
We will need to check this again, since some ordermode items (mostly the bp.* ones), like bp.TITLE|COMMENTx|DATE break the flow or are not set right and need some conditional tweaks.
In special where the title is shown.
We may even add some more information bits to the item inform layer by condition.
Yeah, I know this would bite with smallscreens, but we could have this conditional too.
and replaces some old "|@" Smarty 2 array "type hintings" to "|".
Also fixes the default fallback in default/admin/media_choose.tpl, which also missed the serendipity js namespace.
@yellowled Please trigger a default/admin/serendipity_editor.js run to fetch up with all latterly added changes.
This commit has two parts: First, media_items was changed to show (parts) of the image toolbar also when being in the editor popup, if the option is enabled. Second, it modifies the rename and the delete button of that toolbar to use ajax, because they otherwise would return to the normal ML. TODO1: Ajaxify the rescale function as well, or make it redirect properly, so the button can be enabled. TODO2: See if the code in media_items can be simplified, it is a dumb translation of the existing approach
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.
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 …?
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.
This looks about the same as @onli's solution, but more usable on
smaller and/or touch devices since it's triggered by a button which
also makes sense if JS is deactivated. Has a no-js fallback, too.