Ignore:
Timestamp:
Sep 19, 2007 2:29:28 AM (6 years ago)
Author:
thomasb
Message:

Allow vars and PHP code in templates; improved page title; fixed #1484395

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/settings/func.inc

    r782 r801  
    2727                                  
    2828if ($USER_DATA = $DB->fetch_assoc($sql_result)) 
    29   $OUTPUT->set_pagetitle(sprintf('%s %s@%s', rcube_label('settingsfor'), $USER_DATA['username'], $USER_DATA['mail_host'])); 
     29{ 
     30  $username = $USER_DATA['username'] . (!strpos($USER_DATA['username'], '@') ? '@'.$USER_DATA['mail_host'] : ''); 
     31  $OUTPUT->set_pagetitle(sprintf('%s %s', rcube_label('settingsfor'), $username)); 
     32} 
    3033 
    3134 
Note: See TracChangeset for help on using the changeset viewer.