diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-01 21:58:54 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-03-01 21:58:54 +0000 |
| commit | 0a9b9b380f367a5834f5193e608c5d65c37e3bb3 (patch) | |
| tree | 6becfbdb26cfaea93ebe48179cb7495c2dc17879 /roundcubemail/program/include/rcmail.php | |
| parent | 11e70bebf45e56b5b4b3855442d4fd96e6ad63cc (diff) | |
New config option for custom logo; allow skins to define/override texts
git-svn-id: https://svn.roundcube.net/trunk@4585 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 319e53cc0..980efe43d 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -874,6 +874,10 @@ class rcmail $nr = is_numeric($attrib['nr']) ? $attrib['nr'] : 1; $name = $attrib['name'] ? $attrib['name'] : ''; + + // attrib contain text values: use them from now + if (($setval = $attrib[strtolower($_SESSION['language'])]) || ($setval = $attrib['en_us'])) + $this->texts[$name] = $setval; // check for text with domain if ($domain && ($text_item = $this->texts[$domain.'.'.$name])) |
