<?php

// PageLogin class
// Date: 2012-06-13

include_once('Page.php');
include_once('Form.php');

class PageLogin extends Page
{

  function __construct($Language)
  {
	  parent::__construct('login',$Language);
  }
  
  protected function Generate() {
	//generation of the page
	
	
		$Form = new Form(array( 
	array('name' => 'LoginUser',
	 'description' => 'Jméno',
     ),
	array('name' => 'LoginPass',
	 'type' => 'password',
	 'description' => 'Heslo',
	 'value' => '',),
	array('name' => 'button',
	 'type' => 'submit',
	 'value' => 'Přihlásit',
	 'description' => '<a href="?register">Registrace</a>',)), 'Přihlášení');
	$this->Content .= $Form->GetText();
	
	

	parent::Generate($this->Content);
	
  }

}
?>
