* @copyright (C) 2015-2020, Giuseppe Di Terlizzi */ $doku_inc_dirs = array( '/opt/bitnami/dokuwiki', # Bitnami (Docker) '/usr/share/webapps/dokuwiki', # Arch Linux '/usr/share/dokuwiki', # Debian/Ubuntu '/app/dokuwiki', # LinuxServer.io (Docker), realpath(dirname(__FILE__) . '/../../../../'), # Default DokuWiki path ); # Load doku_inc.php file # if (file_exists(dirname(__FILE__) . '/../doku_inc.php')) { require_once dirname(__FILE__) . '/../doku_inc.php'; } if (!defined('DOKU_INC')) { foreach ($doku_inc_dirs as $dir) { if (!defined('DOKU_INC') && @file_exists("$dir/inc/init.php")) { define('DOKU_INC', "$dir/"); } } } if (!file_exists(DOKU_INC)) { print 'Problem with DOKU_INC directory. Please check your DokuWiki installation directory!'; die; } define('DOKU_MEDIAMANAGER', 1); // needed to get proper CSS/JS require_once DOKU_INC . 'inc/init.php'; require_once DOKU_INC . 'inc/template.php'; require_once DOKU_INC . 'inc/lang/en/lang.php'; require_once DOKU_INC . 'inc/lang/' . $conf['lang'] . '/lang.php'; global $lang; global $conf; global $JSINFO; global $INPUT; $JSINFO['id'] = ''; $JSINFO['namespace'] = ''; $NS = cleanID($INPUT->str('ns')); $tmp = array(); trigger_event('MEDIAMANAGER_STARTED', $tmp); session_write_close(); //close session $syntax = array(); foreach (scandir(dirname(__FILE__) . '/../syntax/') as $file) { if ($file == '.' || $file == '..') { continue; } $file = str_replace('.php', '', $file); $syntax_class_name = "syntax_plugin_bootswrapper_$file"; $syntax_class = new $syntax_class_name; if ($file == 'macros') { continue; } if ($tag_name = $syntax_class->tag_name) { $tag_attributes = $syntax_class->tag_attributes; if ($tag_name == 'pills' || $tag_name == 'tabs') { unset($tag_attributes['type']); } $syntax[$tag_name] = $tag_attributes; } } ksort($syntax); header('Content-Type: text/html; charset=utf-8'); header('X-UA-Compatible: IE=edge,chrome=1'); ?> Bootstrap Wrapper Plugin '; } ?>
$item): ?>

 

$data): ?>
'; echo ''; foreach ($data['values'] as $value) { echo ''; } echo ''; } else { echo ''; } break; case 'boolean': echo ''; break; case 'integer': echo ''; break; } ?>
Preview