Rename project to luxtools, remove client tool
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
use dokuwiki\Extension\SyntaxPlugin;
|
||||
use dokuwiki\plugin\filetools\Crawler;
|
||||
use dokuwiki\plugin\filetools\Output;
|
||||
use dokuwiki\plugin\filetools\Path;
|
||||
use dokuwiki\plugin\luxtools\Crawler;
|
||||
use dokuwiki\plugin\luxtools\Output;
|
||||
use dokuwiki\plugin\luxtools\Path;
|
||||
|
||||
/**
|
||||
* File Tools Plugin: Files syntax.
|
||||
* LuxTools Plugin: Files syntax.
|
||||
*
|
||||
* Lists files matching a given glob pattern.
|
||||
*/
|
||||
class syntax_plugin_filetools_files extends SyntaxPlugin
|
||||
class syntax_plugin_luxtools_files extends SyntaxPlugin
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public function getType()
|
||||
@@ -33,7 +33,7 @@ class syntax_plugin_filetools_files extends SyntaxPlugin
|
||||
/** @inheritdoc */
|
||||
public function connectTo($mode)
|
||||
{
|
||||
$this->Lexer->addSpecialPattern('\{\{files>.+?\}\}', $mode, 'plugin_filetools_files');
|
||||
$this->Lexer->addSpecialPattern('\{\{files>.+?\}\}', $mode, 'plugin_luxtools_files');
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
use dokuwiki\Extension\SyntaxPlugin;
|
||||
use dokuwiki\plugin\filetools\Crawler;
|
||||
use dokuwiki\plugin\filetools\Output;
|
||||
use dokuwiki\plugin\filetools\Path;
|
||||
use dokuwiki\plugin\luxtools\Crawler;
|
||||
use dokuwiki\plugin\luxtools\Output;
|
||||
use dokuwiki\plugin\luxtools\Path;
|
||||
|
||||
/**
|
||||
* File Tools Plugin: Image gallery syntax.
|
||||
* LuxTools Plugin: Image gallery syntax.
|
||||
*
|
||||
* Renders a thumbnail gallery of images matching a glob pattern.
|
||||
*/
|
||||
class syntax_plugin_filetools_images extends SyntaxPlugin
|
||||
class syntax_plugin_luxtools_images extends SyntaxPlugin
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public function getType()
|
||||
@@ -33,7 +33,7 @@ class syntax_plugin_filetools_images extends SyntaxPlugin
|
||||
/** @inheritdoc */
|
||||
public function connectTo($mode)
|
||||
{
|
||||
$this->Lexer->addSpecialPattern('\{\{images>.+?\}\}', $mode, 'plugin_filetools_images');
|
||||
$this->Lexer->addSpecialPattern('\{\{images>.+?\}\}', $mode, 'plugin_luxtools_images');
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
use dokuwiki\Extension\SyntaxPlugin;
|
||||
|
||||
/**
|
||||
* File Tools Plugin: Open local path syntax.
|
||||
* LuxTools Plugin: Open local path syntax.
|
||||
*
|
||||
* Renders an inline button. Clicking it triggers client-side JS that attempts
|
||||
* to open the configured path in the default file manager (best-effort).
|
||||
*/
|
||||
class syntax_plugin_filetools_open extends SyntaxPlugin
|
||||
class syntax_plugin_luxtools_open extends SyntaxPlugin
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public function getType()
|
||||
@@ -32,7 +32,7 @@ class syntax_plugin_filetools_open extends SyntaxPlugin
|
||||
/** @inheritdoc */
|
||||
public function connectTo($mode)
|
||||
{
|
||||
$this->Lexer->addSpecialPattern('\{\{open>.+?\}\}', $mode, 'plugin_filetools_open');
|
||||
$this->Lexer->addSpecialPattern('\{\{open>.+?\}\}', $mode, 'plugin_luxtools_open');
|
||||
}
|
||||
|
||||
/** @inheritdoc */
|
||||
|
||||
Reference in New Issue
Block a user