Home
last modified time | relevance | path

Searched refs:plugin (Results 1 – 25 of 150) sorted by relevance

123456

/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingRenderer.php9 namespace dokuwiki\plugin\config\core\Setting;
24 foreach (plugin_list('renderer') as $plugin) {
25 $renderer = plugin_load('renderer', $plugin);
27 $this->choices[] = $plugin;
30 $this->prompts[$plugin] = $info['name'];
38 public function html(\admin_plugin_config $plugin, $echo = false)
42 // transfer some plugin names to the config plugin
44 if (!$plugin->getLang($this->key . '_o_' . $choice)) {
46 $plugin
35 html(\\admin_plugin_config $plugin, $echo = false) global() argument
[all...]
H A DSettingDisableactions.php3 namespace dokuwiki\plugin\config\core\Setting;
11 public function html(\admin_plugin_config $plugin, $echo = false) argument
16 // transfer some DokuWiki language strings to the plugin
17 $plugin->addLang($this->key . '_revisions', $lang['btn_revs']);
19 if (isset($lang['btn_' . $choice])) $plugin->addLang($this->key . '_' . $choice, $lang['btn_' . $choice]);
22 return parent::html($plugin, $echo);
H A DSettingUndefined.php3 namespace dokuwiki\plugin\config\core\Setting;
5 use dokuwiki\plugin\config\core\Configuration;
22 public function html(\admin_plugin_config $plugin, $echo = false)
27 '/^(?:plugin|tpl)' . Configuration::KEYMARKER . '.*?' . Configuration::KEYMARKER . '(.*)$/',
39 $input = $plugin->getLang($this->errorMessage);
21 html(\\admin_plugin_config $plugin, $echo = false) global() argument
H A DSettingString.php3 namespace dokuwiki\plugin\config\core\Setting;
11 public function html(\admin_plugin_config $plugin, $echo = false)
27 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
10 html(\\admin_plugin_config $plugin, $echo = false) global() argument
H A DSettingPassword.php3 namespace dokuwiki\plugin\config\core\Setting;
29 public function html(\admin_plugin_config $plugin, $echo = false)
36 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
28 html(\\admin_plugin_config $plugin, $echo = false) global() argument
H A DSettingMultichoice.php3 namespace dokuwiki\plugin\config\core\Setting;
14 public function html(\admin_plugin_config $plugin, $echo = false)
33 $nochoice = $plugin->getLang('nochoice');
38 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
44 $option = $plugin->getLang($this->key . '_o_' . $choice);
13 html(\\admin_plugin_config $plugin, $echo = false) global() argument
H A DSettingAuthtype.php3 namespace dokuwiki\plugin\config\core\Setting;
17 foreach ($plugin_controller->getList('auth') as $plugin) {
18 $this->choices[] = $plugin;
35 // attempt to load the plugin
38 // @TODO: throw an error in plugin controller instead of returning null
45 // verify proper instantiation (is this really a plugin?) @TODO use instanceof? implement interface?
H A DSettingOnoff.php3 namespace dokuwiki\plugin\config\core\Setting;
28 public function html(\admin_plugin_config $plugin, $echo = false)
42 $label = '<label for="config___' . $key . '">' . $this->prompt($plugin) . '</label>';
27 html(\\admin_plugin_config $plugin, $echo = false) global() argument
/dokuwiki/lib/plugins/styling/
H A Dpopup.php10 /** @var admin_plugin_styling $plugin */
11 $plugin = plugin_load('admin', 'styling'); variable
12 if (!$plugin->isAccessibleByCurrentUser()) die('only admins allowed');
13 $plugin->ispopup = true;
16 $plugin->handle();
18 // output plugin in a very minimal template:
23 <title><?php echo $plugin->getLang('menu') ?></title>
29 <?php $plugin->html() ?>
H A Dplugin.info.txt5 name styling plugin
7 url https://www.dokuwiki.org/plugin:styling
/dokuwiki/inc/Extension/
H A DPluginController.php19 /** @var array all installed plugins and their enabled state [plugin=>enabled] */
38 * the type of plugin to return,
45 * - plugin names when $type = ''
46 * - or plugin component names when a $type is given
71 * Loads the given plugin and creates an object of it
73 * @param $type string type of plugin to load
74 * @param $name string name of the plugin to load
75 * @param $new bool true to return a new instance of the plugin, false to use an already loaded instance
77 * @return PluginInterface|null the plugin object or null on failure
87 [$plugin, /* componen
148 isDisabled($plugin) global() argument
160 isEnabled($plugin) global() argument
171 disable($plugin) global() argument
184 enable($plugin) global() argument
[all...]
H A DEventHandler.php27 /** @var ActionPlugin $plugin */
28 $plugin = null;
32 $plugin = plugin_load('action', $plugin_name);
34 if ($plugin instanceof PluginInterface) $plugin->register($this);
H A DPluginTrait.php8 * Provides standard DokuWiki plugin behaviour
14 protected $configloaded = false; // set to true by loadConfig() after loading plugin configuration variables
15 protected $conf = []; // array to hold plugin settings, best accessed via ->getConf()
27 throw new \RuntimeException('Class does not follow the plugin naming convention');
30 // class like action_plugin_myplugin_ajax belongs to plugin 'myplugin'
38 'name' => $ext . ' plugin',
39 'desc' => 'Unknown purpose - bad plugin.info.txt',
43 $file = DOKU_PLUGIN . '/' . $ext . '/plugin.info.txt';
56 Logger::error(sprintf('Extension %s does not provide a plugin.info.txt in %s', $ext, $file));
74 if (is_null($obj) && $msg) msg("Helper plugin
[all...]
/dokuwiki/inc/
H A Dpluginutils.php10 // plugin related constants
21 * Original plugin functions, remain for backwards compatibility
29 * @return array with plugin names or plugin component names
41 * Returns plugin object
42 * Returns only new instances of a plugin when $new is true or if plugin is not Singleton,
45 * @param $type string type of plugin to load
46 * @param $name string name of the plugin to load
47 * @param $new bool true to return a new instance of the plugin, fals
63 plugin_isdisabled($plugin) global() argument
76 plugin_enable($plugin) global() argument
89 plugin_disable($plugin) global() argument
103 plugin_directory($plugin) global() argument
[all...]
/dokuwiki/inc/Action/
H A DAdmin.php28 // retrieve admin plugin name from $_REQUEST['page']
30 /** @var AdminPlugin $plugin */
31 if ($plugin = plugin_getRequestAdminPlugin()) { // FIXME this method does also permission checking
32 if (!$plugin->isAccessibleByCurrentUser()) {
35 $plugin->handle();
/dokuwiki/bin/
H A Dplugin.php26 $options->registerArgument('plugin', 'The plugin CLI you want to run. Leave off to see list', false);
43 $plugin = $this->loadPlugin($argv[0]);
44 if ($plugin instanceof CLIPlugin) {
45 $plugin->run();
76 $plugin = $this->loadPlugin($name);
77 if (!$plugin instanceof CLIPlugin) continue;
78 $info = $plugin->getInfo();
90 * Instantiate a CLI plugin
100 // execute the plugin CL
[all...]
/dokuwiki/lib/plugins/config/core/
H A DLoader.php3 namespace dokuwiki\plugin\config\core;
52 foreach ($this->plugins as $plugin) {
56 DOKU_PLUGIN . $plugin . '/conf/metadata.php',
57 'plugin',
58 $plugin
90 foreach ($this->plugins as $plugin) {
94 DOKU_PLUGIN . $plugin . '/conf/default.php',
95 'plugin',
96 $plugin
131 foreach ($this->plugins as $plugin) {
[all...]
/dokuwiki/lib/plugins/logviewer/
H A Dplugin.info.txt5 name logviewer plugin
7 url https://www.dokuwiki.org/plugin:logviewer
/dokuwiki/lib/plugins/authpdo/
H A Dplugin.info.txt5 name authpdo plugin
7 url https://www.dokuwiki.org/plugin:authpdo
/dokuwiki/conf/
H A Dmysql.conf.php.example3 * This is an example configuration for the mysql auth plugin.
26 $conf['plugin']['authmysql']['server'] = '';
27 $conf['plugin']['authmysql']['user'] = '';
28 $conf['plugin']['authmysql']['password'] = '';
29 $conf['plugin']['authmysql']['database'] = '';
31 /* This option enables debug messages in the mysql plugin. It is
34 $conf['plugin']['authmysql']['debug'] = 0;
41 $conf['plugin']['authmysql']['forwardClearPass'] = 0;
44 * the plugin which tables to lock. If you use any aliases for table names
48 $conf['plugin']['authmysq
[all...]
/dokuwiki/lib/plugins/safefnrecode/
H A Dplugin.info.txt5 name safefnrecode plugin
7 url http://www.dokuwiki.org/plugin:safefnrecode
/dokuwiki/lib/plugins/extension/lang/vi/
H A Dintro_plugins.txt1 Đây là những plugin hiện đã được cài đặt trong DokuWiki của bạn. Bạn có thể bật hoặc tắt hoặc thậm chí gỡ cài đặt hoàn toàn chúng ở đây. Cập nhật plugin cũng được hiển thị ở đây, nhớ đọc tài liệu của plugin trước khi cập nhật
/dokuwiki/lib/plugins/extension/lang/it/
H A Dintro_plugins.txt1 Questi sono i plugin attualmente installati nel vostro DokuWiki. Qui potete abilitarli o disabilitarli o addirittura disinstallarli completamente. Qui sono mostrati anche gli aggiornamenti dei plugin, assicurativi di leggere la relativa documentazione prima di aggiornarli
/dokuwiki/lib/plugins/config/lang/uk/
H A Dintro.txt3 Використовуйте цю сторінку для налаштування ДокуВікі. Для довідок щодо конкретних параметрів дивіться [[doku>config]]. Для більш детальної інформації про цей доданок дивіться [[doku>plugin:config]].
/dokuwiki/lib/plugins/config/lang/ru/
H A Dintro.txt3 Здесь вы можете изменить настройки своей «Докувики». Для справки по конкретным опциям смотрите [[doku>config|Конфигурирование «Докувики»]]. Дополнительные детали об этом плагине доступны здесь: [[doku>plugin:config]].

123456