Legend:
- Unmodified
- Added
- Removed
-
index.php
r16 r18 39 39 if($_GET['Action'] == 'Login') 40 40 { 41 $Output .= $this->SystemMessage('Přihlášení', $this->System->Modules['User']->Login($_POST['UserName'], $_POST['Password'])); 41 $Form = new Form(); 42 $Form->Definition = $FormUserLogin; 43 $Form->LoadValuesFromForm(); 44 $Output .= $this->SystemMessage('Přihlášení', $this->System->Modules['User']->Login($Form->Values['UserName'], $Form->Values['Password'])); 42 45 } else 43 46 if($_GET['Action'] == 'Logout') … … 73 76 if($this->System->Modules['User']->User['Id'] == 0) 74 77 { 75 if(!array_key_exists('Action', $_GET))78 //if(!array_key_exists('Action', $_GET)) 76 79 { 77 80 $Output .= '<a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=LoginForm">Přihlášení</a><br /><a href="'.$this->System->Config['Web']['RootFolder'].'/?Action=UserRegister">Registrace</a>';
Note:
See TracChangeset
for help on using the changeset viewer.