includes/template.php
2008-07-20 Dan Added CDN support: a URL to a CDN can now be specified and Enano will load all images, CSS, and javascript (except TinyMCE) from that server
2008-07-09 Dan Fixed lack of str_replace() to runtime-patch cache_anon_sidebar
2008-07-07 Dan First stab at cache management backend. Everything seems to have been tested and working so far, but a number of things require a more specialized cache and can't go through the framework (e.g. user ranks which use references to map usernames to user IDs)
2008-07-07 Dan Added the theme_is_<themeid> template boolean value to allow conditional template code depending on theme ID (in shared templates, sidebar blocks, etc.)
2008-07-07 Dan Added ability to hide or show sidebar blocks based on a {restrict} or {hideif} conditional in the sidebar script
2008-07-03 Dan A little more optimization work, client-side this time. I lied, no librijnadel2 here, but it's about to be merged in...
2008-07-03 Dan More optimization work. Moved special page init functions to common instead of common_post hook. Allowed paths to cache page metadata on filesystem. Phased out the redundancy in $paths->pages that paired a number with every urlname as foreach loops are allowed now (and have been for some time). Fixed missing includes for several functions. Rewrote str_replace_once to be a lot more efficient.
2008-07-02 Dan Another sweep from the optimization monster.
2008-06-30 Dan Several optimization changes including getting rid of a few eval()s. Added placeholder functions for the theme manager, which should be working now
2008-06-26 Dan Fixed javascript ACL manager and captcha not showing on ajax login lockout_captcha event
2008-06-25 Dan Majorly reworked Javascript runtime stuff to use on-demand loading.
2008-06-22 Dan Initial progress towards converting auto-completion framework to Spry. Not currently in a very working state.
2008-06-16 Dan Fixed access type warning in discussion button generation in template
2008-06-16 Dan Fixed: init_vars double-init check ignored theme changes/reloads
2008-06-16 Dan Made template parser remember last initted page_id and namespace to avoid double init; made additional_headers reassign only do so if $template->additional_headers is empty (it's being blanked somehow, need to come up with a backtrace sometime)
2008-06-15 Dan Renamed some functions (that were new in this release anyway) due to compatibility broken with PunBB bridge
2008-06-15 Dan Got ACL scope logic working again and began enforcing it. Breaking API change: assigning page title with $template->tpl_strings['PAGE_NAME'] will no longer work, use $template->assign_vars(). Workaround may be added later. Test for assign_vars method if compatibility needed. Added namespace processor API (non-breaking change). Several other things tweaked around as well.
2008-06-08 Dan Made ajaxReset() call the actual requested title instead of effective title; fixed (again) template compiler bug not matching certain tags (probably PCRE bug)
2008-06-07 Dan Modified $template->init_vars() to pivot to local page metadata and permissions from a PageProcessor object instead of global data from $paths and permissions from $session to allow redirects to affect on-page controls as well as the actual content (only partially complete, protection and several other elements still need to be localized)
2008-05-16 Dan Added user preference for disabling visual effects in Javascript applets; added re-import button to installed plugins
2008-04-15 Dan Merging changes from nighthawk
2008-04-14 Dan Rebrand as 1.1.4 (Caoineag alpha 4)
2008-04-15 Dan Added template_compile_subst hook
2008-04-12 Dan Huge improvements to the template_nodb class and surrounding code; moved template compiler core to its own non-classed function to allow code re-use
2008-04-09 Dan New plugin manager half-implemented. Most of the UI/frontend code is done. Moved sql_parse.php to /includes/ to allow use after installation - TODO: check installer, etc. for breakage
2008-03-27 Dan Made some improvements to ACL system including: warning on setting Deny for Everyone on the entire site, added ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL, and changed behavior as noted in the docs so that Deny for Everyone is no longer able to be overridden
2008-03-18 Dan Fixed some stray version numbers (again!); added support for Diffie-Hellman logins in the normal login form (not AJAX) - even works in IE
2008-03-07 Dan Oops: fixed broken template loader in upgrader for 1.0.x and 1.1.1
less more (0) -100 -50 -28 tip