Ignore:
Timestamp:
Sep 3, 2016, 10:43:15 PM (8 years ago)
Author:
chronos
Message:
  • Added: Page about IPTV.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/ZdechovNET/UModuleZdechovNET.pas

    r115 r119  
    77uses
    88  Classes, SysUtils, UModularSystem, SpecializedDictionary, UWebPage,
    9   UWebSession, DateUtils, UModuleBase, UModuleUser,
     9  UWebSession, DateUtils, UModuleBase, UModuleUser, UIPTVPage,
    1010  UInternetPage, UHostingPage, UHistoryPage, UDocumentsPage, UVoIPPage,
    1111  ULinksPage, UPlansPage, UServerInfoPage, UWebCamPage, UUser,
     
    3131    ProjectsPage: TProjectsPage;
    3232    AboutPage: TAboutPage;
     33    IPTVPage: TIPTVPage;
    3334    procedure Footer(Session: TWebSession);
    3435    procedure GeneratePage(ASession: TWebSession; Page: TWebPage);
     
    118119    AboutPage.ModuleUser := ModuleUser;
    119120    RegisterPage(AboutPage, '');
     121    IPTVPage := TIPTVPage.Create(nil);
     122    IPTVPage.ModuleUser := ModuleUser;
     123    RegisterPage(IPTVPage, 'televize');
    120124  end;
    121125  AfterStart;
     
    126130  BeforeStop;
    127131  with ModuleBase, Pages do begin
     132    UnregisterPage(IPTVPage);
     133    FreeAndNil(IPTVPage);
    128134    UnregisterPage(AboutPage);
    129135    FreeAndNil(AboutPage);
     
    310316      '<li>' + MakeLink('Úvod', NavigationLink('/')) + '</li>' +
    311317      '<li>' + MakeLink('Internet', NavigationLink('/internet/')) + '</li>' +
     318      '<li>' + MakeLink('Televize', NavigationLink('/televize/')) + '</li>' +
    312319      '<li>' + MakeLink('Hosting', NavigationLink('/hosting/')) + '</li>' +
    313320      '<li>' + MakeLink('VoIP', NavigationLink('/voip/')) + '</li>' +
Note: See TracChangeset for help on using the changeset viewer.