16 Commits

Author SHA1 Message Date
Ian
1559472ca3 Update include/admin/templates.inc.php
to avoid displaying older template vars in case of a template change like from BP to some other Template, in case of:
- previouses config_groups in templates with a config file and 
- all other other core used vars in case of no config file
This may need further finetuning...
2013-02-05 17:24:39 +01:00
Garvin Hicking
71ee300143 Purge browser cache using a timestamp variable when switching templates.
This should hopefully fix Ian and my problems.
2013-01-28 09:35:34 +01:00
Ian
fb81d6a121 added temporary backend developer template dir switch - Please read:
The smartified code as forked from master to 2.0 being outsourced,
now is to find in /include/admin/tplold, which will still be used as
the default backend template dir.
To switch to the new version, please paste the dirs and files of s9y-admin-tpl
as adviced in the readme and reload, but also add a
```php
	// End of Serendipity configuration file
	// You can place your own special variables after here:

	define('SWITCH_TEMPLATE_VERSION', 'true');

```
to the end of your serendipity_config_local.inc.php.

To switch back to the old smartified files, just set a // to the define().
2012-11-20 14:38:28 +01:00
Ian
ba518b7864 use tpl dir and smarty3 short notation fetch() method 2012-02-17 18:33:10 +01:00
onli
55edda14bf smartifying: template.inc.php, category.inc.php 2012-02-16 20:00:08 +01:00
Garvin Hicking
e8cacdcfdd (backport)
Fix a situation where globally stored template variables do not get preference over local (old) ones
	docs/NEWS
2011-11-03 17:06:14 +01:00
Garvin Hicking
8420699997 template and plugin option groups, experimental 2011-01-03 09:11:17 +00:00
Garvin Hicking
f9fa8503f0 (experimental) global theme options 2010-08-24 08:45:09 +00:00
Don Chambers
c6f02b6efc Corrected typo - span was closed before inline style declared for "unmet requirements". 2009-07-17 21:24:39 +00:00
Garvin Hicking
f75f1be51b Tokenize template configuration 2008-04-16 11:41:29 +00:00
Garvin Hicking
a0d950b320 HTML and images by Don 2007-08-06 10:18:26 +00:00
Garvin Hicking
472432b1b9 Merge patch from Don Chambers for better input classes in admin 2007-07-12 09:40:04 +00:00
Garvin Hicking
af6168f26f Remove debug out 2007-07-02 11:59:27 +00:00
Garvin Hicking
e44a22cf06 Display theme's preview_fullsize.jpg image when existing. 2007-04-03 08:21:34 +00:00
Garvin Hicking
a8562c5783 Add new hooks 2006-10-04 08:16:42 +00:00
Garvin Hicking
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00