Ignore:
Timestamp:
Apr 14, 2013, 6:18:49 PM (11 years ago)
Author:
chronos
Message:
  • Upraveno: Přepracován systém generování horního navigačního řádků stránek. Nyní mají stránky třídy Page určenu nadřazenou stránky přes nadřazenou třídu.
File:
1 edited

Legend:

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

    r518 r519  
    1111{
    1212  var $FullTitle = 'Technické informace o síti';
    13   var $ShortTitle = 'Technické informace';
     13  var $ShortTitle = 'Síť';
     14  var $ParentClass = 'PagePortal';
    1415
    1516  function Show()
     
    1718    if(count($this->System->PathItems) > 1)
    1819    {
    19       if($this->System->PathItems[1] == 'administration') $Output = $this->NewPage('PageNetworkAdministration')->Show();
    20       else if($this->System->PathItems[1] == 'availability') $Output = $this->NewPage('PageAvailability')->Show();
    21       else if($this->System->PathItems[1] == 'subnet') $Output = $this->NewPage('PageSubnet')->Show();
    22       else if($this->System->PathItems[1] == 'user_hosts') $Output = $this->NewPage('PageNetworkHostList')->Show();
    23       else if($this->System->PathItems[1] == 'hosting') $Output = $this->NewPage('PageHosting')->Show();
    24       else if($this->System->PathItems[1] == 'hosts') $Output = $this->NewPage('PageHostList')->Show();
    25       else $Output = $this->ShowInformation();
     20      $this->ClearPage = true;
     21      if($this->System->PathItems[1] == 'administration') $Output = $this->NewPage('PageNetworkAdministration')->GetOutput();
     22      else if($this->System->PathItems[1] == 'availability') $Output = $this->NewPage('PageAvailability')->GetOutput();
     23      else if($this->System->PathItems[1] == 'subnet') $Output = $this->NewPage('PageSubnet')->GetOutput();
     24      else if($this->System->PathItems[1] == 'user_hosts') $Output = $this->NewPage('PageNetworkHostList')->GetOutput();
     25      else if($this->System->PathItems[1] == 'hosting') $Output = $this->NewPage('PageHosting')->GetOutput();
     26      else if($this->System->PathItems[1] == 'hosts') $Output = $this->NewPage('PageHostList')->GetOutput();
     27      else {
     28        $this->ClearPage = false;
     29        $Output = $this->ShowInformation();
     30      }
    2631    } else $Output = $this->ShowInformation();
    2732    return($Output); 
Note: See TracChangeset for help on using the changeset viewer.