includes/template.php
2009-07-08 Dan Template: minor: documented sidebar_widget()
2009-06-16 Dan Added support for preloading javascript libs ($template->preload_js()). Updated admin theme and Tigra Tree Menu to support this + JS_{HEADER,FOOTER} variables.
2009-05-27 Dan Class "currentpage" is now added to all internal links, including sidebar buttons, if the link points to the current page.
2009-05-14 Dan A few safety changes to tolerate no $session when it's not available
2009-05-13 Dan Render / Template: No longer does exist checks for wikilinks on sidebar
2009-05-10 Dan Fixed a couple bugs with protection UI; fixed stray <enano:no-opt> in Special:CSS (do people still use that?)
2009-05-05 Dan Made some more changes to the way namespaces are handled, for optimization purposes. This is a bit of a structural reorganization: $paths->pages is obsoleted in its entirety; calculating page existence and metadata is now the job of the Namespace_* backend class. There are many things in PageProcessor that should be reorganized, and page actions in general should really be rethought. This is probably the beginning of a long process that will be taking place over the course of the betas.
2009-04-17 Dan Made handling of $perms being non-object work properly in template
2009-04-17 Dan Cleared up a few discrepancies in page handling, template var init, and how NewsBoy works.
2009-04-15 Dan New, beautiful, rethought Admin:Home. No, really, you'll like it.
2009-04-13 Dan New page protection UI. Both miniPrompt and failsafe HTML.
2009-04-05 Dan Oxygen (and general): cleaned up sidebar CSS, wikitext blocks are now sent through alternate block
2009-03-15 Dan New template feature: template hooks (<!-- HOOK foo -->)
2009-03-06 Dan template: added ability for themes to hide user, tools, and search sidebar blocks
2009-03-02 Dan Template: addslashes() around wiki_edit_notice_text (whoops)
2009-02-26 Dan Added possibility for auth plugins, which can log a user in using non-standard authentication methods.
2009-02-16 Dan Major redesign of rendering pipeline that separates pages saved with MCE from pages saved with the plaintext editor (full description in long commit message)
2009-01-26 Dan Added (very basic) spam filtering plugin support. Plugins can mark a message as spam by hooking into the spam check API, which is documented in functions.php. No spam checking functionality is built-in.
2009-01-04 Dan Two big commits in one day I know, but redid password storage to use HMAC-SHA1. Consolidated much AES processing to three core methods in session that should handle everything automagically. Installation works; upgrades should. Rebranded as 1.1.6.
2008-12-31 Dan Redid error handler (it was causing some problems with gzip enabled)
2008-12-20 Dan template: Fixed undefined $from_internal in assign_bool(); theme.cfg now require()d on theme load
2008-12-03 Dan External links in sidebar now work with manual port numbers and IPv6 addresses
2008-11-15 Dan Added ability to have alternate main page for members
2008-11-09 Dan Made defectivebydesign.org image local
2008-11-09 Dan [minor] $template->footer() no longer flushes output buffers, due to headers being sent prematurely
2008-08-24 Dan Rewrote sidebar compilation code, caching is more stable now and things were cleaned up/separated into more functions/made plugin-expandable. In theory, plugins can add new sidebar block types now. I'd personally like to see a fully plugin-based sidebar editor that completely overhauls what Enano has now sometime now that this framework is in place.
2008-08-23 Dan More work on auto-completion - it auto-scrolls now and limits result divs to 300px height
2008-08-21 Dan Autocomplete further stabilized. Made Special:PasswordReset and Special:Register prevent use if logged in.
2008-08-21 Dan Removed Adobe Spry and replaced with jQuery. Please report any new bugs on the forums or via IRC. In a related note, auto-completion should work now at least for usernames. Still hacking away at page name completion...
2008-08-13 Dan Changed namespace properties (including core identifier) for external pages that load the Enano API to be a uniform "API" namespace and "SystemAPI:" prefix.
2008-08-13 Dan Fixed missing "print page" link in printable theme
2008-08-12 Dan Rebranded as 1.1.5 (Caoineag alpha 5) and fixed a couple bugs related to CDN support in template_nodb and installerUI. Updated readme.
2008-08-11 Dan Improved miniPrompt and fadefilter to properly overlap parent modal windows. MessageBox() is next. Fixed pref_disable_js_fx not working due to wrong type (number instead of boolean).
2008-08-05 Dan Fixed tooltip in Powered By Enano button on the sidebar. It called $lang->get() without checking to see if languages were initted yet.
2008-07-28 Dan Fixed undefined REQUEST_URI/HTTP_HOST in ENANO_CLI mode in template var init
2008-07-22 Dan Fixed unused $admintitle variable in $template->fading_button code generation; fixed missing CDNPATH, JS_HEADER, and JS_FOOTER in template_nodb; localized onpage_lbl_page_external
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
less more (0) -100 -60 tip