Changeset 8 for trunk/class/Gui.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/Gui.php

    r6 r8  
    1111  private $Links = array();
    1212  private $Pages = array();
     13  private $Language;
    1314
    1415  function __construct()
     
    1617    $this->Config = new Config(); 
    1718        $this->Messages = new Messages();
     19        $this->Language = new Language();
    1820        $this->Feedback();
    1921        $this->InitLinks();
     
    2931//init Pages
    3032  private function InitPages() {
    31           $this->Pages['home'] = new PageHome(); 
     33          $this->Pages['home'] = new PageHome($this->Language); 
    3234         
    3335  }
Note: See TracChangeset for help on using the changeset viewer.