From addb4a06b5e082c56f91a325565c0b688439a1de Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 13 Feb 2018 12:33:30 -0300 Subject: [PATCH] Bug 20190: Replace intranet-tmpl with [% interface %] Signed-off-by: Jonathan Druart --- .../prog/en/includes/wysiwyg-systempreferences.inc | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc index 1e23e9abeb..d96a2799b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc @@ -9,7 +9,7 @@ function wysiwyg_change (ed){ $(original_textarea).trigger("input"); } -tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; +tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; tinyMCE.init({ setup : function(ed) { ed.onInit.add(function(editor){ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index 6bbbc2f292..99777c86ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -267,7 +267,7 @@ }); [% END %] }); - tinyMCE.baseURL = "/intranet-tmpl/lib/tiny_mce"; + tinyMCE.baseURL = "[% interface %]/lib/tiny_mce"; tinyMCE.init({ mode : "textareas", theme : "advanced", diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt index e99e1ca3b2..ae5cb530e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt @@ -2,7 +2,7 @@ Online help