Changeset 3276


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

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
  • branches/2.0/include/common.inc.php

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