pdontthink
|
e4252c5bf3
Just fiddling. Give credit where credit is due. Template class header() function now supports the 'replace' argument.
|
17 anni fa |
pdontthink
|
68e7ef6f2e
RPC requests should use their own template sets with different content-type.
|
17 anni fa |
pdontthink
|
fa7436a9de
Allow template sets to define what the content-type of their output is.
|
17 anni fa |
pdontthink
|
4f1a58c843
avoid E_STRICT errors
|
17 anni fa |
pdontthink
|
b50ee09af8
Don't include svn files in any of the cached template files
|
18 anni fa |
Thijs Kinkhorst
|
11b10ba5d1
increment year in copyright notices
|
18 anni fa |
pdontthink
|
16ddf3151b
Allow template sets to filter or completely change header delivery
|
18 anni fa |
pdontthink
|
5c8bf54951
Fix for unknown index notices caused in templates when looking for plugin output in what was an empty string instead of an empty array
|
18 anni fa |
pdontthink
|
176eafce61
New hook. See added comments if you care.
|
18 anni fa |
stekkel
|
c1a22636b6
At this moment concat_hook_function can return string and arrays.
|
18 anni fa |
pdontthink
|
9972bd918f
Update for new location of global template utilities. Note that templates/util_global.php is already included by the Template class so is ALWAYS available for ALL template files.
|
18 anni fa |
pdontthink
|
c047501dc9
Allow template sets to override plugin configuration. See config file in template directories.
|
18 anni fa |
pdontthink
|
717be5c30c
Massive update to plugin system architecture. Please test! Not all core plugins are tested yet, please point out issues that need to be fixed. Please see http://marc.theaimsgroup.com/?t=116282394000001&r=1&w=2
|
18 anni fa |
pdontthink
|
0d1813d698
Adding contact info to author name
|
18 anni fa |
pdontthink
|
bdaaca8540
Alternate stylesheets function now returns listing of DIRECTORIES in templates/<template name>/css/alternates instead of just .css files therein, so we are consistent with themes provided in the core
|
19 anni fa |
pdontthink
|
b42b0a4e5e
Strict type check prevents old config files from breaking everything (per new changes to templateset_default and _fallback)
|
19 anni fa |
pdontthink
|
a7eb6ab52c
templateset_default and templateset_fallback are IDs now, not unpredictable index numbers
|
19 anni fa |
pdontthink
|
c9a09ee14b
Missed a spot. Please use less accusatory language when telling ppl they broke plugins or other things, cuz you make goofs too! ;-)
|
19 anni fa |
tokul
|
f9583348c5
fixed phpdoc formating. require() call loaded before first phpdoc block.
|
19 anni fa |
pdontthink
|
5ee2685bda
Better stylesheet ordering
|
19 anni fa |
pdontthink
|
bd32ccbdf9
Massive rewrite of Template class to implement template inheritance, along with a fallback template (different than concept of a default which just helps catch void in user prefs). As suggested by Alexandros, a caching mechanism replaces the heaps of file_exists() calls in previous implementation, although this introduces more complexity, so watch for bugs! Inheritance implies changes in stylesheet and javascript file loading, in that now all such files inherited from all ancestors are loaded in case a template falls back to one of those ancestors (or the fallback set). Template config file caching and an easy API to get those settings also implemented. Finally, when a template set falls back to another set with a different template engine for a given page, the engine is swapped out dynamically (although this is less than ideal and should be discouraged when authors are creating template sets).
|
19 anni fa |
stevetruckstuff
|
05dc4ac0a8
Add tempalte config var for alternate stylesheets
|
19 anni fa |
stevetruckstuff
|
f7f0248729
Add tempalte config for alternate stylesheets
|
19 anni fa |
pdontthink
|
c2f00d5729
File name change
|
19 anni fa |
pdontthink
|
277876ec43
New Template class implementation
|
19 anni fa |