1<?php
2
3/**
4 * @author     Stefan Jahn
5 * @copyright  Copyright (C) 2005 Stefan Jahn
6 * @link       http://www.stefanjahn.de
7 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
8 * @version    20060731
9 *
10 * Datei		syntax.php
11 * Erstellt am 20.12.2005
12 *
13 * Plugin für DokuWiki. Erstellt aus den Bildern eines Namensraums eine
14 * Galerie. Auf Wunsch werden die Thumbnails permanent abgespeichert.
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License
18 * as published by the Free Software Foundation; either version 2
19 * of the License, or (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public License
27 * along with this program; if not, write to the Free Software
28 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
29 */
30
31if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
32if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
33require_once(DOKU_PLUGIN.'syntax.php');
34
35class syntax_plugin_dwgallery extends DokuWiki_Syntax_Plugin {
36
37	function getInfo(){
38        return array(
39            'author' => 'Stefan Jahn',
40            'email'  => 'mail@stefanjahn.de',
41            'date'   => '2006-07-31',
42            'name'   => 'DWGallery Plugin',
43            'desc'   => 'Creates gallery with thumbnails.',
44            'url'    => 'http://stefanjahn.de/entwicklung:php:dokuwiki:gallery',
45        );
46    }
47
48	function getType(){
49        return 'substition';
50    }
51
52    function getPType(){
53        return 'block';
54    }
55
56    function getSort(){
57        return 0;
58    }
59
60    function connectTo($mode) {
61    }
62
63    function handle($match, $state, $pos, &$handler) {
64    }
65
66    function render($mode, &$renderer, $data) {
67    }
68
69}
70
71?>
72