Diff of /mambo/branches/4.6/administrator/components/com_menus/admin.menus.php
Parent Directory
|
Revision Log
|
Patch
| revision 587, Tue Jul 4 21:25:31 2006 UTC | revision 588, Tue Jul 4 21:41:33 2006 UTC | |
|---|---|---|
| # | Line 68 | Line 68 |
| 68 | break; | break; |
| 69 | ||
| 70 | case 'remove': | case 'remove': |
| 71 | $msg = ''; | if ($msg = TrashMenusection( $cid )) { |
| foreach($cid as $_id){ | ||
| $_cid = array(); | ||
| $_cid[] = $_id; | ||
| addDescendants($_id, $_cid); | ||
| $msg .= TrashMenuSection( $_cid ); | ||
| } | ||
| if ($msg) { | ||
| 72 | mosRedirect( 'index2.php?option=com_menus&menutype='. $menutype .'&mosmsg= '.$msg ); | mosRedirect( 'index2.php?option=com_menus&menutype='. $menutype .'&mosmsg= '.$msg ); |
| 73 | } else { | } else { |
| 74 | mosRedirect( 'index2.php?option=com_menus&menutype='. $menutype ); | mosRedirect( 'index2.php?option=com_menus&menutype='. $menutype ); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

