source: trunk/class/PageLogin.php

Last change on this file was 18, checked in by maron, 13 years ago

kostra webu

File size: 724 bytes
Line 
1<?php
2
3// PageLogin class
4// Date: 2012-06-13
5
6include_once('Page.php');
7include_once('Form.php');
8
9class PageLogin extends Page
10{
11
12 function __construct($Language)
13 {
14 parent::__construct('login',$Language);
15 }
16
17 protected function Generate() {
18 //generation of the page
19
20
21 $Form = new Form(array(
22 array('name' => 'LoginUser',
23 'description' => 'Jméno',
24 ),
25 array('name' => 'LoginPass',
26 'type' => 'password',
27 'description' => 'Heslo',
28 'value' => '',),
29 array('name' => 'button',
30 'type' => 'submit',
31 'value' => 'Přihlásit',
32 'description' => '<a href="?register">Registrace</a>',)), 'Přihlášení');
33 $this->Content .= $Form->GetText();
34
35
36
37 parent::Generate($this->Content);
38
39 }
40
41}
42?>
Note: See TracBrowser for help on using the repository browser.