CoreFiles by mySites.guru
default.php29 lines, 972 bytes, from Joomla_2.5.18-Stable-Full_Package.zip
Raw History Compare with 2.5.17
md5
01fbddf1deb268e5a54c504e57db3e12
sha1
1b4df09439c5688c97f3ce81cac865cc988f331d
sha256
2229224ce885d4a63d6b2c8b0776cc74a7f9e06a7219a2b23e3d7cd0b79521d3
<?php
/**
 * @package		Joomla.Administrator
 * @subpackage	com_login
 * @copyright	Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.