From 0a9b9b380f367a5834f5193e608c5d65c37e3bb3 Mon Sep 17 00:00:00 2001 From: thomasb Date: Tue, 1 Mar 2011 21:58:54 +0000 Subject: 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 --- roundcubemail/program/include/rcmail.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roundcubemail/program/include/rcmail.php') 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])) -- cgit v1.2.3