1<?php 2/** 3 * General information about the JSPWiki-Import Plugin 4 * 5 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 6 * @author Pascal Bihler <bihler@iai.uni-bonn.de> 7 */ 8// must be run within Dokuwiki 9if(!defined('DOKU_INC')) die(); 10require_once (DOKU_PLUGIN . 'action.php'); 11 12class action_plugin_jspwiki_import extends DokuWiki_Action_Plugin { 13 14 /** 15 * General Info 16 * 17 * Needs to return a associative array with the following values: 18 * 19 * author - Author of the plugin 20 * email - Email address to contact the author 21 * date - Last modified date of the plugin in YYYY-MM-DD format 22 * name - Name of the plugin 23 * desc - Short description of the plugin (Text only) 24 * url - Website with more information on the plugin (eg. syntax description) 25 */ 26 function getInfo(){ 27 return array( 28 'author' => 'Pascal Bihler', 29 'email' => 'bihler@iai.uni-bonn.de', 30 'date' => '2007-05-11', 31 'name' => 'JspWiki Import, 32 'desc' => 'Allows to convert JspWiki syntax into DokuWiki syntax', 33 'url' => 'http://wiki.splitbrain.org/plugin:jspwiki_import' 34 ); 35 } 36 37 function register(&$controller) { 38 //Nothing to do, since it's all javascript 39 } 40} 41