Diff of /mambo/branches/4.6/administrator/components/com_menus/admin.menus.php
Parent Directory
|
Revision Log
|
Patch
| revision 314, Wed Feb 22 12:57:20 2006 UTC | revision 315, Wed Feb 22 13:31:46 2006 UTC | |
|---|---|---|
| # | Line 664 | Line 664 |
| 664 | $curr->load( $id ); | $curr->load( $id ); |
| 665 | $curr->id = NULL; | $curr->id = NULL; |
| 666 | if ( !$curr->store() ) { | if ( !$curr->store() ) { |
| 667 | echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n"; | echo "<script> alert('".$curr->getError()."'); window.history.go(-1); </script>\n"; |
| 668 | exit(); | exit(); |
| 669 | } | } |
| 670 | $cidref[] = array($id, $curr->id); | $cidref[] = array($id, $curr->id); |
| # | Line 685 | Line 685 |
| 685 | $curr->menutype = $menu; | $curr->menutype = $menu; |
| 686 | $curr->ordering = '9999'; | $curr->ordering = '9999'; |
| 687 | if ( !$curr->store() ) { | if ( !$curr->store() ) { |
| 688 | echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n"; | echo "<script> alert('".$curr->getError()."'); window.history.go(-1); </script>\n"; |
| 689 | exit(); | exit(); |
| 690 | } | } |
| 691 | $curr->updateOrder( "menutype='". $curr->menutype ."' AND parent='". $curr->parent ."'" ); | $curr->updateOrder( "menutype='". $curr->menutype ."' AND parent='". $curr->parent ."'" ); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

