1273 Commits

Author SHA1 Message Date
Thomas Hochstein
b524f7561b Reformat as icon button, in front of "preview".
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-13 09:55:12 +02:00
Thomas Hochstein
6b775e1cac Redo backend page title order.
Code style improvements from the reviews of

* Rename ´$serendipity['title_first'´] to
  ´$serendipity['backendBlogtitleFirst']´ and
  make it boolean

* Add default to `serendipity_config.inc.php`.

* Change the condition in ´2k11/admin/index.tpl´
  that the first branch is run by default

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-13 00:18:28 +02:00
Thomas Hochstein
309d3fc7c5 Add a delete button to the backend entry form.
Closes 472.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-12 23:56:45 +02:00
Thomas Hochstein
488267a6cf Make backend page title order configurable.
The default page title of backend pages is
"section | blog title | $admin". You can
now change the order to "blog title | section
 | $admin" by setting $serendipity['title_first']
to "blogtitle" in serendipity_config_local.inc.php

Closes 

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-04-09 00:47:24 +02:00
Pascal Uhlmann
8791e8929e Fixed uninitialized Smarty value (fixes ) 2017-03-14 14:02:33 +01:00
onli
cdf375623d Require token to change theme (fixes ) 2017-03-02 12:08:05 +01:00
Garvin Hicking
2b5de12b38 Issue 2017-01-26 08:25:06 +01:00
onli
f947c66f66 Add multiple missing CSRF tokens ()
Deleting comments, disabling comment threads, installing plugins, toggling a spartacus update check
2017-01-16 15:32:16 +01:00
Garvin Hicking
e2a665e13b Sync changes 2016-11-28 15:34:10 +01:00
Matthias Mees
090c212d09 Fix maintenance message spacing 2016-10-26 15:23:03 +02:00
Matthias Mees
7b354c1cf7 Fix layout error w/ maintenance messages 2016-10-26 15:21:22 +02:00
Matthias Mees
69f5515ea3 Remove stray aria-hidden attribute 2016-10-26 15:19:43 +02:00
Matthias Mees
eda47a1ffc Fix misplaced aria attribute 2016-10-26 15:16:09 +02:00
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
Matthias Mees
fbcd6d9c98 Revert c6089ba4 2016-10-24 15:17:54 +02:00
Matthias Mees
c6089ba4fd Add styles for the revamped template editor 2016-10-24 15:11:05 +02:00
Matthias Mees
2b70ef0203 Fix layout regression in filtered installable plugins 2016-10-24 11:14:03 +02:00
Matthias Mees
8334348a13 Fix layout regression in installable plugins 2016-10-23 17:37:46 +02:00
Matthias Mees
d3d205ece9 Replace JS-based equal heights with flexbox solution
- Only fire JS equal heights if flexbox is not supported
- Add flexbox styles for backend sections that used to use
  JS based equal heights
- Use Modernizr's flexbox detection to use the old styles
  as a fallback for non-flexbox browsers
