Diff of /mambo/branches/4.6/administrator/components/com_modules/toolbar.modules.php
Parent Directory
|
Revision Log
|
Patch
| revision 964, Tue Feb 6 06:05:27 2007 UTC | revision 1754, Tue Feb 17 11:25:53 2009 UTC | |
|---|---|---|
| # | Line 2 | Line 2 |
| 2 | /** | /** |
| 3 | * @package Mambo | * @package Mambo |
| 4 | * @subpackage Modules | * @subpackage Modules |
| * @copyright Refer to copyright.php | ||
| * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | ||
| 5 | * @author Mambo Foundation Inc see README.php | * @author Mambo Foundation Inc see README.php |
| 6 | * @copyright Mambo Foundation Inc. | |
| 7 | * 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 */ |
| # | Line 24 | Line 28 |
| 28 | ||
| 29 | $published = 0; | $published = 0; |
| 30 | if ( $mid ) { | if ( $mid ) { |
| 31 | // @RawSQLUse, trivial_implementation, SELECT | |
| 32 | $query = "SELECT published FROM #__modules WHERE id='$mid'"; | $query = "SELECT published FROM #__modules WHERE id='$mid'"; |
| 33 | $database->setQuery( $query ); | $database->setQuery( $query ); |
| 34 | $published = $database->loadResult(); | $published = $database->loadResult(); |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

