Rename the dokuwiki plugin.
This commit is contained in:
parent
3b784243a1
commit
fecdecf117
3 changed files with 9 additions and 9 deletions
|
@ -13,13 +13,13 @@ if(!defined('DOKU_INC')) die();
|
|||
* All DokuWiki plugins to extend the parser/rendering mechanism
|
||||
* need to inherit from this class
|
||||
*/
|
||||
class syntax_plugin_brmburo extends DokuWiki_Syntax_Plugin {
|
||||
class syntax_plugin_hackerbase extends DokuWiki_Syntax_Plugin {
|
||||
|
||||
public function getType() { return 'substition'; }
|
||||
public function getSort() { return 32; }
|
||||
|
||||
public function connectTo($mode) {
|
||||
$this->Lexer->addSpecialPattern('\[BRMDOOR\]',$mode,'plugin_brmburo');
|
||||
$this->Lexer->addSpecialPattern('\[BRMDOOR\]',$mode,'plugin_hackerbase');
|
||||
}
|
||||
|
||||
public function handle($match, $state, $pos, Doku_Handler $handler) {
|
||||
|
@ -42,7 +42,7 @@ class syntax_plugin_brmburo extends DokuWiki_Syntax_Plugin {
|
|||
} else {
|
||||
$opened = $json['state']['open'];
|
||||
$lastchange = $json['state']['lastchange'];
|
||||
$assetsdir = DOKU_BASE . "lib/plugins/brmburo/assets";
|
||||
$assetsdir = DOKU_BASE . "lib/plugins/hackerbase/assets";
|
||||
if ($opened == TRUE) {
|
||||
$status =
|
||||
'<p><img src="' . $assetsdir . '/open-sun.png"></p>' .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue