diff options
author | thomascube <thomas@roundcube.net> | 2011-03-01 21:58:54 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-03-01 21:58:54 +0000 |
commit | ae39c47c3a07f9a9334c9676829fd948d682ffbd (patch) | |
tree | 9fbf9aafce13c4dd38c5a327a3c5cf9cfbb6d454 /program/include/rcmail.php | |
parent | 715c7961ba8ff72fe40720bb4feaa7865e57e8b9 (diff) |
New config option for custom logo; allow skins to define/override texts
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 319e53cc0..980efe43d 100644 --- a/program/include/rcmail.php +++ b/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])) |