Table of contents ▼▲
Template Object Re-use
A change to the template mechanism. Certain template objects (javasript, css, etc..) will first look in the current skin, and if not found, will revert back to the default skin.
Access Control Lists / Security
Users are now able to register themselves ($AuthAllowRegister=true).
There is also the ability to generate passwords and email out ( $AuthAutoPassword=true). The php mail() function is used.
User Admin has also been added. An admin link will appear, and will take to a list of possible admin tasks associated with your access level. Basic users are only allowed to modify their own details. Admin users can add, delete, & modify ANY user.
If a user is logged in when a change is made, their username is now logged against the change. Extra 'save' step added in at 710. (see acl/auth_acl.php)
User Control Options..
To ensure that a consistent set of user controls (edit, backlinks, login/off, etc... ) are offered on any skin, changes have been introduced to supply the new functionality.$InterfaceCTL = array();
API::SetInterfaceCtl($id, $text, $action=null, $page=null)
API::UnsetSetInterfaceCtl($id)
MsgCache
A msg cache has been introduced to limit the amount of disk i/o. Each msgfile accessed is read from disk on the first call and stored in memory. Subsequent calls will simply read from memory.
General Fixes
The namespace character (:) should not have been allowed in a page link. This controls which directory to use. Corrected.
API::RelativePath() function returns the relative path of a file to the 'wiki' URL.
if(!defined('ACLDIR')) define('ACLDIR',API::Relative_Path(realpath(dirname(__FILE__))));
This sets the relative path to code/plugin/acl/
After some feedback, I have 'standardized' the code by running it through a 'beautifer'. Currently using beautify_php functions.
A new centering markup added - @! !@
New API function Warning_Msg()has been added. This populates the <!--{$WARNING_MSG}--> template field. ACL uses this to highlight input errors.