From a64eec16d2d0bb6f36960279324ff4c67887bfbb Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 27 Jan 2009 19:25:21 +0100 Subject: reverted plugin disabling method back to old behaviour Ignore-this: b5fadadeee9de8e52c41c056cf62be6d With this patch plugins are now disabled by placing a disabled file in the plugin directory again. Even though renaming plugin directories is the method with the fewest disk accesses it makes a lot of trouble with code revision control systems and, more important, Linux package management systems. Future versions of DokuWiki may use a central config file instead. This patch also fixes the problem with the plugin manager not checking the return values of the pugin_(dis|en)able functions correctly. darcs-hash:20090127182521-7ad00-62018a546d49d57582d93298c8228fd71601a5e8.gz --- lib/plugins/plugin/lang/en/lang.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/plugins/plugin/lang') diff --git a/lib/plugins/plugin/lang/en/lang.php b/lib/plugins/plugin/lang/en/lang.php index 9414a36d5..e575d3d67 100644 --- a/lib/plugins/plugin/lang/en/lang.php +++ b/lib/plugins/plugin/lang/en/lang.php @@ -69,4 +69,9 @@ $lang['error_copy'] = 'There was a file copy error while attempting to ins $lang['error_delete'] = 'There was an error while attempting to delete plugin %s. '. 'The most probably cause is insufficient file or directory access permissions'; +$lang['enabled'] = 'Plugin %s enabled.'; +$lang['notenabled'] = 'Plugin %s could not be enabled, check file permissions.'; +$lang['disabled'] = 'Plugin %s disabled.'; +$lang['notdisabled'] = 'Plugin %s could not be disabled, check file permissions.'; + //Setup VIM: ex: et ts=4 enc=utf-8 : -- cgit v1.2.3