Changeset 3277


Ignore:
Timestamp:
05/06/09 23:09:06 (10 years ago)
Author:
plg
Message:

merge r3276 from branch 2.0 to trunk

bug 968 fixed: charset is set in HTTP header.

improvement: in the "this gallery is locked" message, the link to the
"sign in" page is on the whole sentence, not only on the final dot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r3203 r3277  
    182182    set_status_header(503, 'Service Unavailable'); 
    183183    @header('Retry-After: 900'); 
    184     echo l10n('gallery_locked_message') 
    185       .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>'; 
     184    header('Content-Type: text/html; charset='.get_pwg_charset()); 
     185    echo '<a href="'.get_absolute_root_url(false).'identification.php">'.l10n('gallery_locked_message').'</a>'; 
    186186    echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size 
    187187    exit(); 
Note: See TracChangeset for help on using the changeset viewer.