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

Last change on this file since 6964 was 4629, checked in by patdenice, 15 years ago

[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.

File size: 399 bytes
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.