tokul
f9583348c5
fixed phpdoc formating. require() call loaded before first phpdoc block.
...
improved template cache. Don't store SM_PATH information in cache. SM_PATH
is ../ in main scripts, but it is ../../ in plugins. Plugin option pages
break if cache stores SM_PATH.
2006-10-07 15:32:40 +00:00
pdontthink
5ee2685bda
Better stylesheet ordering
2006-10-02 12:37:46 +00:00
pdontthink
88c0e28be1
Changes that follow per the inheritance and associated changes to Template.class.php
2006-10-02 09:38:49 +00:00
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).
2006-10-02 09:38:05 +00:00
stevetruckstuff
05dc4ac0a8
Add tempalte config var for alternate stylesheets
2006-09-29 22:14:26 +00:00
stevetruckstuff
f7f0248729
Add tempalte config for alternate stylesheets
2006-09-29 22:13:17 +00:00
pdontthink
c2f00d5729
File name change
2006-09-28 14:09:18 +00:00
pdontthink
277876ec43
New Template class implementation
2006-09-28 14:02:11 +00:00
pdontthink
135bc9cf14
renamed with proper class file naming conventions
2006-09-28 14:01:19 +00:00
pdontthink
1cee629ce7
Solved recursion problem and increased efficiency of template_construct hook by adding file name to the end of the hook name, such as template_construct_login.tpl. Changed hook type to use the newly reworked concat_hook_function which can support merged arrays retued from the plugins.
2006-09-22 03:43:26 +00:00
pdontthink
1cd83a21d0
Adding template_construct and template_output hooks. Yikes.
2006-09-21 15:24:41 +00:00
pdontthink
6305990e9f
Fixed error check
2006-09-21 13:29:22 +00:00
pdontthink
2268abdccf
Forgot to check default template set before falling back to plugin default template for plugin t12n
2006-09-21 13:25:09 +00:00
pdontthink
d61bf277e5
Abstract template file location logic and enable plugin templating. This class still needs abstraction which is the next task here. Only possibly contentious change people should look at here is the use of file_exists() to find template files instead of reling on a hard-coded list of files in template.php.
2006-09-21 12:51:27 +00:00
pdontthink
70bb37e238
Clarifications, questions, proposals
2006-09-19 13:26:08 +00:00
stevetruckstuff
dd7175b447
Move always included vars to init.php because it is confusing when not logged in.
2006-08-18 21:27:51 +00:00
stevetruckstuff
143ca2440c
Some variables are needed by all templates to make creation easier. Make sure they are passed as variables to the template.
2006-08-18 20:17:43 +00:00
tokul
59ae6f3ac2
removing trailing ?> from function scripts
2006-07-15 12:01:32 +00:00
stekkel
a0e99d40e5
Do not use ob_end_flush because the fetch method returns the content of the
...
buffer. If we do not clear the buffer the to display template will be
displayed twice (paginator.tpl in this case)
2006-04-23 09:05:22 +00:00
stevetruckstuff
531803ca42
Added error handling if template.php or requested template is not found.
2006-04-06 19:49:28 +00:00
stevetruckstuff
8ca0997cc8
Added ability for template authors to include additional stylesheets. This allows them to add additional CSS defs while maintaining SQM default defintions.
2006-03-28 22:17:44 +00:00
stevetruckstuff
ab879d1c55
Incoproated template config file. Templates can now include their own javascript files. Also, if a template pack does not incorporate a specific template, the default template will be used instead.
2006-02-24 22:32:11 +00:00
Thijs Kinkhorst
52b7f27fa0
remove unneeded default which had a horrible backslash in a path
2006-01-29 12:14:58 +00:00
tokul
83fdb4c332
copyright update
2006-01-23 18:46:41 +00:00
Fredrik Jervfors
9ed98bb1ec
phpDocumentor updates
2005-09-18 10:25:54 +00:00
Fredrik Jervfors
d3abcd651b
Adding more index.php files
...
Unifying index.php files
2005-09-11 07:05:54 +00:00
tokul
c30a0f5bf2
adding index files in order to prevent directory listing.
...
adding some phpdoc blocks to mime classes.
tagging possible programming errors
2005-05-22 08:20:11 +00:00
Fredrik Jervfors
2531f52955
Trimming whitespace and replacing tabs
2005-04-23 12:08:00 +00:00
tokul
c1cd5599d3
missed one more tag
2005-04-18 08:29:49 +00:00
tokul
0b7730f1ad
lowercase package tag. fix phpdoc block.
2005-04-18 07:36:23 +00:00
stekkel
0f22c7575d
Templates
2005-04-14 21:42:53 +00:00