- Generate new oldie stylesheet
- Do not use .clearfix with flexbox (Safari doesn't like it)
- Apply IE11 fix for flexbox, see goo.gl/pglrbm

References 
2016-10-23 14:05:00 +02:00
onli
b7e2d57290 Fix: Editor cache not emptied in IE 2016-09-11 23:55:16 +02:00
onli
3aed346370 Fix image upload progress bar 2016-09-11 17:41:07 +02:00
onli
5108486af3 Remove backend js from preview_iframe in next 2016-09-11 15:38:41 +02:00
onli
b22ef8d1ce Improve tab title uniqueness in backend ()
Show the blogtitle after the section, and shortens plugins and template
menu title to the one used in the menu
2016-07-29 00:11:21 +02:00
Matthias Mees
130d32ae1a Optimize long titles in the backend for sidebar plugins 2016-06-21 12:46:48 +02:00
Matthias Mees
48e8dc008c Fix long plugin titles in the backend, once and for all 2016-06-20 20:00:25 +02:00
onli
e34e0db1e5 Covnert bulk mover into a single button + popup (fixes ) 2016-05-25 22:11:17 +00:00
onli
dfc41df02a ajax-uploaded now moves image into selected folder 2016-05-25 20:51:18 +00:00
Matthias Mees
59e569e59f Update 2k11 backend JS assets
- Update autoscroll
- Update magnificPopup
- Update magnificPopup's CSS in style.css
2016-04-20 10:20:44 +02:00
Matthias Mees
db5c7089bb Update backend Modernizr to latest 2016-04-20 10:11:30 +02:00
onli
e84bc1aa80 Fix theme info overlay
Broken in cc4e9f953e30332109a6860b1a6cf4a2261b8788 because @key does not work after the variable was moved as an argument into a function
2016-04-14 16:40:57 +02:00
onli
cc4e9f953e Introduce recommended section in theme backend
Meant to highlight modern themes for guiding users not to pick the outdated xhtml themes still available via spartacus. See http://board.s9y.org/viewtopic.php?f=5&t=20713
2016-04-14 16:18:16 +02:00
Ian
b536a9dcce better descriptions 2016-03-22 19:33:02 +01:00
onli
668363eb1b Merge event and sidebar update page into one () 2016-03-20 14:40:08 +00:00
onli
aa12313ee4 Skip zebra striping for hidden config element (fixes ) 2016-03-18 23:28:03 +00:00
Matthias Mees
62a3624f1f Fix positioning for popuplayer button
That means positioning in the source code as well as in the layout.

References 
2016-03-12 21:06:19 +01:00
onli
6fafd4964a restore accidentaly removed contentplugin type
Was a mistake in 1fb1a6647f2414168ca00bfca80f4f73b71b4723
2016-03-01 00:22:16 +01:00
onli
1fb1a6647f Add color picker as plugin/theme config item 2016-03-01 00:14:15 +01:00
Matthias Mees
400c662462 Use hidden class instead of inline styles 2016-02-09 14:30:25 +01:00
Matthias Mees
8c92422bce Use serendipity.openPopup to fix weird dashboard double click
References 
2016-02-08 20:39:32 +01:00
Ian
eb13701244 delete by multiperm only
this removes some dev test vars for del by author, which isn't possible yet
2016-02-04 16:43:28 +01:00
Ian
b0a33ec353 better not remove ignore case in c2ff0e9
though I had removed item ignore flag in functions_installer.inc.php in my local dev ... but I do not remember why :)
2016-02-04 10:18:24 +01:00
Ian
8d4a0e7e9f avoid break of equal_heights positioning when publishing entries by dashboard 2016-02-03 18:52:09 +01:00
Ian
0af650be44 better comments by author
Removes some restrictions previously added. Or else we would need a 'userComments' privilege. But that would not make too much sense, since we already work with the lowest group privilege here.
This still is not ready yet, I presume. It needs more finetuning like answer to comments, etc.
Please help testing.

References 
2016-02-03 18:12:17 +01:00
Ian
d4ce2533f6 edit comments by authorid
References 

Please test.
2016-02-03 16:28:58 +01:00
Ian
ed37d4ba16 remove old Smarty @ array delimiter 2016-02-03 16:07:40 +01:00
Ian
c2ff0e9ffa idents to source and remove old Smarty @ array delimiter
please test if remove of $item.ignore ionline display has side-effects
2016-02-03 16:03:29 +01:00
Ian
c33790674a idents to source and remove old Smarty @ array delimiter
please test if added dir="{$CONST.LANG_DIRECTION}" has side-effects
2016-02-03 16:02:15 +01:00
Ian
1a99a8dd65 idents to source and remove old Smarty @ array delimiter 2016-02-03 15:54:16 +01:00
Ian
227d115d71 Fix missing perm checks for a "standard user" in MediaLibrary
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 
2016-02-03 15:47:04 +01:00
Ian
fb0fc710a3 fix possible Smarty exception 2016-02-03 15:38:26 +01:00