Revision 45
Added by stefan about 20 years ago
| save.php | ||
|---|---|---|
| 30 | 30 |
require(WB_PATH.'/modules/admin.php'); |
| 31 | 31 |
|
| 32 | 32 |
// Update the mod_wysiwygs table with the contents |
| 33 |
if(isset($_POST['content'])) {
|
|
| 33 |
if(isset($_POST['content'.$section_id])) {
|
|
| 34 | 34 |
$content = $admin->add_slashes($_POST['content']); |
| 35 | 35 |
$text = strip_tags($content); |
| 36 | 36 |
$database = new database(); |
| ... | ... | |
| 48 | 48 |
// Print admin footer |
| 49 | 49 |
$admin->print_footer(); |
| 50 | 50 |
|
| 51 |
?> |
|
| 51 |
?> |
|
Also available in: Unified diff
Implemented choice of WYSIWYG editor