mambo的cms源代码
源代码在线查看: component.html.php
/** * @version $Id: component.html.php,v 1.6 2005/02/16 08:48:36 stingrey Exp $ * @package Mambo * @subpackage Installer * @copyright (C) 2000 - 2005 Miro International Pty Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * Mambo is Free Software */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); /** * @package Mambo * @subpackage Installer */ class HTML_component { /** * @param array An array of records * @param string The URL option */ function showInstalledComponents( $rows, $option ) { global $adminLanguage; if (count( $rows )) { ?> $rc = 0; for ($i = 0, $n = count( $rows ); $i < $n; $i++) { $row =& $rows[$i]; ?> $rc = 1 - $rc; } } else { ?> } ?> } } ?>