| 1 |
<?php |
<?php |
| 2 |
/** |
/** |
|
* @version $Id: weblink_category_table.class.php,v 1.1 2005/07/22 01:53:12 eddieajau Exp $ |
|
| 3 |
* @package Mambo |
* @package Mambo |
| 4 |
* @subpackage Menus |
* @subpackage Menus |
| 5 |
* @copyright (C) 2000 - 2005 Miro International Pty Ltd |
* @author Mambo Foundation Inc see README.php |
| 6 |
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
* @copyright Mambo Foundation Inc. |
| 7 |
* Mambo is Free Software |
* See COPYRIGHT.php for copyright notices and details. |
| 8 |
|
* @license GNU/GPL Version 2, see LICENSE.php |
| 9 |
|
* Mambo is free software; you can redistribute it and/or |
| 10 |
|
* modify it under the terms of the GNU General Public License |
| 11 |
|
* as published by the Free Software Foundation; version 2 of the License. |
| 12 |
*/ |
*/ |
| 13 |
|
|
| 14 |
/** ensure this file is being included by a parent file */ |
/** ensure this file is being included by a parent file */ |
| 15 |
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); |
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); |
| 16 |
|
|
|
/** |
|
|
* @package Mambo |
|
|
* @subpackage Menus |
|
|
*/ |
|
| 17 |
class weblink_category_table_menu { |
class weblink_category_table_menu { |
| 18 |
|
|
| 19 |
/** |
/** |
| 46 |
// build list of categories |
// build list of categories |
| 47 |
$lists['componentid'] = mosAdminMenus::ComponentCategory( 'componentid', 'com_weblinks', intval( $menu->componentid ), NULL, 'ordering', 5, 0 ); |
$lists['componentid'] = mosAdminMenus::ComponentCategory( 'componentid', 'com_weblinks', intval( $menu->componentid ), NULL, 'ordering', 5, 0 ); |
| 48 |
if ( $uid ) { |
if ( $uid ) { |
| 49 |
|
// @RawSQLUse, trivial_implementation, SELECT, CONCEPT |
| 50 |
$query = "SELECT name" |
$query = "SELECT name" |
| 51 |
. "\n FROM #__categories" |
. "\n FROM #__categories" |
| 52 |
. "\n WHERE section = 'com_weblinks'" |
. "\n WHERE section = 'com_weblinks'" |