4785f07f12
Always assume UTF-8.
2022-02-20 17:14:54 +01:00
33a98547a7
Fix English language fallback.
2022-02-20 01:36:33 +01:00
694309bec9
Force UTF-8, remove all non-UTF-8 translations.
2022-02-20 01:11:37 +01:00
surrim
9a60f9a494
Php8 fixes for #766 ( #769 )
...
* init empty vars to avoid PHP8 warnings
* removed debug output for serendipity_session_destroy()
* init smarty fixed for PHP8
* removed optional parameters for PHP 8
* 2k11 template fixes, maybe updating smarty will solve everything
* init or test undefined variables for PHP 8
* remove only existing files
* make sure string is not empty before comparing the first letter
* check if SMARTY_DIR was already defined
* use mb_language('uni') for unicode
* fixed image filter bug
* Smarty debug fixed in external lib
* fixed archive bug
* fixed entries bug
* updated plugin versions
Co-authored-by: surrim <surrim@happyhydro.org>
2021-07-18 22:14:23 +02:00
Thomas Hochstein
a80a57b780
[plugin_comments] Don't strip HTML unconditionally.
...
If serendipity_event_unstrip_tags is active, we
don't want to strip HTML tags from comments; we
want to keep and encode them with entities. So
we should do that here, too.
As the frontend_display hook - that is catched by
serendipity_event_unstrip_tags - is called quite
late, we have to skip the strip_tags() call
before truncatin the entry.
(I'm not sure why we first strip _all_ tags and
later on keep _some_ tags (that have already
been removed), but that's maybe because the
frontend_display hook may have re-added some
tags? Be it as it may, we do that for 14
years, so I don't want to change that now.)
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-24 15:24:10 +02:00
Thomas Hochstein
da4985f543
[plugin_comments] Fix wordwrap at wound boundaries.
...
Add ChangeLog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-21 16:08:55 +01:00
klemens
5a95db314a
spelling fixes
2017-04-06 22:26:07 +02:00
Ian
fd9e77a4c8
remove $Revision$
2016-02-08 15:27:34 +01:00
Ian
926da9c59a
consistent plugin usage - comments
...
this and followup commits touches:
class method parenthesis "\n{\n <code>\n}\n",
case break switches,
consistent boolean usage,
append css to eventData
and other cleanups
2016-01-26 14:03:02 +01:00
Ian
00f5a6f940
that should be it with langs
2016-01-22 16:57:25 +01:00
Ian
e51533bc31
lang tabs removal
2016-01-21 20:38:37 +01:00
Ian
2a733ffe17
lang cleanup core comments plugin
2016-01-21 18:32:30 +01:00
Garvin Hicking
eab43b12f5
Adjust remaining htmlspecialchars() accordingly
2014-11-24 10:13:40 +01:00
Garvin Hicking
d7ef7a7a04
port everything so that 2.0 and 1.7 have the same features
2012-06-12 19:39:11 +02:00
Grischa Brockhaus
7db3f9ad19
plugin_comments: Added comment id to eventData for frontend display.
2012-02-03 14:10:31 +01:00
Garvin Hicking
8ca7f04b8f
* Implemented suggestion of removing boilerplate code in plugin API:
...
Change hack protection, introduce unified language loading, see
http://board.s9y.org/viewtopic.php?f=11&t=16921
Thanks to mt2!
2010-08-20 09:07:42 +00:00
Garvin Hicking
89974bc7ae
* Fix a bug in statistics output, when statistics for single-number
...
months is created. (Andreas Bilke)
2009-10-09 13:02:41 +00:00
Garvin Hicking
0149a2dc64
* Allow comment sidebar plugin to only show coments for entries
...
that are allowed to be viewed by the current visitor.
2009-09-21 09:12:59 +00:00
Grischa Brockhaus
30c5d67934
plugin_comment displays trackbacks *and* pingbacks in trackback only mode now.
2009-07-01 11:50:51 +00:00
Garvin Hicking
450ab08732
language update by konus
2009-06-15 09:26:05 +00:00
Grischa Brockhaus
e7bf4340a5
Fix urls with invalid cased protocol part while displaying entry comments.
2009-06-12 12:13:34 +00:00
Jude Anthony
9e379a5319
Fix typo
2008-11-19 19:45:25 +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
Ivan Cenov
4c54bc631b
1) Translated new string in serendipity_plugin_comments in BG language.
2008-10-08 19:57:49 +00:00
Garvin Hicking
db14b28472
fix wrong documentation, thanks to Sammy
2008-09-10 10:26:36 +00:00
Matthias Mees
56dc221539
Modified generated code for serendipity_plugin_comments.
2008-04-09 22:57:42 +00:00
Garvin Hicking
533b69b9f0
Do not use draft entries
2008-02-25 10:18:21 +00:00
Garvin Hicking
8c8e9ad42c
* Added czech translation to bulletproof templates and bundled
...
plugins, by Vlada Ajgl
2008-01-20 13:33:18 +00:00
Ivan Cenov
d9a2c94c37
1) BG translation of several strings.
2008-01-13 19:52:42 +00:00
Grischa Brockhaus
3e491633b6
plugin_comments: URLs of writers may now be shown in the sitebar. This only worked for trackbacks formaly, now it works for trackbacks, pingbacks and human writers. You may configure, in what type of comment the URLs should be added.
2008-01-12 13:47:16 +00:00
Garvin Hicking
5304923dd0
chinese language update by Demin Yin (work in progress)
2007-11-20 12:05:07 +00:00
Garvin Hicking
0be0f20c44
Add translations by VladaAjgl
2007-11-20 11:29:06 +00:00
Garvin Hicking
2be8f6d227
propper utf8 code
2007-10-18 11:42:35 +00:00
Grischa Brockhaus
c1c5cec488
plugin_comments: Hand over author to other plugins, too.
2007-07-27 10:49:30 +00:00
Garvin Hicking
7f7afb21a2
For the future: Always indicate source of where frontend_display is called. Thanks to Karotte.
2007-07-08 20:07:41 +00:00
Garvin Hicking
584d836fb8
Favatar patch by brockhaus
2007-07-08 18:33:18 +00:00
Tadashi Jokagi
b91764fca1
* translation updated.
2007-06-06 04:23:06 +00:00
Ivan Cenov
723098609e
1) Translated serendipity_event_weblogping into BG.
...
2) Removed typing error.
2007-03-08 18:06:13 +00:00
Ivan Cenov
19821f6cc1
1) Removed ?> <LF> at the end that prevented RSS feeds.
2006-08-29 10:25:22 +00:00
Ivan Cenov
85aacdd434
1) Removed '\n' after '?>' at the end of files.
2006-08-18 07:36:54 +00:00
Tadashi Jokagi
628ad67156
* propset.
2006-08-15 10:14:56 +00:00
Garvin Hicking
1d2b48e906
fix wrong variable name, thanks to stm!
2006-08-05 20:47:49 +00:00
Garvin Hicking
80e14346a5
Also support "last X" REST interface
2006-08-02 10:07:34 +00:00