diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 6c6ebe88c..87d78f75d 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -77,4 +77,8 @@ webgui. to allow templates to be hidden from forms and/or management. - Added dTree menu to the navigation system (Thanks to Geir Landro, http://www.destroydrop.com) + - Added Cool Menus to the navigation system. (Thanks to Thomas Bratili, + http://www.dhtmlcentral.com) + + diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.sql b/docs/upgrades/upgrade_5.9.9-6.0.0.sql index 54402f478..8fac24521 100644 --- a/docs/upgrades/upgrade_5.9.9-6.0.0.sql +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.sql @@ -525,6 +525,6 @@ INSERT INTO template VALUES (2,'Events List','\r\n

INSERT INTO template VALUES (3,'Calendar Month (Small)','\r\n

\r\n
\r\n\r\n\r\n

\r\n\r\n\r\n\r\n \">\r\n

\r\n\r\n\r\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

 
HeaderData\" width=\"28\" valign=\"top\" align=\"left\">

\n \n \">\n \n \n \n

 
\n
\n\n\n\n

\n · · \n
\n
\n','EventsCalendar'); INSERT INTO template VALUES (1,'Calendar Month (Big)','\r\n

\r\n
\r\n\r\n\r\n

\r\n\r\n\r\n\r\n \">\r\n

\r\n\r\n\r\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

 
HeaderData\" width=\"14%\" valign=\"top\" align=\"left\">

\n \n \n ·\">
\n
\n
\n
 
\n
\n\n\n\n

\n · · \n
\n
\n','EventsCalendar'); - - +INSERT INTO template VALUES (7,'Cool Menus','\n\n \n\n\n\n\n','Navigation',1,1); +INSERT INTO Navigation VALUES (17,'coolmenu',99,'descendants','WebGUIroot',-1,7,0,0,0,0); diff --git a/lib/WebGUI/Navigation.pm b/lib/WebGUI/Navigation.pm index 1b6b6029a..61f917f75 100644 --- a/lib/WebGUI/Navigation.pm +++ b/lib/WebGUI/Navigation.pm @@ -70,8 +70,7 @@ These methods are available from this package: #------------------------------------------------------------------- sub _getEditButton { my $self = shift; - return editIcon("op=editNavigation&navigationId=".$self->{_navigationId}."&identifier=".$self->{_identifier}) - .copyIcon('op=copyNavigation&identifier='.$self->{_identifier}.'&navigationId='.$self->{_navigationId}); + return editIcon("op=editNavigation&navigationId=".$self->{_navigationId}."&identifier=".$self->{_identifier}); } #-------------------------------------------------------------------