72 Commits

Author SHA1 Message Date
Ian
3c21bfb9f4 be more strict - fixes 14ce11c778 2014-05-25 11:46:35 +02:00
Ian
14ce11c778 set entries update isdraft to string value false
to be able to publish draft entries from dashboard

References #160
2014-05-23 17:11:05 +02:00
Garvin Hicking
38c19fc150 If updertEntry is called with an array structure, make sure it is usable 2014-03-05 15:37:22 +01:00
Matthias Mees
8151645882 Don't emit comments, trackbacks or comment form in backend preview.
Fix by @onli. References #62
2013-10-10 15:58:55 +02:00
Ian
474953daa5 try to fix - draft preview non-object error
Draft previews threw:
Fatal error: Call to a member function assignByRef() on a non-object in /fullpath/include/functions_entries.inc.php on line 1235, which is the $serendipity['smarty']->assignByRef('entries', $dategroup); line.

Please double check if that is gone now.
2013-09-21 14:30:53 +02:00
Ian
3e79c6d06b Fixed pagination when searching terms with fetchlimit < 4 2013-09-01 14:10:23 +02:00
onli
a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
onli
c7162adf31 fix entries-preview 2013-06-16 15:13:18 +02:00
Matthias Mees
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
Ian
d3d557de91 strip down double slashes in prev & next links
see http://board.s9y.org/viewtopic.php?f=10&t=18944
2012-11-12 13:26:05 +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
Garvin Hicking
bfea178fc4 Some plugins might needs this in the future 2011-12-21 09:16:37 +01:00
Garvin Hicking
2749dc54ad Smarty3 2011-11-24 12:16:02 +01:00
Garvin Hicking
aba04f43b4 * PDO-SQLite patches by nth 2010-10-12 12:38:13 +00:00
Garvin Hicking
51208e0f72 * Only do '*' parameter expansion on the first page of search
results: http://board.s9y.org/viewtopic.php?f=10&t=14810
      (onli, Timbalu)
2010-09-27 08:33:40 +00:00
Garvin Hicking
38e4f719fe Fix PHP 5.3.2 parse error in a file, thanks to fyremoon 2010-07-24 22:23:49 +00:00
Garvin Hicking
77bf3eae79 better patch 2010-03-11 09:14:42 +00:00
Garvin Hicking
a39785766c * Fix SQLite substring search to use % instead of * for secondary
matches (SvOlli)
2010-03-10 12:37:19 +00:00
Garvin Hicking
405ac6baa2 missing varname 2009-11-25 20:41:43 +00:00
Garvin Hicking
18e02a5452 * Alwys increase last_modified when an entry is saved to prevent
stale entries in RSS feeds. Thanks to Cenic
2009-10-06 09:27:55 +00:00
Garvin Hicking
b266d3b3b4 * PostgreSQL compatibility for the printArchives() function to
gather only unique timestamps (cite)
2009-09-12 11:18:28 +00:00
Garvin Hicking
db2ad9402a * Allow to define sort order for search-results (garvinhicking) 2009-08-24 08:24:19 +00:00
Garvin Hicking
6e8f54f588 * Added 'orderby' parameter to plugin API hooks for the serendipity
fulltext search function (garvinhicking)
2009-08-21 08:09:52 +00:00
Garvin Hicking
93802dbf95 Patch by paddyforan to allow overwrite of this arrey value 2009-08-14 11:06:36 +00:00
Garvin Hicking
79c98feb26 Proper variable referencing to make the 'entry_groupdata' hook work 2009-06-28 16:44:43 +00:00
Garvin Hicking
77f9542ac9 temporary hack to log queries 2009-06-17 12:15:37 +00:00
Garvin Hicking
9675b30fa3 API improvement, prpoerly store entry reference in printentries, and
save cid for api hook
2009-06-11 15:38:22 +00:00
Garvin Hicking
a4284fdad2 change api to allow skipping smarty parsing 2009-04-06 13:33:18 +00:00
Jude Anthony
5874e18526 Allow * in quicksearch 2009-03-10 16:07:43 +00:00
Garvin Hicking
6628f392fd Patch by onli to improve quicksearch 2009-03-04 12:10:29 +00:00
Garvin Hicking
61be3385e3 try to prevent division by zero 2008-12-09 10:05:33 +00:00
Garvin Hicking
b979267c4c Added new %parentname% category-permalink option 2008-11-26 12:33:29 +00:00
Garvin Hicking
29b46f0c53 Add more abstraction possibilites, gathered throughout the last weeks 2008-10-13 10:53:45 +00:00
Garvin Hicking
d1c407121c pgsql bugfix, thanks to jtate 2008-09-19 08:12:26 +00:00
Garvin Hicking
d3fd8ad8ec Fix parse error 2008-08-26 13:48:48 +00:00
Garvin Hicking
44290653bb support postgresql ts_vector fulltextsearch, thanks to genesis 2008-08-26 13:19:54 +00:00
Garvin Hicking
fdfcdeb56d Do not execute trackbacks for entries in the future 2008-08-03 11:40:51 +00:00
Jude Anthony
4b09f17bca Add last_modified, loginname, and isdraft to entries in search reults. 2008-07-22 19:21:49 +00:00
Garvin Hicking
db80a5c199 Added mor event hook SQL query parts 2008-05-15 11:40:32 +00:00
Garvin Hicking
775253c2eb Stricter check 2008-04-10 09:01:05 +00:00
Garvin Hicking
652ac0bb80 2008-03-20 09:15:07 +00:00
Garvin Hicking
21bc3bc142 Missed one commit file 2008-02-01 14:16:55 +00:00
Garvin Hicking
83205fb019 Add new "joinown" and "entryprops" parameters to
{serendipity_fetchPrintEntries}
2007-11-29 12:27:50 +00:00
Garvin Hicking
e9545daaf9 Use str_replace for matching searchwords, thanks to Dietrich Raisin 2007-09-28 07:46:34 +00:00
Garvin Hicking
1364313382 Require category joins in some cases, add smarty params for new fetchentry features 2007-07-17 08:43:06 +00:00
Garvin Hicking
5839530e08 Add language constant for grischa, and fix up indending *g* 2007-07-13 12:24:18 +00:00
Grischa Brockhaus
2f3f8de21a The archive sidebar plugin shiped with s9y now displays numbers of articles correctly for month, catergories and so on, even if multicategory articles are used. (brockhaus) 2007-07-13 12:05:22 +00:00
Garvin Hicking
9e73c330c8 Beautify, add missing code comments 2007-06-05 07:58:47 +00:00
Garvin Hicking
90e26a8c70 Add sqlite3 support, by geekmug 2007-05-18 07:59:14 +00:00
Garvin Hicking
3a50d73d9c Patch HTTP-host cookies and basepath detection, by Rob 2007-05-16 13:29:28 +00:00