166 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
Matthias Mees
623b2f8879 Fix preview iframe in bulletproof, thx pixel32 2019-06-30 19:30:55 +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
klemens
5a95db314a spelling fixes 2017-04-06 22:26:07 +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
Ian
d78724b4c9 remove $Id$ 2016-04-25 12:13:18 +02:00
Garvin Hicking
93e781048c * Make preview_iframe.tpl template files load the proper frontend
CSS file, including cache-busting version string when changing
     themes

References #302
2015-03-18 13:32:14 +01:00
Matthias Mees
9ad1dd9312 Add SEO meta elements to core templates
References #310
2015-03-14 12:41:56 +01:00
Matthias Mees
0e66dbd79a Remove user.css reference and theme options
Affected themes: bulletproof, 2k11, next

These themes will use the core method of including the user.css in
serendipity.css starting with 2.0.1. A note has been added to all
three themes' theme options to document that the possibility of a
user.css exists.

References #280
2015-02-11 16:10:58 +01:00
Garvin Hicking
adfb237b4a fix wrong IF-order
We'll need to also apply that to all additional_themes
2015-01-05 11:37:29 +01:00
Garvin Hicking
9459c393df Use proper "generator" metatag. Do not expose version number if not configured. 2014-07-21 12:11:55 +02:00
onli
918bd8f34e bp: engine: default (#130) 2014-04-27 20:47:14 +02:00
Matthias Mees
67d75d9eba Replace relevant occurrences of 'Template' with 'Theme'
This is for files in the templates/ directory.

References #103
2014-03-11 20:25:20 +01:00
Matthias Mees
ffb7d19497 Replaced hard-coded $item.class in sidebar.tpl.
2.0 changed some of the item class names for consistency. BP is
affected by this as well. This does not need to be backported to
master!
2013-07-21 16:32:35 +02:00
Ian
6573a64544 upport fc184b8 2013-05-28 11:44:01 +03:00
Ian
7fd2cab387 upport 4883824 2013-05-28 10:43:17 +02:00
Matthias Mees
f48ef1c9c6 Escaping. Final version. Hopefully. 2013-02-07 23:44:55 +01:00
Matthias Mees
4d2801f6ae Escaping JS instead of HTML. 2013-02-07 19:34:02 +01:00
Matthias Mees
e00855f877 Escape emitted template option HTML (overlooked one instance). 2013-02-07 17:02:30 +01:00
Matthias Mees
923f8e7497 Escape emitted template option HTML. 2013-02-07 16:56:13 +01:00
Ian
0c82384137 Update templates/bulletproof/info.txt
bump date in changed BP template
2013-01-23 12:21:54 +01:00
Ian
7e55d8d183 Update templates/bulletproof/config.inc.php
reflect POST in BP template configs re-set situations
2013-01-23 11:22:57 +01:00
Matthias Mees
dbe612e9dc Safer version of Smarty3 compatibility. 2013-01-21 16:52:05 +01:00
Garvin Hicking
53ea38aa3c Port from master 2013-01-21 10:06:09 +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
Ian
f6ee851773 added last img error class to BP admin css 2012-05-24 18:42:13 +02:00
Ian
d6c527e422 Smarty3 compat - BP entries.tpl changed eval to assign 2012-05-15 18:18:39 +02:00
Vladimir Ajgl
f50237dab4 Update of czech translation for bulletproof theme and system language file 2011-01-11 21:17:07 +00:00
Garvin Hicking
ada93a01c5 tpl fixes for smarty3, thanks to timbalu 2011-01-06 12:12:47 +00:00
Garvin Hicking
8420699997 template and plugin option groups, experimental 2011-01-03 09:11:17 +00:00
Matthias Mees
c4c2e95010 Removed redundant line in BP's entries.tpl. 2010-09-15 06:48:26 +00:00
Matthias Mees
190468dd53 Added fix for German umlauts in BP pagination. (Thanks to Timbalu.) 2010-09-15 06:46:04 +00:00
Garvin Hicking
f9fa8503f0 (experimental) global theme options 2010-08-24 08:45:09 +00:00
Don Chambers
1dcda4f0a7 BP: add colorset logic to conditionally emit colorset style sheet necessary for child themes. 2010-08-21 21:21:23 +00:00
Matthias Mees
1d4db5c8f6 BP: Added CSS to not indent dd elements in new entries summary definition list. 2010-05-02 20:47:48 +00:00
Matthias Mees
f65b4f34c6 BP: Edited entries_summary.tpl to generate a valid definition list in XHTML. 2010-05-02 08:53:59 +00:00
Don Chambers
e46df53f8b bp: slight mod to css for images inserted via media manager now that editor.js no longer inserts styles. 2009-10-23 19:22:01 +00:00
Vladimir Ajgl
d1500a6c6b Update of czech translation files for plugins, bulletproof theme and system language file 2009-08-12 20:58:39 +00:00
Matthias Mees
10f3cf17f7 BP: Tweaked plugin_calendar.tpl to use date format set in theme options for display of #today. 2009-06-30 12:59:41 +00:00
Matthias Mees
3281509798 BP: Removed unused variable from lang files. (Ooops.) 2009-06-29 14:29:53 +00:00
Matthias Mees
6f434aa3c0 BP: Fix for display of unordered and ordered lists in entries together with ThickBox. Updated info.txt since Don keeps forgetting to do so ;-) 2009-06-05 14:33:07 +00:00
Don Chambers
876a15980b BP: update entries.tpl to use latest version of AddThis script. 2009-05-27 19:03:23 +00:00
Don Chambers
b465b9a494 BP: Add doctype and <html> to preview_iframe.tpl so preview looks identical to published entry. 2009-05-05 14:48:11 +00:00
Don Chambers
717f8d4163 BP: Change skiplink archive URL to {$serendipityArchiveURL} 2009-04-23 14:08:09 +00:00
Matthias Mees
1318c6be6d BP: Added additional currpage2 variable to distinguish between absolute and full URL in navbar menu. 2009-04-16 14:15:25 +00:00
Matthias Mees
5d80d6e53d BP: Added template file for static pages with related category. 2009-04-01 16:10:39 +00:00
Matthias Mees
282b919af0 BP: Minimal fix for staticpage tpls (order of closing divs) 2009-04-01 16:07:59 +00:00
Garvin Hicking
c2e2fb0d48 added french translation by mchinfa 2009-03-24 13:20:44 +00:00