* */ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/'); require_once (DOKU_INC.'inc/init.php'); require_once (DOKU_PLUGIN.'syntax.php'); class syntax_plugin_remotescript extends DokuWiki_Syntax_Plugin { /** * return some info */ function getInfo(){ preg_match("/\\/[^\\.]*[\\.\\/]([^\\/]+)\\/[\\w\\.\\s$]+$/"," $HeadURL: https://svn.debugger.ru/repos/common/DokuWiki/RemoteScript/tags/RemoteScript.v0.9/syntax.php $ ", $v); $b = preg_replace("/\\D/","", " $Rev: 16 $ "); return array( 'author' => "Ilya Lebedev" ,'email' => 'ilya@lebedev.net' ,'date' => '2006-12-21' ,'name' => "RemoteScript {$v[1]}.$b" ,'desc' => "Backend for the remote scripting facility. Controller code taken from http://en.dklab.ru/lib/JsHttpRequest/" ,'url' => 'https://www.dokuwiki.org/plugin:remotescript' ); } /** * What kind of syntax are we? */ function getType(){ return 'virtual'; } /** * Where to sort in? */ function getSort(){ return 1; } /** * Connect pattern to lexer */ function connectTo($mode) { } /** * Handle the match */ function handle($match, $state, $pos, &$handler){ } /** * Render output */ function render($mode, &$renderer, $data) { } } //RemoteScript class end //Setup VIM: ex: et ts=4 enc=utf-8 :