48 Commits

Author SHA1 Message Date
onli
567587718b React to errors when comment could not be deleted () 2018-06-12 23:49:11 +02:00
Thomas Hochstein
0f9bfe3fda Fix display of messages for comment editing.
All messages and errors were appended to $msg
and $errormsg, respectively, creating one long
unformatted string - mostly unreadable.

So we make $msg and $errormsg arrays instead
and iterate over those arrays in the template,
displaying each message separately.

Fixes .

Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-07 23:11:13 +02:00
xoxys
7e5f63d9d2 remove backend variable 2016-02-09 10:55:12 +01:00
xoxys
93322d2dce Disable email notifications for replies send from backend
Add variable $comment to control comment replies from backend
2016-02-08 09:47:58 +01:00
Ian
a47fa22ca4 do not set spamblock button if user not has 'adminComments' privilege 2016-02-04 15:41:58 +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
90eed2d001 typos and minors 2015-12-01 12:12:01 +01:00
Garvin Hicking
00be5d7b4c Security fixes from Tim Coen (file upload, comment token escaping, 2k11 js comment name escaping) 2015-07-24 13:27:21 +02:00
Ian
8da4c647a8 cleanup tabs and whites 2014-11-24 14:17:38 +01:00
onli
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug ()
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
onli
a5ca5718b4 non-error-msg for comments 2013-08-18 19:03:19 +02:00
onli
b2bcd08c99 rework spamblock action buttons
anchor workaround and restored event order, should fix 
2013-07-21 01:00:15 +02:00
onli
379b9255b2 Comment reply in backend as modal
Removes the alert dialogue also from the normal popup
2013-07-20 22:47:54 +02:00
onli
ae74401668 2k11 is default template, included admin-tpls, and made it installable 2013-05-30 22:19:07 +02:00
onli
a56b5382e1 removed TEMPLATE_SWITCH 2013-05-27 21:06:52 +02:00
Ian
78dd515f7d fixed comment entrylink url 2012-12-09 15:59:33 +01:00
Matthias Mees
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
Ian
fb81d6a121 added temporary backend developer template dir switch - Please read:
The smartified code as forked from master to 2.0 being outsourced,
now is to find in /include/admin/tplold, which will still be used as
the default backend template dir.
To switch to the new version, please paste the dirs and files of s9y-admin-tpl
as adviced in the readme and reload, but also add a
```php
	// End of Serendipity configuration file
	// You can place your own special variables after here:

	define('SWITCH_TEMPLATE_VERSION', 'true');

```
to the end of your serendipity_config_local.inc.php.

To switch back to the old smartified files, just set a // to the define().
2012-11-20 14:38:28 +01:00
Ian
a3f03a40af forward thinking - added error / success / notice classes and
removed their img inline styles to default/admin/style.css
2012-05-23 19:23:41 +02:00
Ian
eb578a304f comments.inc, entries.inc, images.inc, upgrader.inc GET enhancements 2012-03-03 12:52:39 +01:00
Ian
5f6b48a9b5 comments.inc enhancements 2012-03-03 11:38:13 +01:00
Ian
9293e0b333 smartified comments.inc and some minor fixes to other tpls 2012-02-19 15:35:05 +01:00
Ian
0f11ccc288 made backend comment (error) messages styleable
just as the others and added .serendipity_backend_msg_notice to add compat style modes to serendipityAdminMsgError
2011-11-25 16:42:02 +01:00
Garvin Hicking
22c6f6720b properly use windows replacements, by timbalu 2011-07-11 06:14:12 +00:00
Garvin Hicking
cdb1a830c3 . 2011-04-11 12:45:26 +00:00
Garvin Hicking
defb3ff1fd * show subscription status of comments in frontend and backend 2011-04-11 12:35:40 +00:00
Garvin Hicking
0bec630e0a we don't need no
need no bright hashs
i'm a rockstar.
2011-01-10 11:27:32 +00:00
Garvin Hicking
e46563693c missing commit 2010-12-21 19:41:19 +00:00
Garvin Hicking
414ce21c0f * Show backend comment pagination in footer and header 2009-12-08 14:03:57 +00:00
Garvin Hicking
ba5bb5debc * Don't toggle the border of marked comments in the admin section
to 2px, to avoid padding. Thanks to hboeck!
2009-12-08 13:09:21 +00:00
Garvin Hicking
bc57aaa2b5 fix errors 2009-02-11 12:38:50 +00:00
Garvin Hicking
3fa6ab4d84 Allow approval of comments requiring confirmation 2009-02-11 12:35:44 +00:00
Garvin Hicking
7300925ce7 * Prefix possibly missing http:// of commenting authors URLs
in recent comments sidebar plugin and admin interface.
2008-10-23 13:50:54 +00:00
Grischa Brockhaus
afba53edfe Changed used language entry for option "Show comment complete" 2008-02-10 10:01:32 +00:00
Garvin Hicking
d34bbd7181 * Add ability to plugins to check uploaded media files for invalid
file extensions. Added more escaping to user- and groupnames
      for untrusted author environments, thanks to Hanno Boeck.
      (garvinhicking)
2008-02-01 14:10:14 +00:00
Garvin Hicking
b99a7194f8 Allow to re-moderate comments 2008-01-03 15:02:22 +00:00
Garvin Hicking
b839b47df5 * Fix displaying entry title in the backend section exactly like
in the frontend, thanks to Alex (garvinhicking)
2008-01-02 10:12:57 +00:00
Don Chambers
4b2575819e comments.inc.php - truncate author, email and url like referrer on admin comments page; add new class for pending comments header, BP admin now shows yellow background with red border for pending comments header matching Grischa's previous contribution of a red border for comment content below the header. 2007-09-18 16:06:04 +00:00
Grischa Brockhaus
dea579ee85 * Pingbacks are named "pingback" in the admins comment list (instead of "trackback")
* Added new css class for pending comments in order to mark them optical via css
2007-09-02 13:53:18 +00:00
Grischa Brockhaus
60a0320eb6 Added pingback filter option for comments in admin area 2007-09-02 01:23:21 +00:00
Garvin Hicking
a0d950b320 HTML and images by Don 2007-08-06 10:18:26 +00:00
Garvin Hicking
472432b1b9 Merge patch from Don Chambers for better input classes in admin 2007-07-12 09:40:04 +00:00
Garvin Hicking
fbb11af1b5 Fix comment editing panel being able to set circular reference on "in reply to" option. Thanks to Urs Enke! 2007-06-12 10:00:26 +00:00
Garvin Hicking
4c823b9d47 Preview correction 2006-10-26 09:46:53 +00:00
Garvin Hicking
41dd356d45 Admin-based comment response, CSRF-protection for comment form in antispam plugin 2006-10-26 09:41:10 +00:00
Garvin Hicking
8df915bcf5 Fix gazillion comment count bug 2006-10-23 07:32:37 +00:00
Garvin Hicking
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00