Ignore:
Timestamp:
May 5, 2006 12:53:21 PM (7 years ago)
Author:
roundcube
Message:

Changed login page title regarding product name (Bug #1476413)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r215 r220  
    721721    $s_header_sent = TRUE; 
    722722    send_nocacheing_headers(); 
    723     header('Content-Type: application/x-javascript'); 
     723    header('Content-Type: application/x-javascript; charset='.$CHARSET); 
    724724    print '/** remote response ['.date('d/M/Y h:i:s O')."] **/\n"; 
    725725    } 
     
    11931193        $title = !empty($CONFIG['product_name']) ? $CONFIG['product_name'].' :: ' : ''; 
    11941194         
    1195         if ($task=='mail' && isset($GLOBALS['MESSAGE']['subject'])) 
     1195        if ($task=='login') 
     1196          $title = rcube_label(array('name' => 'welcome', 'vars' => array('product' => $CONFIG['product_name']))); 
     1197        else if ($task=='mail' && isset($GLOBALS['MESSAGE']['subject'])) 
    11961198          $title .= $GLOBALS['MESSAGE']['subject']; 
    11971199        else if (isset($GLOBALS['PAGE_TITLE'])) 
     
    12001202          $title .= rcube_charset_convert($mbox_name, 'UTF-7', 'UTF-8'); 
    12011203        else 
    1202           $title .= $task; 
     1204          $title .= ucfirst($task); 
    12031205           
    12041206        return rep_specialchars_output($title, 'html', 'all'); 
Note: See TracChangeset for help on using the changeset viewer.