From e6735f635d9b618c3d58c65481e8c1f1c03f3d76 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 30 Oct 2018 12:02:55 +0100 Subject: [PATCH] W.I.P. migration of mainscreen to et2: - Fix extra space added when save the entry - Fix htmlarea not getting a right height when is in inactive tab --- admin/inc/class.admin_messages.inc.php | 3 ++- admin/templates/default/mainscreen_message.xet | 2 +- api/js/etemplate/et2_widget_htmlarea.js | 13 +++++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/admin/inc/class.admin_messages.inc.php b/admin/inc/class.admin_messages.inc.php index 4c82d61db6..86b81fa5a1 100644 --- a/admin/inc/class.admin_messages.inc.php +++ b/admin/inc/class.admin_messages.inc.php @@ -81,7 +81,8 @@ class admin_messages self::LOGINSCREEN => !$acls[self::LOGINSCREEN] ) ); - $tpl->exec('admin.admin_messages.index', $content, array(), $readonlys); + + $tpl->exec('admin.admin_messages.index', $content, array('lang' => Api\Translation::get_installed_langs()), $readonlys); } /** diff --git a/admin/templates/default/mainscreen_message.xet b/admin/templates/default/mainscreen_message.xet index 00a6b07aa8..019f1aff92 100644 --- a/admin/templates/default/mainscreen_message.xet +++ b/admin/templates/default/mainscreen_message.xet @@ -23,7 +23,7 @@ - +