Changeset 494 for trunk/Modules


Ignore:
Timestamp:
Mar 1, 2013, 10:44:18 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Přepočítávání stavu placení zákazníků.
Location:
trunk/Modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Portal/Portal.php

    r493 r494  
    169169      if($_GET['Action'] == 'Logout')
    170170      {
    171         $Output .= $this->SystemMessage('Odhlášení', $this->System->Modules['User']->Logout());
     171        if($this->System->Modules['User']->User['Id'] != null)
     172        {
     173          $Output .= $this->SystemMessage('Odhlášení', $this->System->Modules['User']->Logout());
     174        } else $Output .= $this->SystemMessage('Nastavení uživatele', 'Nejste přihlášen');
    172175      } else
    173176      if($_GET['Action'] == 'UserOptions')
    174177      {
    175         $UserOptions = new Form('UserOptions');
    176         $UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->User['Id']);
    177         $UserOptions->OnSubmit = '?Action=UserOptionsSave';
    178         $Output .= $UserOptions->ShowEditForm();
     178        if($this->System->Modules['User']->User['Id'] != null)
     179        {
     180          $UserOptions = new Form('UserOptions');
     181          $UserOptions->LoadValuesFromDatabase($this->System->Modules['User']->User['Id']);
     182          $UserOptions->OnSubmit = '?Action=UserOptionsSave';
     183          $Output .= $UserOptions->ShowEditForm();
     184        } else $Output .= $this->SystemMessage('Nastavení uživatele', 'Nejste přihlášen');
    179185      } else
    180186      if($_GET['Action'] == 'UserOptionsSave')
  • trunk/Modules/TV/TV.php

    r479 r494  
    6868    $Output .= '</div><br/>';
    6969   
    70     $Output .= 'Originální informace o televizi: <a href="http://tv.hovnet.czf/">HovNet televize</a><br/>';
    7170    $Output .= 'Další online TV na webu: <a href="http://spustit.cz">Spustit.cz</a><br/>';
    7271    $Output .= 'Další online TV na webu: <a href="http://www.tvinfo.cz/live/televize/evropa/cz">TV info</a><br/>';
Note: See TracChangeset for help on using the changeset viewer.