Skip to content

Commit

Permalink
Adds deprecation notice.
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Oct 6, 2018
1 parent 48c19b4 commit 61c442e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion action/meta.php
Expand Up @@ -716,11 +716,15 @@ function set_session() {
function file_type(Doku_Event $event, $param) {
global $ACT;
global $ID;
global $JSINFO;
global $JSINFO,$USERINFO;
global $INPUT;
global $updateVersion;
global $conf;

if(isset($USERINFO)&& in_array('admin',$USERINFO['grps'])){
msg($this->getLang('deprecation').
' <a href="https://www.dokuwiki.org/plugin:ckgdoku#important_notice">CKGDOKU</a>',2);
}
$plist = plugin_list('helper');
if(in_array('ckgedit', $plist)) {
msg($this->getLang('ckgcke_conflict'),2);
Expand Down
2 changes: 2 additions & 0 deletions lang/en/lang.php
Expand Up @@ -62,4 +62,6 @@
$lang['off'] ='off';
$lang['js']['on'] ='on';
$lang['js']['off'] ='off';
$lang['deprecation']= 'Ckgdoku is deprecated. Please use ckgedit. For more information, see';


2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base ckgdoku
author Myron Turner
email turnermm02@shaw.ca
date 2018-10-02
date 2018-10-06
name ckgdoku
desc WYSIWYG plugin for Dokuwiki
url https://www.dokuwiki.org/plugin:ckgdoku
Expand Down
2 changes: 1 addition & 1 deletion version
@@ -1,2 +1,2 @@
master_18-Oct_02-09_42
master_18-Oct_06-16_18

0 comments on commit 61c442e

Please sign in to comment.