Changeset 519 for trunk/Modules


Ignore:
Timestamp:
Apr 14, 2013, 6:18:49 PM (12 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.
Location:
trunk/Modules
Files:
19 edited

Legend:

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

    r498 r519  
    88    $this->FullTitle = 'Výpis z historie chatu';
    99    $this->ShortTitle = 'Historie chatu';
    10     $this->NavigationPath[] = array('Name' => $this->ShortTitle, 'URL' => 'chat');     
     10    $this->ParentClass = 'PagePortal';
    1111  }
    1212 
  • trunk/Modules/IS/IS.php

    r508 r519  
    77  var $FullTitle = 'Správa dat';
    88  var $ShortTitle = 'Správa dat';
     9  var $ParentClass = 'PagePortal';
    910  var $MenuItems = array();
    1011
  • trunk/Modules/Map/Map.php

    r501 r519  
    77  var $FullTitle = 'Mapa sítě';
    88  var $ShortTitle = 'Mapa sítě';
     9  var $ParentClass = 'PagePortal';
    910  var $Load = 'initialize()';
    1011  var $Unload = 'GUnload()';
  • trunk/Modules/Meals/Meals.php

    r513 r519  
    55  var $FullTitle = 'Jídleníček jídelny Na kopečku';
    66  var $ShortTitle = 'Jídelníček';
     7  var $ParentClass = 'PagePortal';
    78  var $DayNames = array('Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota');
    89  var $DayNamesShort = array('NE', 'PO', 'ÚT', 'ST', 'ČT', 'PÁ', 'SO');
     
    8788    <br>
    8889    <strong>CENA JEDNOHO MENU JE '.$Row['Price'].' Kč</strong></td></tr>';
    89     //echo('<tr><td colspan="2">dd</td></tr>');
    9090    $Output .= '</table>';
    91 
    92     //DB_Select('meals_info','*');
    93     //$Row = DB_Row();
    94     //echo($Row['info']);
    9591
    9692    $Output .= '</body></html>';
  • trunk/Modules/Meteostation/Meteostation.php

    r501 r519  
    88  var $FullTitle = 'Stav meteostanice';
    99  var $ShortTitle = 'Meteostanice';
    10 
     10  var $ParentClass = 'PagePortal';
     11 
    1112  function Show()
    1213  {
  • trunk/Modules/Network/Administration.php

    r518 r519  
    88    $this->FullTitle = 'Administrace sítě';
    99    $this->ShortTitle = 'Administrace sítě';
    10     $this->NavigationPath[] = array('Name' => $this->ShortTitle, 'URL' => 'sprava');     
     10    $this->ParentClass = 'PageNetwork';
    1111  }
    1212
  • trunk/Modules/Network/Availability.php

    r518 r519  
    55  var $FullTitle = 'Dostupnost aktivních prvků sítě';
    66  var $ShortTitle = 'Dostupnost sítě';
     7  var $ParentClass = 'PageNetwork';
    78  var $PeriodCount = 24;
    89  var $Period = array(
  • trunk/Modules/Network/HostList.php

    r501 r519  
    77  var $FullTitle = 'Seznam registrovaných počítačů';
    88  var $ShortTitle = 'Seznam počítačů';
    9 
     9  var $ParentClass = 'PageNetwork';
     10 
    1011  function Show()
    1112  {
  • trunk/Modules/Network/Hosting.php

    r518 r519  
    55  var $FullTitle = 'Hostované projekty';
    66  var $ShortTitle = 'Hostované projekty';
     7  var $ParentClass = 'PageNetwork';
    78
    89  function Show()
  • 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); 
  • trunk/Modules/Network/Subnet.php

    r518 r519  
    88    $this->FullTitle = 'Informace o podsítích';
    99    $this->ShortTitle = 'Podsítě';
     10    $this->ParentClass = 'PageNetwork';
    1011  }
    1112
  • trunk/Modules/Network/UserHosts.php

    r518 r519  
    88    $this->FullTitle = 'Registrované počítače';
    99    $this->ShortTitle = 'Registrované počítače';
     10    $this->ParentClass = 'PageNetwork';
    1011  }
    1112
  • trunk/Modules/NetworkShare/SharePage.php

    r505 r519  
    33class SharePage extends Page
    44{
    5   var $FullTitle = 'Vyhledávání souborů';
    6   var $ShortTitle = 'Vyhledávání souborů';
     5  var $FullTitle = 'Prohledávání sdílených souborů';
     6  var $ShortTitle = 'Sdílené soubory';
     7  var $ParentClass = 'PagePortal';
    78  var $Dependencies = array('Log');
    89  var $MaxNesting = 20; // Maximální vnoření
  • trunk/Modules/NetworkTopology/NetworkTopology.php

    r517 r519  
    55  var $FullTitle = 'Grafické zobrazení topologie sítě';
    66  var $ShortTitle = 'Topologie sítě';
     7  var $ParentClass = 'PagePortal';
    78  var $TopHostName = 'NIX-ROUTER';
    89 
  • trunk/Modules/Portal/Portal.php

    r518 r519  
    66{
    77  var $FullTitle = 'Zděchovský rozcestník';
    8   var $ShortTitle = '';
     8  var $ShortTitle = 'Rozcestník';
    99 
    1010  function ShowLinks($HyperlinkGroup)
  • trunk/Modules/TV/TV.php

    r501 r519  
    77  var $FullTitle = 'Síťová televize';
    88  var $ShortTitle = 'IPTV';
     9  var $ParentClass = 'PagePortal';
    910 
    1011  function Show()
  • trunk/Modules/User/User.php

    r496 r519  
    2727  {
    2828    parent::Start();
    29     $this->System->RegisterPage('userlist.php', 'PageUserList');
     29    $this->System->RegisterPage('userlist', 'PageUserList');
    3030  } 
    3131 
  • trunk/Modules/User/UserList.php

    r498 r519  
    55  var $FullTitle = 'Seznam registrovaných uživatelů';
    66  var $ShortTitle = 'Seznam uživatelů';
    7 
     7  var $ParentClass = 'PagePortal';
     8 
    89  function Show()
    910  {
  • trunk/Modules/WebCam/WebCam.php

    r498 r519  
    55  var $FullTitle = 'Webová kamera';
    66  var $ShortTitle = 'Kamera';
     7  var $ParentClass = 'PagePortal';
    78 
    89  function Show()
Note: See TracChangeset for help on using the changeset viewer.