Changeset 636 for trunk/Modules


Ignore:
Timestamp:
Dec 11, 2013, 12:15:15 PM (11 years ago)
Author:
chronos
Message:
  • Added: Pages should have set title which is used in HTML header to show title in web browser title bar.
Location:
trunk/Modules
Files:
19 edited

Legend:

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

    r622 r636  
    3131        function Show()
    3232        {               
     33                $this->Title = T('Game version');
    3334    $DbResult = $this->System->Database->query('SELECT COUNT(*) FROM `ClientVersion`');
    3435    $DbRow = $DbResult->fetch_row();
  • trunk/Modules/Dictionary/Dictionary.php

    r626 r636  
    311311        global $LanguageList;
    312312       
     313        $this->Title = T('Dictionary');
     314       
    313315$LanguageList = GetLanguageList();
    314316
  • trunk/Modules/Export/Page.php

    r609 r636  
    728728        function Show()
    729729  {
     730        $this->Title = T('Export');
    730731    if(array_key_exists('Action', $_GET))
    731732    {
  • trunk/Modules/FrontPage/FrontPage.php

    r622 r636  
    7272        global $Message, $MessageType;
    7373       
     74        $this->Title = T('Home');
    7475        $this->System->ModuleManager->Modules['FrontPage']->HandleLoginForm();
    7576        $Output = '';
  • trunk/Modules/Import/Manage.php

    r609 r636  
    9595        function Show()
    9696        {
     97                $this->Title = T('Import');
    9798    $Output = '';
    9899    if($this->System->User->Licence(LICENCE_ADMIN))
  • trunk/Modules/Log/Log.php

    r625 r636  
    126126    global $TranslationTree;
    127127   
     128    $this->Title = T('System log');
    128129    $Output = '';
    129130    if(array_key_exists('type', $_GET)) $_SESSION['type'] = $_GET['type'] * 1;
  • trunk/Modules/News/News.php

    r622 r636  
    6565        function Show()
    6666        {
     67                $this->Title = T('News');
    6768                if(array_key_exists('a', $_POST)) $Action = $_POST['a'];
    6869                  else if(array_key_exists('a', $_GET)) $Action = $_GET['a'];
  • trunk/Modules/Referrer/Referrer.php

    r622 r636  
    196196  function Show()
    197197  {
     198        $this->Title = T('Banners');
    198199    if(array_key_exists('action', $_GET))
    199200    {
  • trunk/Modules/Search/Search.php

    r626 r636  
    3939        function Show()
    4040        {
     41                $this->Title = T('Search');
    4142                if(array_key_exists('text', $_GET)) $Search = $_GET['text'];
    4243                else if(array_key_exists('text', $_POST)) $Search = $_POST['text'];
  • trunk/Modules/Server/Server.php

    r609 r636  
    3232        function Show()
    3333        {
     34                $this->Title = T('Servers');
    3435    $Output = '<p>V tomto seznamu jsou uvedeny jen servery, které skutečně hráčům nabízejí počeštěnou hru v praxi. Rozlišuje se, zda češtinu nabízí na straně klienta, serveru nebo obojí. Pojem "český server" zde tedy neznamená, že jej provozují češi, ale že lze hrát česky.</p>';
    3536    $Output .= '<h3>Seznam českých serverů</h3>';
  • trunk/Modules/ShoutBox/ShoutBox.php

    r626 r636  
    4444        function Show()
    4545        {
     46                $this->Title = T('Shoutbox');
    4647                if(array_key_exists('a', $_POST)) $Action = $_POST['a'];
    4748                  else if(array_key_exists('a', $_GET)) $Action = $_GET['a'];
  • trunk/Modules/Team/Team.php

    r626 r636  
    3636        function ShowTeamList()
    3737        {
     38                $this->Title = T('Teams');
    3839                $Output = '<h3>'.T('List of translating teams').'</h3>';
    3940                $Output .= 'Týmy jsou seskupení překladatelů, kteří se hlásí k něčemu společnému jako např. WoW serveru, způsobu překladu, ke stejnému hernímu spolku, aj. Být členem týmu samo o sobě nemá žádný zásadní důsledek a spíše to může pomoci se lépe orientovat mezi překladateli někomu, kdo sestavuje export.<br/>';
  • trunk/Modules/Translation/Form.php

    r633 r636  
    5353        function Show()
    5454        {
     55                $this->Title = T('Translation');
    5556                $Action = '';
    5657    if(array_key_exists('action', $_GET)) $Action = $_GET['action'];
  • trunk/Modules/Translation/Progress.php

    r584 r636  
    6666  function Show()
    6767  {
     68        $this->Title = T('Progress');
    6869$LanguageList = GetLanguageList();
    6970
  • trunk/Modules/Translation/TranslationList.php

    r609 r636  
    245245                global $TranslationTree;
    246246       
    247                 $Output = $Filter['Output'];
     247          $Output = $Filter['Output'];
    248248       
    249249                $Output .= '<table class="BaseTable"><tr><th>Skupina</th><th>Počet</th></tr>';
     
    434434        function Show()
    435435        {
     436                $this->Title = T('Translation groups');
    436437                $Action = GetParameter('action', '');
    437438                if($Action == 'filter') $Output = $this->ShowMenu();
  • trunk/Modules/User/Options.php

    r578 r636  
    7474                                if($NewPass == $NewPass2)
    7575                                {
    76                                         $DbResult = $System->Database->query('SELECT `Pass`, '.$this->System->User->CryptPasswordSQL('"'.$OldPass.'"', '`Salt`').' AS `Hash` FROM `User` WHERE `ID`= '.$this->System->User->Id);
     76                                        $DbResult = $this->System->Database->query('SELECT `Pass`, '.$this->System->User->CryptPasswordSQL('"'.$OldPass.'"', '`Salt`').' AS `Hash` FROM `User` WHERE `ID`= '.$this->System->User->Id);
    7777                                        $DbRow = $DbResult->fetch_assoc();
    7878                                        if($DbRow['Hash'] == $DbRow['Pass'])
     
    9797        function Show()
    9898        {
     99                $this->Title = T('User settings');
    99100                $Output = '';
    100101                if($this->System->User->Licence(LICENCE_USER))
  • trunk/Modules/User/Profile.php

    r609 r636  
    172172        function Show()
    173173        {
     174                $this->Title = T('User profile');
    174175                $Output = $this->SendMail();
    175176                if(array_key_exists('user', $_GET))
  • trunk/Modules/User/Registration.php

    r618 r636  
    7676                global $Config;
    7777       
     78          $this->Title = T('User registration');
    7879                $Output = '';
    7980                if(array_key_exists('user', $_POST))
  • trunk/Modules/User/UserList.php

    r626 r636  
    77        function Show()
    88        {
     9                $this->Title = T('Translators');
    910                ImgLevelUpdate();
    1011       
Note: See TracChangeset for help on using the changeset viewer.