Diff of /mambo/branches/4.6/administrator/includes/mosAdminMenus.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 509 | Line 509 |
| 509 | /** | /** |
| 510 | * Select list of menu items for a specific menu | * Select list of menu items for a specific menu |
| 511 | */ | */ |
| 512 | function Links2Menu( $type, $and ) { | function Links2Menu( $type, $_and ) { |
| 513 | global $database; | global $database; |
| 514 | ||
| 515 | $query = "SELECT *" | $query = "SELECT *" |
| 516 | . "\n FROM #__menu" | . "\n FROM #__menu" |
| 517 | . "\n WHERE type = '". $type ."'" | . "\n WHERE type = '". $type ."'" |
| 518 | . "\n AND published = '1'" | . "\n AND published = '1'" |
| 519 | . $and | . $_and |
| 520 | ; | ; |
| 521 | $database->setQuery( $query ); | $database->setQuery( $query ); |
| 522 | $menus = $database->loadObjectList(); | $menus = $database->loadObjectList(); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

