From 39ad72ff718c0aa0ea8be03aefeb5f41b629ef2e Mon Sep 17 00:00:00 2001 From: Koustubha Kale Date: Sun, 14 Nov 2010 20:04:52 +0530 Subject: [PATCH 2/2] Bug 5401: WYSWYG for Koha News Patch 2 Koha files Content-Type: text/plain; charset="utf-8" This patch adds WYSWYG editor functionality to Koha news in staff client using elRTE editor from elrte.org which is BSD style licensed. elrte.inc file to configure the elRTE WYSWYG editor from elrte.org By using the opts array you can control the appearance of the buttons as well as size of the text area. For options of the opts array and others to control the appearance of the editor, refer to eltre.org. This header file is inserted in the koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl --- koha-tmpl/intranet-tmpl/prog/en/includes/elrte.inc | 51 ++++++++++++++++++++ .../prog/en/modules/tools/koha-news.tmpl | 3 +- 2 files changed, 53 insertions(+), 1 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/elrte.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/elrte.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/elrte.inc new file mode 100644 index 0000000..147fde9 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/elrte.inc @@ -0,0 +1,51 @@ + + + + + +/js/elrte-1.1/css/elrte.full.css" type="text/css" media="screen" charset="utf-8"> +/js/elrte-1.1/js/ui-themes/smoothness/jquery-ui-1.8.5.custom.css" type="text/css" media="screen" charset="utf-8"> + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl index b7b6748..0ce483e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl @@ -2,6 +2,7 @@ Koha › Tools › News + -- 1.7.0.4