From ee21d87d1b43a52be7568cfa285f1b6ddb3c16e2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 4 Sep 2015 09:33:34 +0200 Subject: uexport template fixes --- view/tpl/uexport.tpl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/uexport.tpl b/view/tpl/uexport.tpl index 5de995ba0..b9a1b9572 100644 --- a/view/tpl/uexport.tpl +++ b/view/tpl/uexport.tpl @@ -1,9 +1,12 @@
-

{{$title}}

-{{$basictitle}}

-

{{$basic}}

- -

{{$fulltitle}}

-

{{$full}}

+
+

{{$title}}

+
+
+ {{$basictitle}}

+

{{$basic}}

+

{{$fulltitle}}

+

{{$full}}

+
-- cgit v1.2.3 From db58b6223503a63f92cccddd87179ae8e3ae1e46 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 9 Sep 2015 19:54:16 -0700 Subject: don't auto-open the editor in forum mode. Save the forum selection text until we open it. --- view/tpl/jot-header.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 49369ab63..7e12c6bb3 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -3,6 +3,7 @@ var editor = false; var textlen = 0; var plaintext = '{{$editselect}}'; +var pretext = '{{$pretext}}'; function initEditor(cb){ if (editor==false){ @@ -21,6 +22,8 @@ function initEditor(cb){ }); $(".jothidden").show(); if (typeof cb!="undefined") cb(); + if(pretext.length) + addeditortext(pretext); return; } tinyMCE.init({ -- cgit v1.2.3