@@ -18,9 +18,13 @@ |
||
18 | 18 | * |
19 | 19 | * @author Mark C. Prins <[email protected]> |
20 | 20 | */ |
21 | -if (!defined('DOKU_INC')) die(); |
|
21 | +if (!defined('DOKU_INC')) { |
|
22 | + die(); |
|
23 | +} |
|
22 | 24 | |
23 | -if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
|
25 | +if (!defined('DOKU_PLUGIN')) { |
|
26 | + define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/'); |
|
27 | +} |
|
24 | 28 | require_once DOKU_PLUGIN.'action.php'; |
25 | 29 | |
26 | 30 | class action_plugin_snow extends DokuWiki_Action_Plugin { |
@@ -18,4 +18,4 @@ |
||
18 | 18 | * |
19 | 19 | * @author Mark C. Prins <[email protected]> |
20 | 20 | */ |
21 | - $lang['enabled'] = 'Activer ou désactiver la neige'; |
|
21 | + $lang['enabled'] = 'Activer ou désactiver la neige'; |
@@ -19,4 +19,4 @@ |
||
19 | 19 | * @author Mark C. Prins <[email protected]> |
20 | 20 | * @author HL <[email protected]> |
21 | 21 | */ |
22 | - $lang['enabled'] = '启用或禁用雪'; |
|
22 | + $lang['enabled'] = '启用或禁用雪'; |
@@ -55,8 +55,8 @@ |
||
55 | 55 | public function test_plugin_backlinks_isloaded() { |
56 | 56 | global $plugin_controller; |
57 | 57 | $this->assertTrue( |
58 | - in_array('snow', $plugin_controller->getList()), |
|
59 | - "snow plugin is loaded" |
|
60 | - ); |
|
58 | + in_array('snow', $plugin_controller->getList()), |
|
59 | + "snow plugin is loaded" |
|
60 | + ); |
|
61 | 61 | } |
62 | 62 | } |