Location: PHPKode > projects > OpenRat CMS > openrat/actionClasses/LoginAction.class.php
<?php
// ---------------------------------------------------------------------------
// $Id$
// ---------------------------------------------------------------------------
// OpenRat Content Management System
// Copyright (C) 2002-2004 Jan Dankert, hide@address.com
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
// ---------------------------------------------------------------------------
// $Log$
// Revision 1.4  2006-01-11 22:51:51  dankert
// Funktion login() deaktiviert
//
// Revision 1.3  2004/12/15 23:25:22  dankert
// *** empty log message ***
//
// Revision 1.2  2004/05/02 14:49:37  dankert
// Einf?gen package-name (@package)
//
// Revision 1.1  2004/04/24 15:14:52  dankert
// Initiale Version
//
// Revision 1.2  2003/10/02 20:56:17  dankert
// Benutzer entfernen
//
// Revision 1.1  2003/09/29 18:18:21  dankert
// erste Version
//
// ---------------------------------------------------------------------------


/**
 * Action-Klasse zum Darstellen der Loginmaske
 * @author $Author$
 * @version $Revision$
 * @package openrat.actions
 */
class LoginAction extends Action
{
	var $defaultSubAction = 'login';

	function LoginAction()
	{
	}


	function blank()
	{
	}


//	function login()
//	{
//		global $conf;
//
//
//		foreach( $conf['database'] as $dbname=>$dbconf )
//		{
//			if	( $dbconf['enabled'] )
//				$dbids[$dbname] = $dbconf['comment'];
//		}
//
//		$this->setTemplateVar( 'dbids',$dbids );
//		
//		if	( $this->getSessionVar('dbid') != '' )
//			$this->setTemplateVar('actdbid',$this->getSessionVar('dbid'));
//			$this->setTemplateVar('actdbid',$conf['database']['default']);
//
//		$this->setTemplateVar('loginmessage',$this->getSessionVar('loginmessage'));
//		$this->setSessionVar('loginmessage','');
//
//		$this->forward('login');
//	}
}
Return current item: OpenRat CMS