Changeset 8 for trunk/class/PageHome.php


Ignore:
Timestamp:
Jun 13, 2012, 11:09:13 PM (13 years ago)
Author:
maron
Message:

podpora jazyků

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/class/PageHome.php

    r7 r8  
    33// PageHome class
    44// Date: 2012-06-13
    5 include_once('class/Page.php');
     5
     6include_once('Page.php');
     7
    68class PageHome extends Page
    79{
    8 
    9   function __construct()
     10/*
     11  function __construct($__)
    1012  {
     13          parent::__construct($__);
    1114  }
    12  
     15  */
    1316  protected function Generate() {
    14         parent::Generate('Toto je úvodní stránka');
    15         $this->Title = 'Úvodní stránka';
     17        //generation of the page
     18        parent::Generate($this->Language->Texts['home']['content']);
     19        parent::SetTitle($this->Language->Texts['home']['title']);
     20       
    1621  }
    1722
Note: See TracChangeset for help on using the changeset viewer.