Title = 'Uživatel'; $this->ParentClass = 'PagePortal'; } function Panel(string $Title, string $Content, array $Menu = array()): string { if (count($Menu) > 0) foreach ($Menu as $Item) $Title .= '
'.$Contact['Category'].' | '. ''.$Contact['Value'].' | '. ''.$Contact['Description'].' | '. '
'; $Output .= $this->Panel('Nabídka uživatele', $Actions); $Output .= ' | ';
if ($User->User['Id'] != null)
{
$Form = new Form($this->System->FormManager);
$Form->SetClass('UserOptions');
$Form->LoadValuesFromDatabase($User->User['Id']);
$Form->OnSubmit = '?Action=UserOptionsSave';
$Output .= $Form->ShowViewForm();
$Output .= ' '.$this->ShowContacts(); } else $Output .= $this->SystemMessage('Nastavení uživatele', 'Nejste přihlášen'); //$Output .= $this->Panel('Přehled', $this->UserPanel()); $Output .= ' |