Changeset 346 for trunk/index.php


Ignore:
Timestamp:
Jan 17, 2012, 2:10:21 PM (13 years ago)
Author:
chronos
Message:
  • Upraveno: Historie chatu přesunuta do samostatného systémového modulu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r345 r346  
    293293            $Output .= $this->Panel('Přihlášený uživatel', $this->UserPanel());
    294294        } else
    295         if($Panel['Module'] == 'Webcam') $Output .= $this->Panel('Kamery', $this->WebcamPanel());
     295        if(($Panel['Module'] == 'Webcam') and (array_key_exists('WebCam', $this->System->Modules)))
     296          $Output .= $this->Panel('Kamery', $this->WebcamPanel());
    296297        else if($Panel['Module'] == 'NewsGroupList') $Output .= $this->Panel('Aktuality', $this->System->Modules['News']->Show(), array('<a href="?Action=CustomizeNews">Upravit</a>'));
    297298      }
     
    316317  } else echo('Stránka nenalezena');
    317318} else
    318 {
     319{ 
    319320  $System->AddModule(new IndexPage());
    320321  $System->Modules['IndexPage']->GetOutput();
Note: See TracChangeset for help on using the changeset viewer.