17 Commits

Author SHA1 Message Date
Hanno
f26a306026 Escape category images to avoid backend XSS.
Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-10-13 18:08:28 +02:00
Thomas Hochstein
e2c0c82aeb Revert "Fix pagination for "stable archives" in themes."
This reverts commit 4e662bf17c420cc997c39c9501cfe0df509d9a09
in parts.

With this - now reverted - commit, the prev/next
arrows in pagination were swapped because they
were the wrong way around. Unfortunately, later on,
the root cause was fixes by "unswapping" the prev/next
links in core, so now the pagination arrows were
... eh ... wrongly swapped. So this commit has to
be reverted.

Backported from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-24 08:58:59 +02:00
Thomas Hochstein
4e662bf17c Fix pagination and links for "stable archives".
* Fix core pagination for "stable archives".

  The current page will always be the current page,
  regardless of archive sorting order. Page 76 of
  86 pages will remain page 76, even if the archive
  sorting is changed; it won't become page 10.

* Fix pagination for "stable archives" in themes.

  Timeline and Bulletproof have pagination.
  Both need to swap the prev/next links for
  stable archives, as the sorting order has
  been reversed.

* Fix prev/next page links for stable archives.

  We shouldn't swap prev/next links for archive
  pages. With stable archives, the title page is
  the last page of the archive, not the first, so
  all other pages are "previos", and we should
  display it like that.

Cherry-picked from master.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 01:02:38 +02:00
Mario Hommel
c3fce509c0 Fix smarty reference in timeline theme. 2019-04-27 17:08:39 +02:00
DonChambers
0faf2b9899 Timeline Theme - more icons & font awesome upgrade
Added more social icons to the index footer, upgraded to Font Awesome 5.7.2.
2019-03-18 09:01:21 -05:00
DonChambers
eafb79546d Timeline Theme - added images to static pages
Static pages now use the same method of image assignment as entries.
2019-03-16 13:48:54 -05:00
Don Chambers
368dca4379 Timeline & Clean Blog: removed reference from function
https://board.s9y.org/viewtopic.php?f=3&t=24074
2018-09-06 10:24:03 -05:00
Garvin Hicking
e23fed0a47 Merge branch 'master' of https://github.com/s9y/Serendipity 2018-04-23 11:58:54 +02:00
Garvin Hicking
775b71134c * Fixed bug in pull request #392 which overwrote user specified
input for logged in authors with an empty realname (wrong array
      key name) and deleted all existing text input
2018-04-23 11:58:32 +02:00
Don Chambers
f5d13f3263 Timeline: add theme option to disable Google webfonts 2018-04-09 18:48:04 -05:00
Don Chambers
4d8f04d406 Add plugin_dynamicform.tpl to Timeline theme 2017-03-18 09:36:57 -05:00
Matthias Mees
34fc78c89d Remove backend JS assets from iframed backend preview
These are no longer required due to recent changes.
2016-09-12 10:26:52 +02:00
Matthias Mees
9a4c26f13f Use improved backend preview iframe height calculation method
Applied to all recommended themes in the core.

References #420
2016-09-09 16:43:15 +02:00
Matthias Mees
0490401f3a Adapt core themes to new serendipity_getFile fallback mechanism
Using frontend=true attribute to properly load frontend theme's
CSS + JS assets.

References #419
2016-09-08 18:45:07 +02:00
Don Chambers
04d3c3ba96 Misc. Theme: Timeline changes 2016-07-14 23:03:56 -05:00
onli
d9ac1542ac Set timeline as recommended theme 2016-07-04 11:14:16 +02:00
Don Chambers
4b39011d69 Theme Timeline added 2016-05-31 21:40:04 -05:00