* @copyright (C) 2015-2019, Giuseppe Di Terlizzi */ if (!defined('DOKU_INC')) define('DOKU_INC', dirname(__FILE__).'/../../../../'); define('DOKU_MEDIAMANAGER', 1); // needed to get proper CSS/JS global $lang; global $conf; global $JSINFO; 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'); use dokuwiki\Extension\Event; $JSINFO['id'] = ''; $JSINFO['namespace'] = ''; $tmp = array(); Event::createAndTrigger('MEDIAMANAGER_STARTED', $tmp); session_write_close(); //close session $icons_plugin = plugin_load('action','icons'); $use_font_awesome = $icons_plugin->getConf('loadFontAwesome'); $use_material_design_icons = $icons_plugin->getConf('loadMaterialDesignIcons'); $use_typicons = $icons_plugin->getConf('loadTypicons'); $use_font_linux = $icons_plugin->getConf('loadFontlinux'); $use_rpg_awesome = $icons_plugin->getConf('loadRpgAwesome'); $use_glyphicons = false; # Load Bootstrap3 Template assets if ($conf['template'] == 'bootstrap3') { include_once(DOKU_INC.'lib/tpl/bootstrap3/tpl_functions.php'); include_once(DOKU_INC.'lib/tpl/bootstrap3/tpl_global.php'); # Glyphicons is bundled into Bootstrap 3.x $use_glyphicons = true; } $list_material_design_icons = include(dirname(__FILE__) . '/list-material-design-icons.php'); $list_font_awesome = include(dirname(__FILE__) . '/list-font-awesome.php'); # add V6 brand icons $list_font_awesome_br = include(dirname(__FILE__) . '/list-font-awesome-br.php'); # add V6 brand icons $list_glyphicon = include(dirname(__FILE__) . '/list-glyphicon.php'); $list_typicons = include(dirname(__FILE__) . '/list-typicons.php'); $list_font_linux = include(dirname(__FILE__) . '/list-font-linux.php'); $list_rpg_awesome = include(dirname(__FILE__) . '/list-rpg-awesome.php'); header('Content-Type: text/html; charset=utf-8'); header('X-UA-Compatible: IE=edge,chrome=1'); ?> Icons Plugin

Flag Flag (FA) Values Description
size - (see defaultSize option) Size of icon (in pixel)
pack - (see defaultPack option) Icon pack (fa, glyphicon, fugue, oxygen)
circle - - Create a circle around the icon
border - - Add a border around the icon
borderColor - - Set the color border
padding - - Apply a padding to the icon (in pixel)
background - - Apply a background to the icon (in hex or color name)
color - - Apply a color to the icon (in hex or color name)
class - - Adds additional CSS classes to the icon (useful for Font Awesome or Glyphicon)
align - left|center|right Align icon (left, right or center)
left - - Align icon to left
right - - Align icon to right
center - - Align icon to center
- lg - Increase of 33% the size of icon
- 2x|3x|4x|5x - Increase the size of icon
- border - Add border to icon
- spin - Add spin animation
- pulse - Add pulse animation
- rotate 90|180|270 Rotate the icon
- flip horizontal|vertical Flip the icon
- pull-left - Pull the icon to left
- pull-right - Pull the icon to right