dokuwiki-source-plugin – Diff between revs 1 and 2
?pathlinks?
Rev 1 | Rev 2 | |||
---|---|---|---|---|
Line 3... | Line 3... | |||
3 | * Source Plugin: includes a source file using the geshi highlighter |
3 | * Source Plugin: includes a source file using the geshi highlighter |
|
4 | * |
4 | * |
|
5 | * Action plugin component, for cache validity determination |
5 | * Action plugin component, for cache validity determination |
|
6 | * |
6 | * |
|
7 | * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) |
7 | * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) |
|
- | 8 | * @author Wizardry and Steamworks office@grimore.org |
||
8 | * @author Christopher Smith <chris@jalakai.co.uk> |
9 | * original: Christopher Smith <chris@jalakai.co.uk> |
|
9 | */ |
10 | */ |
|
10 | if(!defined('DOKU_INC')) die(); // no Dokuwiki, no go |
11 | if(!defined('DOKU_INC')) die(); // no Dokuwiki, no go |
|
Line 11... | Line 12... | |||
11 | |
12 | |
|
12 | if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
13 | if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
|
Line 21... | Line 22... | |||
21 | /** |
22 | /** |
|
22 | * return some info |
23 | * return some info |
|
23 | */ |
24 | */ |
|
24 | function getInfo(){ |
25 | function getInfo(){ |
|
25 | return array( |
26 | return array( |
|
26 | 'author' => 'Christopher Smith', |
27 | 'author' => 'Wizardry and Steamworks', |
|
27 | 'email' => 'chris@jalakai.co.uk', |
28 | 'email' => 'office@grimore.org', |
|
28 | 'date' => '2008-08-13', |
29 | 'date' => '2016-11-19', |
|
29 | 'name' => 'Source Plugin', |
30 | 'name' => 'Source Plugin', |
|
30 | 'desc' => 'Include a remote source file', |
31 | 'desc' => 'Include a remote source file', |
|
31 | 'url' => 'http://www.dokuwiki.org/plugin:source', |
32 | 'url' => 'http://grimore.org/dokuwiki/plugins/source', |
|
32 | ); |
33 | ); |
|
33 | } |
34 | } |
|
Line 34... | Line 35... | |||
34 | |
35 | |
|
35 | /** |
36 | /** |