Changeset 141

Show
Ignore:
Timestamp:
09/07/05 21:02:35 (4 years ago)
Author:
dez
Message:

Fixed ticket #23 - the lack of error messages on login

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • admin.lib.php

    r140 r141  
    136136                        } 
    137137                } 
     138                if ($this->sessionError != "") { 
     139                        echo "<div class=\"updateinfo\">Error : " . $this->sessionError . "</div>\n"; 
     140                }                
    138141        } 
    139142         
  • admin.php

    r140 r141  
    1212                        $admin->login(); 
    1313                        //why? 
     14                        // Reinitalise the admin variable now the user is logged in 
     15                        // (fixes the bug whereby the date is not displayed on recent posts when you first log in 
     16                        // because there is no date format string provided) 
    1417                        $admin = new admin(); 
    1518                        break;