Project

General

Profile

« Previous | Next » 

Revision 575

Added by thorn over 16 years ago

module menu_link: after adding a menu_link, the anchor dropdown shows "#"; fixed

View differences:

trunk/CHANGELOG
14 14

  
15 15
20-Jan-2008 Thomas Hornik
16 16
!	updated admin/pages/sections.php to changed jscalendar-api from changeset 571
17
!	module menu_link: after adding a menu_link, the anchor dropdown shows "#"; fixed 
17 18
#	fixed E_NOTICE-warning in news-module (about SECTION_ID in comment.php)
18 19
19-Jan-2008 Christian Sommer
19 20
!	Reduced the success time out and set WYSIWSY background to white
trunk/wb/upgrade-script.php
209 209
		`section_id` INT(11) NOT NULL DEFAULT '0',
210 210
		`page_id` INT(11) NOT NULL DEFAULT '0',
211 211
		`target_page_id` INT(11) NOT NULL DEFAULT '0',
212
		`anchor` VARCHAR(255) NOT NULL DEFAULT '' ,
212
		`anchor` VARCHAR(255) NOT NULL DEFAULT '0' ,
213 213
		PRIMARY KEY (`section_id`)
214 214
	)
215 215
");
......
465 465
?>
466 466

  
467 467
</body>
468
</html>
468
</html>
trunk/wb/modules/menu_link/install.php
36 36
		`section_id` INT(11) NOT NULL DEFAULT '0',
37 37
		`page_id` INT(11) NOT NULL DEFAULT '0',
38 38
		`target_page_id` INT(11) NOT NULL DEFAULT '0',
39
		`anchor` VARCHAR(255) NOT NULL DEFAULT '' ,
39
		`anchor` VARCHAR(255) NOT NULL DEFAULT '0' ,
40 40
		PRIMARY KEY (`section_id`)
41 41
	)
42 42
");
43 43

  
44
?>
44
?>
trunk/wb/modules/menu_link/add.php
29 29
}
30 30

  
31 31
$table = TABLE_PREFIX ."mod_menu_link";
32
$database->query("INSERT INTO `$table` (`page_id`, `section_id`, target_page_id, anchor) VALUES ('$page_id', '$section_id', '0', '')");
32
$database->query("INSERT INTO `$table` (`page_id`, `section_id`, target_page_id, anchor) VALUES ('$page_id', '$section_id', '0', '0')");
33 33

  
34
?>
34
?>

Also available in: Unified diff