Skip to content

Commit 8d52730

Browse files
author
Michael Klier
committed
use new plugin.info.txt
1 parent ea2d633 commit 8d52730

File tree

4 files changed

+8
-29
lines changed

4 files changed

+8
-29
lines changed

VERSION

-1
This file was deleted.

action.php

-14
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,6 @@
1313
*/
1414
class action_plugin_snippets extends DokuWiki_Action_Plugin {
1515

16-
/**
17-
* Return some info
18-
*/
19-
function getInfo() {
20-
return array(
21-
'author' => 'Michael Klier',
22-
'email' => '[email protected]',
23-
'date' => @file_get_contents(DOKU_PLUGIN . 'snippets/VERSION'),
24-
'name' => 'Snippets Plugin (Action Component)',
25-
'desc' => 'Provides a toolbar button+popup for nice template insertion',
26-
'url' => 'http://dokuwiki.org/plugin:snippets',
27-
);
28-
}
29-
3016
/**
3117
* Register callbacks
3218
*/

plugin.info.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# General Plugin Info do not edit
2+
base snippets
3+
author Michael Klier
4+
5+
date 2010-01-04
6+
name Snippets Plugin
7+
desc Provides a toolbar button+popup for nice template insertion.
8+
url http://www.dokuwiki.org/plugin:snippets

syntax.php

-14
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,6 @@
1515
*/
1616
class syntax_plugin_snippets extends DokuWiki_Syntax_Plugin {
1717

18-
/**
19-
* return some info
20-
*/
21-
function getInfo(){
22-
return array(
23-
'author' => 'Michael Klier',
24-
'email' => '[email protected]',
25-
'date' => @file_get_contents(DOKU_PLUGIN . 'snippets/VERSION'),
26-
'name' => 'Snippets Plugin (Syntax Component)',
27-
'desc' => 'Provides a toolbar button+popup for nice template insertion',
28-
'url' => 'http://dokuwiki.org/plugin:snippets',
29-
);
30-
}
31-
3218
function getType(){ return 'protected';}
3319
function getAllowedTypes() { return array('container','substition','protected','disabled','formatting','paragraphs'); }
3420
function getPType(){ return 'block';}

0 commit comments

Comments
 (0)