Bugzilla – Attachment 2763 Details for
Bug 5401
WYSWYG for Koha News
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Demonstrating TinyMCE integration
0001-Bug-5401-WYSIWYG-for-Koha-news-Testing-TinyMCE-integ.patch (text/plain), 1.77 KB, created by
Owen Leonard
on 2010-11-16 17:47:57 UTC
(
hide
)
Description:
Demonstrating TinyMCE integration
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-11-16 17:47:57 UTC
Size:
1.77 KB
patch
obsolete
>From 52aa88b7316c87e9ef8837eb915da7a3448642b1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 16 Nov 2010 12:42:51 -0500 >Subject: [PATCH] Bug 5401, WYSIWYG for Koha news: Testing TinyMCE integration > >--- > .../prog/en/modules/tools/koha-news.tmpl | 19 +++++++++++++++++++ > 1 files changed, 19 insertions(+), 0 deletions(-) > >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..448795c 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 >@@ -13,6 +13,25 @@ $(document).ready(function() { > }); > //]]> > </script> >+<script language="javascript" type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/js/tinymce/jscripts/tiny_mce/tiny_mce.js"></script> >+<script language="javascript" type="text/javascript"> >+tinyMCE.init({ >+ mode : "textareas", >+ theme : "advanced", >+ plugins : "table,save,advhr,advlink,iespell,searchreplace,print,contextmenu", >+ theme_advanced_disable : "underline,strikethrough,styleselect,image", >+ theme_advanced_buttons1_add_before : "save,separator", >+ theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator", >+ theme_advanced_buttons3_add_before : "tablecontrols,separator", >+ theme_advanced_buttons3_add : "iespell,advhr,separator,print", >+ theme_advanced_toolbar_location : "top", >+ theme_advanced_toolbar_align : "left", >+ theme_advanced_path_location : "bottom", >+ plugin_insertdate_dateFormat : "%Y-%m-%d", >+ plugin_insertdate_timeFormat : "%H:%M:%S", >+ apply_source_formatting : true >+}); >+</script> > </head> > <body> > <!-- TMPL_INCLUDE NAME="header.inc" --> >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5401
:
2746
|
2749
|
2750
| 2763