1
0
Commit Graph

34 Commits

Author SHA1 Message Date
becf99ad1f Fixes bug in serendipity_serverOffsetHour (cp. http://board.s9y.org/viewtopic.php?f=3&t=19963) and adds test case 2014-06-05 16:41:56 +02:00
1b37e41e00 Issue #165 - allow to set configuration of children to their parents config, but on their own names.
Global options (navigation) are even carried through so that they use the central part.
This falls back in place rather nicely, I hope it REALLY works. My first tests showed no issues.
2014-05-28 11:48:56 +02:00
Ian
b4f015e4c0 add custom config to info array - fixes #165 3a and half of 3b 2014-05-20 20:13:22 +02:00
dd83225447 This is my proposal on implementing the ability to switch frontend and backend templates independently.
- This introduces a new option "template_backend" that will be set to indicate the backend template, defaults to 2k11.
- The "Engine: xxx" line in info.txt still works, but only for the frontend
- The frontend fallback chain defaults to the old "default" template to ensure that themes will work that have "old-style" HTML output
- The backend fallback chain only falls back to 2k11 and then "default"
- In the future, we will remove templates/default/admin once the mechanism is proven stable

To test this in all cases you can:

- Copy 2k11/ to 2k11-custom, edit info.txt, give it a distinct name. Edit the admin/index.tpl file to add some code to ensure that you will see that template in the backend if you pick it, or adjust the style.css or whatever.
- Copy idea/ to idea-custom, edit info.txt, add a "Engine: 2k11" line. Now you can test how a template would look like that fallsback on 2k11 instead of "default"

Those permutations can be checked and come to my mind:

- Backend: 2k11, Frontend: 2k11
- Backend: 2k11-custom, Frontend: 2k11
- Backend: 2k11, Frontend: 2k11-custom

- Backend: 2k11, Frontend: idea
- Backend: 2k11, Frontend: idea-custom

- Backend: 2k11-custom, Frontend: idea
- Backend: 2k11-custom, Frontend: idea-custom

They seem to work.

Currently the display of backend and frontend theme in templates.inc.tpl takes up some larger space. Maybe it could be prettified somehow, maybe put frontend and backend template next to each other, not beneath each other? Maybe @yellowled has some suggestions.

@onli and @ophian - please have a look at this, since you both also worked on the fallback chains. Please tell me if you have issues with this. We can easily revert, if you see this approach as not workable. This is more a "proof of concept" draft.
2014-05-14 12:58:06 +02:00
d80a8334c8 Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
2013-07-05 19:16:11 +02:00
cbe07715fd use include_once 2013-06-21 18:11:03 +02:00
5ec7481030 Port of patch #16 to 2.0 2013-05-06 09:47:19 +02:00
7288ffdef8 Fixed most of the redundant br elements in the core. 2012-12-03 13:35:59 +01:00
ee580791bf proper IS NULL 2010-08-24 09:45:46 +00:00
ed9bc8d88c apply also to trackurl 2010-03-30 11:24:12 +00:00
9aff2df847 truncate to 255 2010-03-30 10:47:15 +00:00
958c4c87ea * Experimental: When sending quoted-printable notification mails,
auto-split after 75 characters.
      (Ref: http://board.s9y.org/viewtopic.php?f=3&t=16314)
2010-01-27 15:04:17 +00:00
7d097ab317 Add RFC auto-submitted header
(http://www.iana.org/assignments/auto-submitted-keywords/auto-submitted-keywords.xhtml)
(http://board.s9y.org/posting.php?mode=quote&f=3&p=93402)
2010-01-27 13:33:34 +00:00
316e86f3dc * Added ability to mark authorgroups as "hidden", so that members of such groups are excluded from common author listings. (Ref http://board.s9y.org/viewtopic.php?f=11&t=16237) (garvinhicking) 2010-01-13 12:28:55 +00:00
5630afb7c1 * Do not send mails, if the "To:" address is empty, might happen
if authors do not have a mail account entered in their profile.
      (nealk)
2009-09-21 08:11:35 +00:00
47aa8c2f72 ereg() replacement 2009-09-04 08:51:16 +00:00
f541e5874d New experimental login hashing 2009-02-16 11:29:49 +00:00
58117f3b77 Allow to override internal mail routine 2008-10-28 12:32:30 +00:00
6179858b17 Support Opt-In for comment subscription mails 2008-10-18 11:17:40 +00:00
e2f25e9bad Fix returning unset but existent array key in pickKey 2008-04-10 03:41:17 +00:00
9586d5e2bb Suppress version in email 2008-03-28 11:20:39 +00:00
652ac0bb80 2008-03-20 09:15:07 +00:00
22af86222d fix author counting without drafted articles 2008-02-24 11:06:32 +00:00
056402151e Modify pickKey to examine parent array before nested arrays. 2008-02-19 19:48:53 +00:00
398287ea06 serendipity_parseFileName didn't evaluate the correct name/ext structure for files without extension 2007-07-17 03:46:04 +00:00
22c02491e6 Fix bugs in the new backend templates 2007-06-11 14:32:32 +00:00
3317e6ef49 Add new category property to hide blog postings made into sub-categories from the frontend view, per category. Thanks to netmorix from the forums! 2007-03-22 11:43:59 +00:00
8c68e837e4 Added PDO::Postgres DB-layer support by Theo Schlossnagle 2007-02-06 08:27:29 +00:00
f03841587a Ensure to not be able to call s9y files under circumstances where .htaccess does not deny request AND register_globals is turned on 2006-11-30 21:34:29 +00:00
3e708320bb Awesome MySQL tuning for our central query by Matthew Groeninger 2006-11-15 10:18:43 +00:00
d7f12ea274 fix bug #1586289, strict array check 2006-10-30 14:21:36 +00:00
0fa785d1a6 Fix orphaned categories, textile plugin, smarty commentform function 2006-08-27 11:29:00 +00:00
717022a81d Fix iconv bug, thanks to Matthias Leise 2006-08-05 20:59:00 +00:00
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00