1<?php
2/**
3 * DokuWiki Plugin multiorphan (Admin Component)
4 *
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6 * @author  i-net software <tools@inetsoftware.de>
7 */
8
9// must be run within Dokuwiki
10if (!defined('DOKU_INC')) die();
11
12class admin_plugin_multiorphan extends DokuWiki_Admin_Plugin {
13
14
15    /**
16     * return sort order for position in admin menu
17     */
18    function getMenuSort() {
19        return 200;
20    }
21
22    function forAdminOnly() {
23        return false;
24    }
25
26    /**
27     * Should carry out any processing required by the plugin.
28     */
29    public function handle() {
30    }
31
32    /**
33     * Render HTML output, e.g. helpful text and a form
34     */
35    public function html() {
36
37        if (!$functions = $this->loadHelper('multiorphan')) {
38            msg("Can't initialize the multiorphan plugin");
39            return false;
40        }
41
42        $functions->__multiorphan_gui();
43    }
44}
45
46// vim:ts=4:sw=4:et: