Thomas Hochstein
4010d57d28
Fix SQL error in plugin_history.
...
Since merging #665 `serendipity_plugin_history`
breaks with a SQL error message on every archive
page but the first one; see #693 for reason
and context.
Unset `$serendipity['GET']['page']` before
calling `serendipity_fetchEntries(`)` (and
reset afterwards) to fix that. That's the
correct way, I think, as
`serendipity_fetchEntries()` is not called
in page context here.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-04-11 10:52:50 +02:00
Ian
6be46c890e
consistent plugin usage - history
...
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:01:19 +01:00
Garvin Hicking
863db549f7
Add a space when styling is missing to not clutter output
2015-03-16 10:46:53 +01:00
Garvin Hicking
eab43b12f5
Adjust remaining htmlspecialchars() accordingly
2014-11-24 10:13:40 +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
cd73303500
fixed history plugin for " output
2009-12-23 14:30:57 +00:00
Matthias Mees
9f902f853c
Editet history plugin to only admit serendipity_history_body if corresponding config option is actually true.
2009-02-02 11:44:38 +00:00
Matthias Mees
7b3b3d59f8
Fixed small bug in history plugin which emitted invalid HTML.
2009-02-02 11:37:41 +00:00
Matthias Mees
71f748c09c
Applied fix by gimmel to history plugin. Keeps plugin from emitting empty spans if display or author are disabled in plugin config.
2009-01-02 09:32:22 +00:00
Matthias Mees
10fcd252be
Modified output code for serendipity_plugin_history to put the body into an additional div.
2008-04-14 05:07:06 +00:00
Matthias Mees
ca6484ba4c
Modified output code for serendipity_plugin_history to not display outro if empty.
2008-04-14 05:00:09 +00:00
Matthias Mees
9ca3eb7a9b
Modified output code for serendipity_plugin_history.
2008-04-14 04:45:39 +00:00
Garvin Hicking
67c3dc5c27
Try to fix the selection
2008-04-14 04:04:14 +00:00
Garvin Hicking
f1415b1afe
upport
2007-09-17 09:06:08 +00:00
Garvin Hicking
33395410b4
Encody title
2007-06-30 11:31:15 +00:00
Garvin Hicking
80e14346a5
Also support "last X" REST interface
2006-08-02 10:07:34 +00:00