Projects
Kolab:16
roundcubemail
0004-Enigma-Fix-compatibility-with-assets_dir.p...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-Enigma-Fix-compatibility-with-assets_dir.patch of Package roundcubemail (Revision 24)
Currently displaying revision
24
,
Show latest
From 793bf96747237641082169ac0dceeb8834db993a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 21 May 2017 09:49:42 +0200 Subject: [PATCH 4/6] Enigma: Fix compatibility with assets_dir --- CHANGELOG | 1 + plugins/enigma/lib/enigma_ui.php | 20 ++++---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b71909661..d2a648e15 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Enigma: Fix compatibility with assets_dir - Fix bug where comment notation within style tag would cause the whole style to be ignored (#5747) - Fix bug where it wasn't possible to scroll folders list in Edge (#5750) - Fix addressbook searching by gender (#5757) diff --git a/plugins/enigma/lib/enigma_ui.php b/plugins/enigma/lib/enigma_ui.php index 03d7c208a..f4d9c48ba 100644 --- a/plugins/enigma/lib/enigma_ui.php +++ b/plugins/enigma/lib/enigma_ui.php @@ -116,14 +116,12 @@ class enigma_ui */ function add_css() { - if ($this->css_loaded) + if ($this->css_loaded) { return; - - $skin_path = $this->enigma->local_skin_path(); - if (is_file($this->home . "/$skin_path/enigma.css")) { - $this->enigma->include_stylesheet("$skin_path/enigma.css"); } + $skin_path = $this->enigma->local_skin_path(); + $this->enigma->include_stylesheet("$skin_path/enigma.css"); $this->css_loaded = true; } @@ -185,17 +183,7 @@ class enigma_ui */ function tpl_key_frame($attrib) { - if (!$attrib['id']) { - $attrib['id'] = 'rcmkeysframe'; - } - - $attrib['name'] = $attrib['id']; - - $this->rc->output->set_env('contentframe', $attrib['name']); - $this->rc->output->set_env('blankpage', $attrib['src'] ? - $this->rc->output->abs_url($attrib['src']) : 'program/resources/blank.gif'); - - return $this->rc->output->frame($attrib); + return $this->rc->output->frame($attrib, true); } /** -- 2.13.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.