From 228fa4a1a2a740e8878e5a2f1925c16cdd603cf6 Mon Sep 17 00:00:00 2001 From: ArthurClemens Date: Sun, 12 Sep 2010 19:35:06 +0000 Subject: [PATCH] Item9648: only show EDITOR text if javascript is on, otherwise default to WikiSyntaxSummary git-svn-id: http://svn.foswiki.org/branches/Release01x01@9034 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- core/templates/edit.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/templates/edit.tmpl b/core/templates/edit.tmpl index b3c23d9c03..0cde4c8ad7 100644 --- a/core/templates/edit.tmpl +++ b/core/templates/edit.tmpl @@ -9,7 +9,9 @@ %TMPL:DEF{"pagetitle"}%%TOPIC% %MAKETEXT{"(edit)"}%%TMPL:END% %{ If an editor plugin sets EDITOR_HELP, then use it for help info }% -%TMPL:DEF{"help"}%%INCLUDE{"%SYSTEMWEB%.%IF{"defined 'EDITOR_HELP'" then="%EDITOR_HELP%" else="WikiSyntaxSummary"}%"}%%TMPL:END% +%TMPL:DEF{"help"}%
%INCLUDE{"%SYSTEMWEB%.WikiSyntaxSummary"}%
+
%INCLUDE{"%SYSTEMWEB%.%IF{"defined 'EDITOR_HELP'" then="%EDITOR_HELP%" else="WikiSyntaxSummary"}%"}%
%TMPL:END% + %{ if an editor plugin sets EDITOR_MESSAGE, then use it }% %TMPL:DEF{"textarea"}%%IF{"defined 'EDITOR_MESSAGE'" then="
%EDITOR_MESSAGE%
"}%
%TMPL:END% @@ -58,4 +60,4 @@ %MAKETEXT{"See below for help in editing this page."}% %TMPL:P{"sig"}% %TMPL:P{"formbottom"}% -%TMPL:P{"topicinfo"}%%TMPL:P{"formend"}%%TMPL:END% +%TMPL:P{"topicinfo"}%%TMPL:P{"formend"}%%TMPL:END% \ No newline at end of file