Project

General

Profile

« Previous | Next » 

Revision 1535

Added by Dietmar over 12 years ago

! changes in code modul
+ add function getTableEngine to class.database
+ add Quickskin to include folder
+ add reworkes Droplet SectionPicker to load modules frontend.css

View differences:

save.php
4 4
 * @category        modules
5 5
 * @package         code
6 6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8 7
 * @copyright       2009-2011, Website Baker Org. e.V.
9 8
 * @link			http://www.websitebaker2.org/
10 9
 * @license         http://www.gnu.org/licenses/gpl.html
......
31 30
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], ADMIN_URL.'/pages/modify.php?page_id='.$page_id);
32 31
}
33 32
$admin->print_header();
34

  
35 33
// Update the mod_wysiwygs table with the contents
36 34
if(isset($_POST['content'])) {
37
	$tags = array('<?php', '?>' , '<?');
35
	$tags = array('<?php', '?>' , '<?', '<?=');
38 36
	$content = $admin->add_slashes(str_replace($tags, '', $_POST['content']));
39 37
	$query = "UPDATE ".TABLE_PREFIX."mod_code SET content = '$content' WHERE section_id = '$section_id'";
40 38
	$database->query($query);	
......
49 47

  
50 48
// Print admin footer
51 49
$admin->print_footer();
52

  
53
?>

Also available in: Unified diff