1<?php 2/** 3 * Add Note capability to dokuwiki 4 * 5 * <note>This is note</note> 6 * <note classic>This is note</note> 7 * <note important>This is an important note</note> 8 * <note warning>This is a big warning</note> 9 * <note tip>This is a tip</note> 10 * 11 * by Olivier Cortès <olive@deep-ocean.net> 12 * under the terms of the GNU GPL v2. 13 * 14 * Originaly derived from the work of : 15 * Stephane Chamberland <stephane.chamberland@ec.gc.ca> (Side Notes PlugIn) 16 * Carl-Christian Salvesen <calle@ioslo.net> (Graphviz plugin) 17 * 18 * Contributions by Eric Hameleers <alien [at] slackware [dot] com> : 19 * use <div> instead of <table>, 20 * contain the images and stylesheet inside the plugin, 21 * permit nesting of notes, 22 * 23 * Contributed by Christopher Smith <chris [at] jalakai [dot] co [dot] uk> 24 * fix some parsing problems and a security hole. 25 * make note types case independent 26 * simplify code reading 27 * modernise the plugin for changes/fixes/improvements to the underlying Dokuwiki plugin class, 28 * improve efficiency. 29 * 30 * Contributed by Aurélien Bompard <aurelien [at] bompard [dot] org> 31 * support for the ODT output format. 32 * 33 * @license GNU_GPL_v2 34 * @author Olivier Cortes <olive@deep-ocean.net> 35 */ 36 37if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/'); 38if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); 39require_once(DOKU_PLUGIN.'syntax.php');