*/
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'syntax.php');
class syntax_plugin_aclauditor extends DokuWiki_Syntax_Plugin {
function getInfo() {
return array(
'author' => 'Etienne MELEARD',
'email' => 'etienne.meleard@free.fr',
'date' => @file_get_contents(DOKU_PLUGIN.'aclauditor/VERSION'),
'name' => 'ACL Auditor Plugin (syntax)',
'desc' => 'Functions to get info about user /group ACLs of a wiki page',
'url' => 'http://dokuwiki.org/plugin:aclauditor',
);
}
function getType() { return 'substition'; }
function getSort() { return 155; }
function connectTo($mode) {
$this->Lexer->addSpecialPattern('