Changeset 636 for trunk/Modules/User


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/User
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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.