CoreFiles by mySites.guru
default.php29 lines, 963 bytes, from Joomla_3.0.1-Stable-Full_Package.zip
Raw History Compare with 3.0.0
md5
9c77911ce85942b8ffc75e95963dbc81
sha1
3360adf004c8b5441febfc57b9c422a417108d48
sha256
a7f2df8b2a911b78b831cd94f028500a0c9fcf02e36e8f76f088240ad71e06f8
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_login
 *
 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Get the login modules
// If you want to use a completely different login module change the value of name
// in your layout override.

$loginmodule = LoginModelLogin::getLoginModule('mod_login');
echo JModuleHelper::renderModule($loginmodule, array('style' => 'rounded', 'id' => 'section-box'));


//Get any other modules in the login position.
//If you want to use a different position for the modules, change the name here in your override.
$modules = JModuleHelper::getModules('login');

foreach ($modules as $module)
// Render the login modules

if ($module->module != 'mod_login'){
	echo JModuleHelper::renderModule($module, array('style' => 'rounded', 'id' => 'section-box'));
}

The same content is in 2 releases, Joomla 3.0.0 to 3.0.1. See them all, or every version of this file.