source: extensions/FCKEditor/maintain.inc.php @ 9484

Revision 4629, 399 bytes checked in by patdenice, 10 years ago (diff)

[Plugin][FCK Editor]
Update to CKEditor v3.0.2
Add simple WYSIWYG editor to category edition, picture edition, NBM.
Still available for Additional Pages and PWG Stuffs.

Line 
1<?php
2
3function plugin_activate()
4{
5  global $prefixeTable;
6
7  $query = '
8INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
9VALUES ("FCKEditor" , "'.addslashes(serialize(array())).'" , "FCKEditor areas");';
10
11  pwg_query($query);
12}
13
14function plugin_deactivate()
15{
16  global $prefixeTable;
17
18  $query = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="FCKEditor" LIMIT 1;';
19  pwg_query($query);
20}
21
22?>
Note: See TracBrowser for help on using the repository browser.