From 862f0ff29addc5a764f5544ad64ac5453e818801 Mon Sep 17 00:00:00 2001 From: marijus Date: Sat, 8 Nov 2014 21:55:44 +0100 Subject: prevent posting before acl got populated since this will disregard the default acl setting and the post will be visible to the default audience without warning. the chance that this happens is quite small while writing a post but can easily happen on eg editing photos (maybe just tick a checkbox and press submit). the acl and submit buttons are disabled by default and will be activated as soon as acl is populated. --- view/tpl/attach_edit.tpl | 4 ++-- view/tpl/chatroom_new.tpl | 4 ++-- view/tpl/jot.tpl | 4 ++-- view/tpl/photo_view.tpl | 4 ++-- view/tpl/photos_upload.tpl | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl index e91b4c0c6..1254c713b 100644 --- a/view/tpl/attach_edit.tpl +++ b/view/tpl/attach_edit.tpl @@ -5,7 +5,7 @@
- {{$aclselect}} {{$file.filename}} @@ -30,7 +30,7 @@
- + diff --git a/view/tpl/chatroom_new.tpl b/view/tpl/chatroom_new.tpl index 287f95cc0..bb1121924 100644 --- a/view/tpl/chatroom_new.tpl +++ b/view/tpl/chatroom_new.tpl @@ -2,12 +2,12 @@
{{include file="field_input.tpl" field=$name}} - + {{$acl}}


- +
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 12da18ef1..29dc41525 100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -76,7 +76,7 @@
{{if $showacl}} - {{/if}} @@ -85,7 +85,7 @@ {{/if}} - +
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 969f66f44..4652f33c6 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -68,10 +68,10 @@
- - +
diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl index 611068b6d..2dd7de9b2 100755 --- a/view/tpl/photos_upload.tpl +++ b/view/tpl/photos_upload.tpl @@ -22,10 +22,10 @@
- - +
{{/if}} -- cgit v1.2.3