From 86ac9c0d6b56651cb79c60a616f8340524d1573e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 16 Apr 2015 10:43:14 +0200 Subject: move share webpage element from editwebpage to webpages and make it shareable with rpost --- view/tpl/webpagelist.tpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'view/tpl') diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 9d440eb64..154ac019a 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -20,6 +20,7 @@ {{$title_txt}} + {{$created_txt}} {{$edited_txt}} @@ -40,6 +41,9 @@ {{if $edit}}{{/if}} + {{if $item.bb_element}}{{/if}} + + {{if $edit}}{{/if}} -- cgit v1.2.3 From 9addc4581edf594996151eaf514927d271f04da5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 16 Apr 2015 23:26:11 +0200 Subject: provide a separate input field for rpost attachments --- view/tpl/attach_edit.tpl | 6 +++--- view/tpl/jot-header.tpl | 3 +++ view/tpl/jot.tpl | 14 ++++++++++---- view/tpl/webpagelist.tpl | 2 +- 4 files changed, 17 insertions(+), 8 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl index f4be58db0..44d230ae0 100644 --- a/view/tpl/attach_edit.tpl +++ b/view/tpl/attach_edit.tpl @@ -7,12 +7,12 @@ {{if $isadir}}{{include file="field_checkbox.tpl" field=$recurse}}{{/if}}
{{if !$isadir}} - - + + {{/if}}
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 0ffed7163..f9ce65a86 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -107,6 +107,9 @@ function enableOnUser(){ /* enable tinymce on focus and click */ $("#profile-jot-text").focus(enableOnUser); $("#profile-jot-text").click(enableOnUser); + + if($("#jot-attachment").val()) enableOnUser(); + var upload_title = $('#wall-image-upload').attr('title'); var attach_title = $('#wall-file-upload').attr('title'); try { diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 927b3a5b9..24fea70f1 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -10,7 +10,8 @@ - + + {{if $showacl}}{{$acl}}{{/if}} {{$mimeselect}} {{$layoutselect}} @@ -20,21 +21,26 @@
{{/if}} {{if $webpage}} -